Public Member Functions | Private Member Functions | 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 (std::vector< uint8_t >::const_iterator data_ptr) const
 
float readMaxRange (std::vector< uint8_t >::const_iterator data_ptr) const
 
std::string readTypeCode (std::vector< uint8_t >::const_iterator data_ptr) const
 

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 45 of file ParseTypeCodeData.cpp.

uint8_t sick::data_processing::ParseTypeCodeData::readInterfaceType ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 68 of file ParseTypeCodeData.cpp.

float sick::data_processing::ParseTypeCodeData::readMaxRange ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 97 of file ParseTypeCodeData.cpp.

std::string sick::data_processing::ParseTypeCodeData::readTypeCode ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

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