EUDAQ
 All Classes Namespaces Files Functions Variables Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
eudaq::AidaPacket Class Reference
Inheritance diagram for eudaq::AidaPacket:
eudaq::Serializable eudaq::EventPacket eudaq::TLU2Packet

Classes

class  PacketHeader
 
struct  PacketIdentifier
 

Public Member Functions

 AidaPacket (uint64_t type, uint64_t subtype)
 
 AidaPacket (Deserializer &ds)
 
void SerializeHeader (Serializer &) const
 
uint64_t GetPacketMarker () const
 
uint64_t GetPacketType () const
 
uint64_t GetPacketSubType () const
 
uint64_t GetPacketNumber () const
 
uint64_t GetPacketDataSize () const
 
void SetPacketType (uint64_t type)
 
void SetPacketSubType (uint64_t type)
 
MetaDataGetMetaData ()
 
void SerializeMetaData (Serializer &) const
 
void SetData (uint64_t *data, uint64_t size)
 
void SetData (std::vector< uint64_t > &data)
 
void SetData (std::vector< uint64_t > *data)
 
virtual void DeserializeData (Deserializer &)
 
virtual void Serialize (Serializer &) const
 
virtual void Print (std::ostream &os) const
 

Static Public Member Functions

static PacketHeader DeserializeHeader (Deserializer &)
 
static const PacketIdentifieridentifier ()
 
static uint64_t str2type (const std::string &str)
 
static std::string type2str (uint64_t id)
 
static const uint64_t *const bit_mask ()
 

Protected Member Functions

 AidaPacket (const PacketHeader &header, const MetaData &meta)
 
 AidaPacket (PacketHeader &header, Deserializer &ds)
 

Static Protected Member Functions

static uint64_t getNextPacketNumber ()
 

Protected Attributes

PacketHeader m_header
 
MetaData m_meta_data
 
uint64_t checksum
 

Friends

class PacketFactory
 
class AidaIndexData
 

The documentation for this class was generated from the following files: