12 LogTrace(
"L1T") <<
"Writing MP7 link header";
15 LogTrace(
"L1T") <<
"Writing CTP7 link header";
23 return std::auto_ptr<Block>();
28 <<
"Expecting a block size of " << header.getSize()
29 <<
" but only " << (
end_ -
data_) <<
" words remaining";
30 return std::auto_ptr<Block>();
33 LogTrace(
"L1T") <<
"Creating block with size " << header.getSize();
35 auto res = std::auto_ptr<Block>(
new Block(header,
data_,
data_ + header.getSize()));
36 data_ += header.getSize();
51 LogTrace(
"L1T") <<
"Getting header from " << std::hex << *
data_;
static const unsigned int size_shift
virtual BlockHeader getHeader() override
std::auto_ptr< Block > getBlock()
virtual BlockHeader getHeader()=0
CTP7Payload(const uint32_t *data, const uint32_t *end)
virtual unsigned getHeaderSize() const =0
virtual BlockHeader getHeader() override
static const unsigned int size_mask
char data[epos_bytes_allocation]
MP7Payload(const uint32_t *data, const uint32_t *end)