35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTDATA_H 49 namespace data_processing {
84 std::vector<uint8_t>::const_iterator data_ptr,
94 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTDATA_H bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
ParseMeasurementData()
Constructor of the parser.
A packetbuffer for the raw data from the sensor.
bool checkIfMeasurementDataIsPublished(const datastructure::Data &data) const
The data class containing all data blocks of a measurement.
void setScanPointsInMeasurementData(std::vector< uint8_t >::const_iterator data_ptr, datastructure::MeasurementData &measurement_data)
Parser for the measurement data from a udp sequence.
void addScanPointToMeasurementData(uint16_t offset, std::vector< uint8_t >::const_iterator data_ptr, datastructure::MeasurementData &measurement_data) const
void setStartAngleAndDelta(const datastructure::Data &data)
Class containing all scanpoints of a single measurement.
void setNumberOfBeamsInMeasurementData(std::vector< uint8_t >::const_iterator data_ptr, datastructure::MeasurementData &measurement_data) const
void setDataInMeasurementData(std::vector< uint8_t >::const_iterator data_ptr, datastructure::MeasurementData &measurement_data)
datastructure::MeasurementData parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data)
Parses the measurement data if it is enabled.