Public Member Functions | List of all members
sick::data_processing::ParseSerialNumber Class Reference

Parser to read the serial number from a tcp sequence. More...

#include <ParseSerialNumber.h>

Public Member Functions

 ParseSerialNumber ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::SerialNumber &serial_number) const
 Parses a tcp sequence to read the serial number of the sensor. More...
 
std::string readSerialNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read the serial number from a tcp sequence.

Definition at line 54 of file ParseSerialNumber.h.

Constructor & Destructor Documentation

sick::data_processing::ParseSerialNumber::ParseSerialNumber ( )

Constructor of the parser.

Definition at line 42 of file ParseSerialNumber.cpp.

Member Function Documentation

bool sick::data_processing::ParseSerialNumber::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::SerialNumber serial_number 
) const

Parses a tcp sequence to read the serial number of the sensor.

Parameters
bufferThe incoming data sequence.
serial_numberReference to the parsed serial number.
Returns
If parsing the serial number was successful.

Definition at line 45 of file ParseSerialNumber.cpp.

std::string sick::data_processing::ParseSerialNumber::readSerialNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const

Definition at line 56 of file ParseSerialNumber.cpp.


The documentation for this class was generated from the following files:


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:42