Public Member Functions | Private Member Functions | Private Attributes | 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, std::string &device_name) const
 Parses a tcp sequence to read the device name of the sensor. More...
 

Private Member Functions

std::string readDeviceName (const uint8_t *&data_ptr) const
 

Private Attributes

std::shared_ptr< sick::data_processing::ReadWriteHelperm_reader_ptr
 

Detailed Description

Parser to read the device name from a tcp sequence.

Definition at line 53 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,
std::string &  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 48 of file ParseDeviceName.cpp.

std::string sick::data_processing::ParseDeviceName::readDeviceName ( const uint8_t *&  data_ptr) const
private

Definition at line 57 of file ParseDeviceName.cpp.

Member Data Documentation

std::shared_ptr<sick::data_processing::ReadWriteHelper> sick::data_processing::ParseDeviceName::m_reader_ptr
private

Definition at line 72 of file ParseDeviceName.h.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Thu May 9 2019 02:41:08