Public Member Functions | Private Member Functions | Private Attributes
sick::data_processing::ParseMeasurementData Class Reference

Parser for the measurement data from a udp sequence. More...

#include <ParseMeasurementData.h>

List of all members.

Public Member Functions

 ParseMeasurementData ()
 Constructor of the parser.
datastructure::MeasurementData parseUDPSequence (const datastructure::PacketBuffer &buffer, datastructure::Data &data)
 Parses the measurement data if it is enabled.

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

Detailed Description

Parser for the measurement data from a udp sequence.

Definition at line 53 of file ParseMeasurementData.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 40 of file ParseMeasurementData.cpp.


Member Function Documentation

void sick::data_processing::ParseMeasurementData::addScanPointToMeasurementData ( uint16_t  offset,
const uint8_t *&  data_ptr,
datastructure::MeasurementData measurement_data 
) const [private]

Definition at line 130 of file ParseMeasurementData.cpp.

Definition at line 86 of file ParseMeasurementData.cpp.

Definition at line 76 of file ParseMeasurementData.cpp.

Definition at line 63 of file ParseMeasurementData.cpp.

Parses the measurement data if it is enabled.

Parameters:
bufferThe incoming udp sequence.
dataThe already parsed data to check if it is enabled.
Returns:
The parsed measurement data.

Definition at line 46 of file ParseMeasurementData.cpp.

void sick::data_processing::ParseMeasurementData::setDataInMeasurementData ( const uint8_t *&  data_ptr,
datastructure::MeasurementData measurement_data 
) [private]

Definition at line 101 of file ParseMeasurementData.cpp.

void sick::data_processing::ParseMeasurementData::setNumberOfBeamsInMeasurementData ( const uint8_t *&  data_ptr,
datastructure::MeasurementData measurement_data 
) const [private]

Definition at line 108 of file ParseMeasurementData.cpp.

void sick::data_processing::ParseMeasurementData::setScanPointsInMeasurementData ( const uint8_t *&  data_ptr,
datastructure::MeasurementData measurement_data 
) [private]

Definition at line 120 of file ParseMeasurementData.cpp.

Definition at line 114 of file ParseMeasurementData.cpp.


Member Data Documentation

Definition at line 73 of file ParseMeasurementData.h.

Definition at line 74 of file ParseMeasurementData.h.

Definition at line 75 of file ParseMeasurementData.h.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:37