Parser for the measurement data from a udp sequence. More...
#include <ParseMeasurementData.h>
Public Member Functions | |
ParseMeasurementData () | |
Constructor of the parser. More... | |
datastructure::MeasurementData | parseUDPSequence (const datastructure::PacketBuffer &buffer, datastructure::Data &data) |
Parses the measurement data if it is enabled. More... | |
Private Member Functions | |
void | addScanPointToMeasurementData (uint16_t offset, const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data) const |
bool | checkIfDataContainsNeededParsedBlocks (const datastructure::Data &data) const |
bool | checkIfMeasurementDataIsPublished (const datastructure::Data &data) const |
bool | checkIfPreconditionsAreMet (const datastructure::Data &data) const |
void | setDataInMeasurementData (const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data) |
void | setNumberOfBeamsInMeasurementData (const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data) const |
void | setScanPointsInMeasurementData (const uint8_t *&data_ptr, datastructure::MeasurementData &measurement_data) |
void | setStartAngleAndDelta (const datastructure::Data &data) |
Private Attributes | |
float | m_angle |
float | m_angle_delta |
std::shared_ptr< sick::data_processing::ReadWriteHelper > | m_reader_ptr |
Parser for the measurement data from a udp sequence.
Definition at line 53 of file ParseMeasurementData.h.
sick::data_processing::ParseMeasurementData::ParseMeasurementData | ( | ) |
Constructor of the parser.
Definition at line 40 of file ParseMeasurementData.cpp.
|
private |
Definition at line 130 of file ParseMeasurementData.cpp.
|
private |
Definition at line 86 of file ParseMeasurementData.cpp.
|
private |
Definition at line 76 of file ParseMeasurementData.cpp.
|
private |
Definition at line 63 of file ParseMeasurementData.cpp.
datastructure::MeasurementData sick::data_processing::ParseMeasurementData::parseUDPSequence | ( | const datastructure::PacketBuffer & | buffer, |
datastructure::Data & | data | ||
) |
Parses the measurement data if it is enabled.
buffer | The incoming udp sequence. |
data | The already parsed data to check if it is enabled. |
Definition at line 46 of file ParseMeasurementData.cpp.
|
private |
Definition at line 101 of file ParseMeasurementData.cpp.
|
private |
Definition at line 108 of file ParseMeasurementData.cpp.
|
private |
Definition at line 120 of file ParseMeasurementData.cpp.
|
private |
Definition at line 114 of file ParseMeasurementData.cpp.
|
private |
Definition at line 73 of file ParseMeasurementData.h.
|
private |
Definition at line 74 of file ParseMeasurementData.h.
|
private |
Definition at line 75 of file ParseMeasurementData.h.