EUDAQ
 All Classes Namespaces Files Functions Variables Pages
AidaIndexData.hh
1 
2 #ifndef EUDAQ_INCLUDED_AidaIndexData
3 #define EUDAQ_INCLUDED_AidaIndexData
4 
5 #include "eudaq/Serializable.hh"
6 
7 namespace eudaq {
8 
9  class AidaPacket;
10  class PacketHeader;
11  class Deserializer;
12  class MetaData;
13 
14  class DLLEXPORT AidaIndexData : public Serializable {
15  public:
16  AidaIndexData(AidaPacket &packet, uint64_t fileNo, uint64_t offsetInFile);
18  virtual ~AidaIndexData();
19 
20  virtual void Serialize(Serializer &ser) const;
21 
22  AidaPacket::PacketHeader &getHeader();
23 
24  MetaData &getMetaData() { return m_packet->GetMetaData(); }
25 
26  uint64_t getFileNumber() const;
27  uint64_t getOffsetInFile() const;
28 
29  protected:
30  AidaPacket *m_packet;
31  std::vector<uint64_t> fileNumberOffset;
32  };
33 }
34 
35 #endif // EUDAQ_INCLUDED_AidaIndexData
Definition: AidaIndexData.hh:14
Definition: Serializer.hh:156
Definition: MetaData.hh:15
Definition: Serializable.hh:13
Definition: AidaPacket.hh:39
Definition: Serializer.hh:19
Definition: AidaPacket.hh:51