#include <DCCTrailerBlock.h>
|
void | dataCheck () |
|
| DCCTBTrailerBlock (DCCTBDataParser *parser, const uint32_t *buffer, uint32_t numbBytes, uint32_t wToEnd, uint32_t wordEventOffset, uint32_t expectedLength, uint32_t expectedCRC) |
|
bool | blockError () |
|
virtual std::pair< bool, std::string > | checkDataField (std::string name, uint32_t data) |
|
virtual std::pair< bool, std::string > | compare (DCCTBBlockPrototype *block) |
|
| DCCTBBlockPrototype (DCCTBDataParser *parser, std::string name, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEndOfEvent, uint32_t wordEventOffset=0) |
|
virtual void | displayData (std::ostream &os=std::cout) |
|
std::map< std::string, uint32_t > & | errorCounters () |
|
std::string & | errorString () |
|
virtual uint32_t | getDataField (std::string name) |
|
virtual uint32_t | getDataWord (uint32_t wordPosition, uint32_t bitPosition, uint32_t mask) |
|
DCCTBDataParser * | getParser () |
|
virtual void | increment (uint32_t numb, std::string msg="") |
|
std::string | name () |
|
virtual void | parseData () |
|
virtual void | seeIfIsPossibleToIncrement (uint32_t numb, std::string msg="") |
|
virtual void | setDataField (std::string name, uint32_t data) |
|
uint32_t | size () |
|
uint32_t | wOffset () |
|
virtual | ~DCCTBBlockPrototype () |
|
|
std::string | formatString (std::string myString, uint32_t minPositions) |
|
Definition at line 10 of file DCCTrailerBlock.h.
◆ traillerFields
◆ DCCTBTrailerBlock()
DCCTBTrailerBlock::DCCTBTrailerBlock |
( |
DCCTBDataParser * |
parser, |
|
|
const uint32_t * |
buffer, |
|
|
uint32_t |
numbBytes, |
|
|
uint32_t |
wToEnd, |
|
|
uint32_t |
wordEventOffset, |
|
|
uint32_t |
expectedLength, |
|
|
uint32_t |
expectedCRC |
|
) |
| |
◆ dataCheck()
void DCCTBTrailerBlock::dataCheck |
( |
| ) |
|
◆ expectedCRC_
uint32_t DCCTBTrailerBlock::expectedCRC_ |
|
protected |
◆ expectedLength_
uint32_t DCCTBTrailerBlock::expectedLength_ |
|
protected |
DCCTBBlockPrototype(DCCTBDataParser *parser, std::string name, const uint32_t *buffer, uint32_t numbBytes, uint32_t wordsToEndOfEvent, uint32_t wordEventOffset=0)