35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDSETSDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDSETSDATA_H 46 namespace data_processing {
73 uint8_t
readMajorNumber(std::vector<uint8_t>::const_iterator data_ptr)
const;
74 uint8_t
readMinorNumber(std::vector<uint8_t>::const_iterator data_ptr)
const;
76 uint32_t
readArrayLength(std::vector<uint8_t>::const_iterator data_ptr)
const;
77 std::vector<uint32_t>
readNameLength(std::vector<uint8_t>::const_iterator data_ptr,
78 uint32_t array_length)
const;
79 std::vector<std::string>
readFieldName(std::vector<uint8_t>::const_iterator data_ptr,
80 uint32_t array_length)
const;
81 std::vector<bool>
readIsDefined(std::vector<uint8_t>::const_iterator data_ptr,
82 uint32_t array_length)
const;
88 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEFIELDSETSDATA_H uint8_t readReleaseNumber(std::vector< uint8_t >::const_iterator data_ptr) const
std::vector< uint32_t > readNameLength(std::vector< uint8_t >::const_iterator data_ptr, uint32_t array_length) const
std::string readVersionIndicator(std::vector< uint8_t >::const_iterator data_ptr) const
Class containing the field name of a laser scanner.
A packetbuffer for the raw data from the sensor.
uint8_t readMinorNumber(std::vector< uint8_t >::const_iterator data_ptr) const
std::vector< std::string > readFieldName(std::vector< uint8_t >::const_iterator data_ptr, uint32_t array_length) const
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::FieldSets &field_sets) const
Parses a tcp sequence to read the field sets of the sensor.
std::vector< bool > readIsDefined(std::vector< uint8_t >::const_iterator data_ptr, uint32_t array_length) const
uint8_t readMajorNumber(std::vector< uint8_t >::const_iterator data_ptr) const
Parser to read the type code of a tcp sequence.
uint32_t readArrayLength(std::vector< uint8_t >::const_iterator data_ptr) const
ParseFieldSetsData()
Constructor of the parser.