ChecksumParser Class Reference

Inheritance diagram for ChecksumParser:
[legend]
Collaboration diagram for ChecksumParser:
[legend]

List of all members.

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.

Detailed Description

Definition at line 55 of file brecsum.cc.


Member Function Documentation

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]

Stores the IDs.

Implements Barry::Parser.

Definition at line 70 of file brecsum.cc.

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.


The documentation for this class was generated from the following file:

Generated on 29 Mar 2010 for Barry by  doxygen 1.6.1