35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEUSERNAMEDATA_H 36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEUSERNAMEDATA_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
readNameLength(std::vector<uint8_t>::const_iterator data_ptr)
const;
77 std::string
readUserName(std::vector<uint8_t>::const_iterator data_ptr)
const;
83 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEUSERNAMEDATA_H std::string readUserName(std::vector< uint8_t >::const_iterator data_ptr) const
Class containing the user name of a laser scanner.
A packetbuffer for the raw data from the sensor.
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::UserName &user_name) const
Parses a tcp sequence to read the type code of the sensor.
Parser to read the type code of a tcp sequence.
uint8_t readMinorNumber(std::vector< uint8_t >::const_iterator data_ptr) const
ParseUserNameData()
Constructor of the parser.
std::string readVersionIndicator(std::vector< uint8_t >::const_iterator data_ptr) const
uint8_t readMajorNumber(std::vector< uint8_t >::const_iterator data_ptr) const
uint32_t readNameLength(std::vector< uint8_t >::const_iterator data_ptr) const
uint8_t readReleaseNumber(std::vector< uint8_t >::const_iterator data_ptr) const