Parser to read the device name from a tcp sequence. More...
#include <ParseDeviceName.h>
Public Member Functions | |
ParseDeviceName () | |
Constructor of the parser. | |
bool | parseTCPSequence (const datastructure::PacketBuffer &buffer, std::string &device_name) const |
Parses a tcp sequence to read the device name of the sensor. | |
Private Member Functions | |
std::string | readDeviceName (const uint8_t *&data_ptr) const |
Private Attributes | |
std::shared_ptr < sick::data_processing::ReadWriteHelper > | m_reader_ptr |
Parser to read the device name from a tcp sequence.
Definition at line 53 of file ParseDeviceName.h.
Constructor of the parser.
Definition at line 42 of file ParseDeviceName.cpp.
bool sick::data_processing::ParseDeviceName::parseTCPSequence | ( | const datastructure::PacketBuffer & | buffer, |
std::string & | 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 48 of file ParseDeviceName.cpp.
std::string sick::data_processing::ParseDeviceName::readDeviceName | ( | const uint8_t *& | data_ptr | ) | const [private] |
Definition at line 57 of file ParseDeviceName.cpp.
std::shared_ptr<sick::data_processing::ReadWriteHelper> sick::data_processing::ParseDeviceName::m_reader_ptr [private] |
Definition at line 72 of file ParseDeviceName.h.