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

Parser to read the device name from a tcp sequence. More...

#include <ParseDeviceName.h>

Public Member Functions

 ParseDeviceName ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::DeviceName &device_name) const
 Parses a tcp sequence to read the device name of the sensor. More...
 

Private Member Functions

std::string readDeviceName (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read the device name from a tcp sequence.

Definition at line 54 of file ParseDeviceName.h.

Constructor & Destructor Documentation

sick::data_processing::ParseDeviceName::ParseDeviceName ( )

Constructor of the parser.

Definition at line 42 of file ParseDeviceName.cpp.

Member Function Documentation

bool sick::data_processing::ParseDeviceName::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::DeviceName device_name 
) const

Parses a tcp sequence to read the device name of the sensor.

Parameters
bufferThe incoming data sequence.
device_nameReference to the parsed device name.
Returns
If parsing the device name was successful.

Definition at line 45 of file ParseDeviceName.cpp.

std::string sick::data_processing::ParseDeviceName::readDeviceName ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 56 of file ParseDeviceName.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