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