Parser to read field geometry data. More...
#include <ParseFieldGeometryData.h>
Public Member Functions | |
ParseFieldGeometryData () | |
Constructor of the parser. | |
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. | |
Private Member Functions | |
uint16_t | readArrayElement (const uint8_t *&data_ptr, uint32_t elem_number) const |
uint32_t | readArrayLength (const uint8_t *&data_ptr) const |
Private Attributes | |
std::shared_ptr < sick::data_processing::ReadWriteHelper > | m_reader_ptr |
Parser to read field geometry data.
Definition at line 54 of file ParseFieldGeometryData.h.
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 48 of file ParseFieldGeometryData.cpp.
uint16_t sick::data_processing::ParseFieldGeometryData::readArrayElement | ( | const uint8_t *& | data_ptr, |
uint32_t | elem_number | ||
) | const [private] |
Definition at line 68 of file ParseFieldGeometryData.cpp.
uint32_t sick::data_processing::ParseFieldGeometryData::readArrayLength | ( | const uint8_t *& | data_ptr | ) | const [private] |
Definition at line 63 of file ParseFieldGeometryData.cpp.
std::shared_ptr<sick::data_processing::ReadWriteHelper> sick::data_processing::ParseFieldGeometryData::m_reader_ptr [private] |
Definition at line 75 of file ParseFieldGeometryData.h.