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