Public Member Functions | Private Member Functions | Private Attributes | List of all members
sick::data_processing::ParseData Class Reference

Parses the udp data packets depending on which data will be received. More...

#include <ParseData.h>

Public Member Functions

 ParseData ()
 Constructor of the parser. More...
 
sick::datastructure::Data parseUDPSequence (const sick::datastructure::PacketBuffer &buffer) const
 Parses the udp data transferred in the packet buffer. It will be parsed into the data reference. More...
 

Private Member Functions

void setApplicationDataInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 
void setDataBlocksInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 
void setDataHeaderInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 
void setDerivedValuesInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 
void setGeneralSystemStateInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 
void setIntrusionDataInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 
void setMeasurementDataInData (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 

Private Attributes

std::shared_ptr< sick::data_processing::ParseApplicationDatam_application_data_parser_ptr
 
std::shared_ptr< sick::data_processing::ParseDataHeaderm_data_header_parser_ptr
 
std::shared_ptr< sick::data_processing::ParseDerivedValuesm_derived_values_parser_ptr
 
std::shared_ptr< sick::data_processing::ParseGeneralSystemStatem_general_system_state_parser_ptr
 
std::shared_ptr< sick::data_processing::ParseIntrusionDatam_intrusion_data_parser_ptr
 
std::shared_ptr< sick::data_processing::ParseMeasurementDatam_measurement_data_parser_ptr
 

Detailed Description

Parses the udp data packets depending on which data will be received.

Definition at line 56 of file ParseData.h.

Constructor & Destructor Documentation

sick::data_processing::ParseData::ParseData ( )

Constructor of the parser.

Definition at line 40 of file ParseData.cpp.

Member Function Documentation

sick::datastructure::Data sick::data_processing::ParseData::parseUDPSequence ( const sick::datastructure::PacketBuffer buffer) const

Parses the udp data transferred in the packet buffer. It will be parsed into the data reference.

Parameters
bufferThe incoming data buffer.
Returns
Parsed data

Definition at line 52 of file ParseData.cpp.

void sick::data_processing::ParseData::setApplicationDataInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 140 of file ParseData.cpp.

void sick::data_processing::ParseData::setDataBlocksInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 59 of file ParseData.cpp.

void sick::data_processing::ParseData::setDataHeaderInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 98 of file ParseData.cpp.

void sick::data_processing::ParseData::setDerivedValuesInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 106 of file ParseData.cpp.

void sick::data_processing::ParseData::setGeneralSystemStateInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 123 of file ParseData.cpp.

void sick::data_processing::ParseData::setIntrusionDataInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 132 of file ParseData.cpp.

void sick::data_processing::ParseData::setMeasurementDataInData ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const
private

Definition at line 114 of file ParseData.cpp.

Member Data Documentation

std::shared_ptr<sick::data_processing::ParseApplicationData> sick::data_processing::ParseData::m_application_data_parser_ptr
private

Definition at line 80 of file ParseData.h.

std::shared_ptr<sick::data_processing::ParseDataHeader> sick::data_processing::ParseData::m_data_header_parser_ptr
private

Definition at line 75 of file ParseData.h.

std::shared_ptr<sick::data_processing::ParseDerivedValues> sick::data_processing::ParseData::m_derived_values_parser_ptr
private

Definition at line 76 of file ParseData.h.

std::shared_ptr<sick::data_processing::ParseGeneralSystemState> sick::data_processing::ParseData::m_general_system_state_parser_ptr
private

Definition at line 78 of file ParseData.h.

std::shared_ptr<sick::data_processing::ParseIntrusionData> sick::data_processing::ParseData::m_intrusion_data_parser_ptr
private

Definition at line 79 of file ParseData.h.

std::shared_ptr<sick::data_processing::ParseMeasurementData> sick::data_processing::ParseData::m_measurement_data_parser_ptr
private

Definition at line 77 of file ParseData.h.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:42