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