23 #ifndef ADF_AgataDataFrame
24 #define ADF_AgataDataFrame
26 #ifndef ADF_GenericFrame
33 class AgataFrameFactory;
38 template <
typename Data_T>
62 UInt_t length_from_key
76 && size_read <= length_from_key ) {
97 const UInt_t align = 4u;
103 UInt_t toadd = align - offset;
virtual UInt_t ReadImp()=0
to get from the frame the data content
General interface for a AgataDataFrame.
virtual ~AgataDataFrame()
virtual void DataReset()=0
to reset the data content
virtual Key * GetKey()
To get the Key associated to this frame.
virtual UInt_t GetDataLength() const
ConcreteDataFrame : a RawFrame with a data interface.
virtual UInt_t GetKeyLength() const
Unique number corresponding to a type of Key.
AgataFrameFactory, implements agata's like Frame Factory.
virtual void Reset()
copy the sub-frame #i to the Frame given in the second argument
virtual UInt_t Read()
It just returns the current size of the buffer.
virtual UInt_t WriteImp()=0
to set from the frame the data content
virtual UInt_t Write()
It just set the size of the frame from the current position in the buffer.
virtual void FastReset()
FastReset the current frame, means the data part keep the previous values.