00001 #ifndef LTBREADOUTFORMAT_LTBFOOT_H 00002 #define LTBREADOUTFORMAT_LTBFOOT_H 00003 00013 namespace DybDaq { 00014 class LtbHead; 00015 class LtbReadout; 00016 } 00017 00018 #include "LtbReadoutFormat/LtbBuffer.h" 00019 00020 namespace DybDaq { 00021 00022 class LtbFoot : public LtbBuffer { 00023 00024 public: 00025 00026 friend class LtbReadout; 00027 00031 virtual ~LtbFoot(); 00032 00036 unsigned int dataLength() const; 00037 00041 virtual unsigned int bufferSize() const; 00042 00043 protected: 00044 00048 LtbFoot(const LtbHead& head); 00049 00053 LtbFoot(const ByteBuffer& byteBuffer, 00054 const LtbTraits& traits); 00055 00059 virtual unsigned int formatComponent() const; 00060 00061 private: 00062 00066 LtbFoot(); 00067 00071 LtbFoot(LtbFoot& rhs); 00072 00076 LtbFoot& operator=(LtbFoot& rhs); 00077 00081 void setDataLength(const unsigned int dataLength); 00082 00083 }; 00084 00085 } 00086 00087 #endif // LTBREADOUTFORMAT_LTBFOOT_H