Public Member Functions | |
virtual void | Clear () |
Reset and prepare for a new raw data packet. | |
virtual void | SetIds (uint8_t RecType, uint32_t UniqueId) |
Stores the IDs. | |
virtual void | ParseHeader (const Barry::Data &, size_t &) |
Called to parse the header portion of the raw data packet. | |
virtual void | ParseFields (const Barry::Data &data, size_t &offset, const Barry::IConverter *ic) |
Called to parse sub fields in the raw data packet. | |
virtual void | Store () |
Called at the very end of record parsing, and used to store the final packet somewhere, either in memory, disk, etc. |
Definition at line 55 of file brecsum.cc.
virtual void ChecksumParser::Clear | ( | ) | [inline, virtual] |
Reset and prepare for a new raw data packet.
Implements Barry::Parser.
Definition at line 65 of file brecsum.cc.
virtual void ChecksumParser::ParseFields | ( | const Barry::Data & | data, | |
size_t & | offset, | |||
const Barry::IConverter * | ic | |||
) | [inline, virtual] |
Called to parse sub fields in the raw data packet.
The same data is passed as was passed in ParseHeader, only the offset will be updated if it was advanced during the header parsing.
Implements Barry::Parser.
Definition at line 83 of file brecsum.cc.
virtual void ChecksumParser::ParseHeader | ( | const Barry::Data & | data, | |
size_t & | offset | |||
) | [inline, virtual] |
Called to parse the header portion of the raw data packet.
data contains the entire packet, and offset contains the location at which to start parsing.
Implements Barry::Parser.
Definition at line 78 of file brecsum.cc.
virtual void ChecksumParser::SetIds | ( | uint8_t | RecType, | |
uint32_t | UniqueId | |||
) | [inline, virtual] |
virtual void ChecksumParser::Store | ( | ) | [inline, virtual] |
Called at the very end of record parsing, and used to store the final packet somewhere, either in memory, disk, etc.
Implements Barry::Parser.
Definition at line 91 of file brecsum.cc.