Parser to read the device status of a tcp sequence. More...
#include <ParseDeviceStatus.h>
Public Member Functions | |
ParseDeviceStatusData () | |
Constructor of the parser. More... | |
bool | parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::DeviceStatus &device_status) const |
Parses a tcp sequence to read the device status of the sensor. More... | |
Private Member Functions | |
uint8_t | readDeviceStatus (std::vector< uint8_t >::const_iterator data_ptr) const |
Parser to read the device status of a tcp sequence.
Definition at line 52 of file ParseDeviceStatus.h.
sick::data_processing::ParseDeviceStatusData::ParseDeviceStatusData | ( | ) |
Constructor of the parser.
Definition at line 42 of file ParseDeviceStatus.cpp.
bool sick::data_processing::ParseDeviceStatusData::parseTCPSequence | ( | const datastructure::PacketBuffer & | buffer, |
datastructure::DeviceStatus & | device_status | ||
) | const |
Parses a tcp sequence to read the device status of the sensor.
buffer | The incoming tcp sequence. |
device_status | Reference to the device status, which will be written while parsing. |
Definition at line 45 of file ParseDeviceStatus.cpp.
|
private |
Definition at line 55 of file ParseDeviceStatus.cpp.