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

Parser to read the type code of a tcp sequence. More...

#include <ParseTypeCodeData.h>

Public Member Functions

bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::TypeCode &type_code) const
 Parses a tcp sequence to read the type code of the sensor. More...
 
 ParseTypeCodeData ()
 Constructor of the parser. More...
 

Private Member Functions

uint8_t readInterfaceType (const uint8_t *&data_ptr) const
 
float readMaxRange (const uint8_t *&data_ptr) const
 

Private Attributes

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

Detailed Description

Parser to read the type code of a tcp sequence.

Definition at line 52 of file ParseTypeCodeData.h.

Constructor & Destructor Documentation

sick::data_processing::ParseTypeCodeData::ParseTypeCodeData ( )

Constructor of the parser.

Definition at line 42 of file ParseTypeCodeData.cpp.

Member Function Documentation

bool sick::data_processing::ParseTypeCodeData::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::TypeCode type_code 
) const

Parses a tcp sequence to read the type code of the sensor.

Parameters
bufferThe incoming tcp sequence.
type_codeReference to the type code, which will be written while parsing.
Returns
If parsing was successful.

Definition at line 48 of file ParseTypeCodeData.cpp.

uint8_t sick::data_processing::ParseTypeCodeData::readInterfaceType ( const uint8_t *&  data_ptr) const
private

Definition at line 58 of file ParseTypeCodeData.cpp.

float sick::data_processing::ParseTypeCodeData::readMaxRange ( const uint8_t *&  data_ptr) const
private

Definition at line 87 of file ParseTypeCodeData.cpp.

Member Data Documentation

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

Definition at line 72 of file ParseTypeCodeData.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