Public Member Functions | Private Member Functions | Private Attributes
sick::data_processing::ParseDeviceName Class Reference

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

#include <ParseDeviceName.h>

List of all members.

Public Member Functions

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

Private Member Functions

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

Private Attributes

std::shared_ptr
< sick::data_processing::ReadWriteHelper
m_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

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

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 Tue May 7 2019 03:27:37