16#include "Identifier/Identifier.h"
19typedef unsigned short int ubit16;
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
unsigned short int ubit16
DataVector< RpcPad > RPC_PAD_vector
MsgStream & operator<<(MsgStream &sl, const RpcPad &coll)
Overload of << operator for MsgStream for debug output.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
This is a "hash" representation of an Identifier.
Identifier identify() const
RpcPad & operator=(RpcPad &&)=default
void setLvl1Id(ubit16 lvl1Id)
friend class RpcPadCnv_p1
RpcPad(const Identifier &id, const IdentifierHash &idHash, ubit16 onlineId, ubit16 lvl1Id, ubit16 bcId, ubit16 status, ubit16 errorCode, int sector)
full constructor with Lvl1 and Bcid
void setOnlineId(ubit16 onlineId)
RpcPad()
Default constructor.
void setStatus(ubit16 status)
void setErrorCode(ubit16 errorCode)
RpcPad(const Identifier &id, const IdentifierHash &idHash, ubit16 onlineId, int sector, ubit16 status)
partial contructor: needed when filling pad from bytestream errorCode not know until one is reading t...
RpcPad(const Identifier &id, const IdentifierHash &idHash)
Creates an empty container ready for writing.
void setSector(int sector)
IdentifierHash identifyHash() const
Returns the OFFLINE identifier hash for this collection.
void setBcId(ubit16 bcId)
RpcPad(const Identifier &id, const IdentifierHash &idHash, ubit16 onlineId, ubit16 status, ubit16 errorCode, int sector)
full constructor
friend class RpcPadContainerCnv_p1