Parser to read field geometry data. More...
#include <ParseFieldGeometryData.h>
Public Member Functions | |
ParseFieldGeometryData () | |
Constructor of the parser. More... | |
bool | parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::FieldData &field_data) const |
Parses a tcp sequence and return the field geometry data of the warning and protective fields. More... | |
Private Member Functions | |
uint16_t | readArrayElement (std::vector< uint8_t >::const_iterator data_ptr, uint32_t elem_number) const |
uint32_t | readArrayLength (std::vector< uint8_t >::const_iterator data_ptr) const |
Parser to read field geometry data.
Definition at line 54 of file ParseFieldGeometryData.h.
sick::data_processing::ParseFieldGeometryData::ParseFieldGeometryData | ( | ) |
Constructor of the parser.
Definition at line 42 of file ParseFieldGeometryData.cpp.
bool sick::data_processing::ParseFieldGeometryData::parseTCPSequence | ( | const datastructure::PacketBuffer & | buffer, |
datastructure::FieldData & | field_data | ||
) | const |
Parses a tcp sequence and return the field geometry data of the warning and protective fields.
buffer | The incoming tcp sequence. |
field_data | Reference to the field data to set the geometry data. |
Definition at line 45 of file ParseFieldGeometryData.cpp.
|
private |
Definition at line 73 of file ParseFieldGeometryData.cpp.
|
private |
Definition at line 68 of file ParseFieldGeometryData.cpp.