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

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

#include <ParseApplicationNameData.h>

Public Member Functions

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

Private Member Functions

std::string readApplicationName (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readMajorNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readMinorNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint32_t readNameLength (std::vector< uint8_t >::const_iterator data_ptr) const
 
uint8_t readReleaseNumber (std::vector< uint8_t >::const_iterator data_ptr) const
 
std::string readVersionIndicator (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 ParseApplicationNameData.h.

Constructor & Destructor Documentation

sick::data_processing::ParseApplicationNameData::ParseApplicationNameData ( )

Constructor of the parser.

Definition at line 42 of file ParseApplicationNameData.cpp.

Member Function Documentation

bool sick::data_processing::ParseApplicationNameData::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::ApplicationName application_name 
) const

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

Parameters
bufferThe incoming tcp sequence.
application_nameReference to the application name, which will be written while parsing.
Returns
If parsing was successful.

Definition at line 45 of file ParseApplicationNameData.cpp.

std::string sick::data_processing::ParseApplicationNameData::readApplicationName ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 95 of file ParseApplicationNameData.cpp.

uint8_t sick::data_processing::ParseApplicationNameData::readMajorNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 70 of file ParseApplicationNameData.cpp.

uint8_t sick::data_processing::ParseApplicationNameData::readMinorNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 76 of file ParseApplicationNameData.cpp.

uint32_t sick::data_processing::ParseApplicationNameData::readNameLength ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 88 of file ParseApplicationNameData.cpp.

uint8_t sick::data_processing::ParseApplicationNameData::readReleaseNumber ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 82 of file ParseApplicationNameData.cpp.

std::string sick::data_processing::ParseApplicationNameData::readVersionIndicator ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 62 of file ParseApplicationNameData.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