Parser to read the serial number from a tcp sequence. More...
#include <ParseSerialNumber.h>
Public Member Functions | |
ParseSerialNumber () | |
Constructor of the parser. More... | |
bool | parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::SerialNumber &serial_number) const |
Parses a tcp sequence to read the serial number of the sensor. More... | |
std::string | readSerialNumber (std::vector< uint8_t >::const_iterator data_ptr) const |
Parser to read the serial number from a tcp sequence.
Definition at line 54 of file ParseSerialNumber.h.
sick::data_processing::ParseSerialNumber::ParseSerialNumber | ( | ) |
Constructor of the parser.
Definition at line 42 of file ParseSerialNumber.cpp.
bool sick::data_processing::ParseSerialNumber::parseTCPSequence | ( | const datastructure::PacketBuffer & | buffer, |
datastructure::SerialNumber & | serial_number | ||
) | const |
Parses a tcp sequence to read the serial number of the sensor.
buffer | The incoming data sequence. |
serial_number | Reference to the parsed serial number. |
Definition at line 45 of file ParseSerialNumber.cpp.
std::string sick::data_processing::ParseSerialNumber::readSerialNumber | ( | std::vector< uint8_t >::const_iterator | data_ptr | ) | const |
Definition at line 56 of file ParseSerialNumber.cpp.