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

Parser to read the persistent configuration of the sensor. More...

#include <ParseMeasurementPersistentConfigData.h>

Public Member Functions

 ParseMeasurementPersistentConfigData ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::ConfigData &config_data) const
 Parses a tcp sequence to read the persistent configuration of the sensor. More...
 

Private Member Functions

bool readEnabled (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readEndAngle (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint16_t readFeatures (std::vector< uint8_t >::const_iterator data_ptr) const
 
boost::asio::ip::address_v4 readHostIp (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint16_t readHostPort (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readInterfaceType (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readMajorNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readMinorNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint16_t readPublishingFreq (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readReleaseNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readStartAngle (std::vector< uint8_t >::const_iterator data_ptr) const
 
std::string readVersionIndicator (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read the persistent configuration of the sensor.

Definition at line 53 of file ParseMeasurementPersistentConfigData.h.

Constructor & Destructor Documentation

sick::data_processing::ParseMeasurementPersistentConfigData::ParseMeasurementPersistentConfigData ( )

Constructor of the parser.

Definition at line 42 of file ParseMeasurementPersistentConfigData.cpp.

Member Function Documentation

bool sick::data_processing::ParseMeasurementPersistentConfigData::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::ConfigData config_data 
) const

Parses a tcp sequence to read the persistent configuration of the sensor.

Parameters
bufferThe incoming tcp sequence.
config_dataReference to the config data where the persistent configuration will be set.
Returns
If parsing was successful.

Definition at line 45 of file ParseMeasurementPersistentConfigData.cpp.

bool sick::data_processing::ParseMeasurementPersistentConfigData::readEnabled ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 92 of file ParseMeasurementPersistentConfigData.cpp.

uint32_t sick::data_processing::ParseMeasurementPersistentConfigData::readEndAngle ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 130 of file ParseMeasurementPersistentConfigData.cpp.

uint16_t sick::data_processing::ParseMeasurementPersistentConfigData::readFeatures ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 136 of file ParseMeasurementPersistentConfigData.cpp.

boost::asio::ip::address_v4 sick::data_processing::ParseMeasurementPersistentConfigData::readHostIp ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 104 of file ParseMeasurementPersistentConfigData.cpp.

uint16_t sick::data_processing::ParseMeasurementPersistentConfigData::readHostPort ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 112 of file ParseMeasurementPersistentConfigData.cpp.

uint8_t sick::data_processing::ParseMeasurementPersistentConfigData::readInterfaceType ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 98 of file ParseMeasurementPersistentConfigData.cpp.

uint8_t sick::data_processing::ParseMeasurementPersistentConfigData::readMajorNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 74 of file ParseMeasurementPersistentConfigData.cpp.

uint8_t sick::data_processing::ParseMeasurementPersistentConfigData::readMinorNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 80 of file ParseMeasurementPersistentConfigData.cpp.

uint16_t sick::data_processing::ParseMeasurementPersistentConfigData::readPublishingFreq ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 118 of file ParseMeasurementPersistentConfigData.cpp.

uint8_t sick::data_processing::ParseMeasurementPersistentConfigData::readReleaseNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 86 of file ParseMeasurementPersistentConfigData.cpp.

uint32_t sick::data_processing::ParseMeasurementPersistentConfigData::readStartAngle ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 124 of file ParseMeasurementPersistentConfigData.cpp.

std::string sick::data_processing::ParseMeasurementPersistentConfigData::readVersionIndicator ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 66 of file ParseMeasurementPersistentConfigData.cpp.


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