35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTPERSISTENTCONFIGDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTPERSISTENTCONFIGDATA_H 38 #include <boost/asio/ip/address_v4.hpp> 47 namespace data_processing {
74 uint8_t
readMajorNumber(std::vector<uint8_t>::const_iterator data_ptr)
const;
75 uint8_t
readMinorNumber(std::vector<uint8_t>::const_iterator data_ptr)
const;
77 bool readEnabled(std::vector<uint8_t>::const_iterator data_ptr)
const;
79 boost::asio::ip::address_v4
readHostIp(std::vector<uint8_t>::const_iterator data_ptr)
const;
80 uint16_t
readHostPort(std::vector<uint8_t>::const_iterator data_ptr)
const;
82 uint32_t
readEndAngle(std::vector<uint8_t>::const_iterator data_ptr)
const;
83 uint32_t
readStartAngle(std::vector<uint8_t>::const_iterator data_ptr)
const;
84 uint16_t
readFeatures(std::vector<uint8_t>::const_iterator data_ptr)
const;
90 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEMEASUREMENTPERSISTENTCONFIGDATA_H uint8_t readReleaseNumber(std::vector< uint8_t >::const_iterator data_ptr) const
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::ConfigData &config_data) const
Parses a tcp sequence to read the persistent configuration of the sensor.
A packetbuffer for the raw data from the sensor.
uint16_t readPublishingFreq(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
uint32_t readStartAngle(std::vector< uint8_t >::const_iterator data_ptr) const
uint8_t readInterfaceType(std::vector< uint8_t >::const_iterator data_ptr) const
std::string readVersionIndicator(std::vector< uint8_t >::const_iterator data_ptr) const
uint8_t readMinorNumber(std::vector< uint8_t >::const_iterator data_ptr) const
uint8_t readMajorNumber(std::vector< uint8_t >::const_iterator data_ptr) const
bool readEnabled(std::vector< uint8_t >::const_iterator data_ptr) const
uint32_t readEndAngle(std::vector< uint8_t >::const_iterator data_ptr) const
Config data for current and persistent sensor config.
uint16_t readHostPort(std::vector< uint8_t >::const_iterator data_ptr) const
Parser to read the persistent configuration of the sensor.
ParseMeasurementPersistentConfigData()
Constructor of the parser.