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

Parser to read field geometry data. More...

#include <ParseFieldGeometryData.h>

Public Member Functions

 ParseFieldGeometryData ()
 Constructor of the parser. More...
 
bool parseTCPSequence (const datastructure::PacketBuffer &buffer, datastructure::FieldData &field_data) const
 Parses a tcp sequence and return the field geometry data of the warning and protective fields. More...
 

Private Member Functions

uint16_t readArrayElement (std::vector< uint8_t >::const_iterator data_ptr, uint32_t elem_number) const
 
uint32_t readArrayLength (std::vector< uint8_t >::const_iterator data_ptr) const
 

Detailed Description

Parser to read field geometry data.

Definition at line 54 of file ParseFieldGeometryData.h.

Constructor & Destructor Documentation

sick::data_processing::ParseFieldGeometryData::ParseFieldGeometryData ( )

Constructor of the parser.

Definition at line 42 of file ParseFieldGeometryData.cpp.

Member Function Documentation

bool sick::data_processing::ParseFieldGeometryData::parseTCPSequence ( const datastructure::PacketBuffer buffer,
datastructure::FieldData field_data 
) const

Parses a tcp sequence and return the field geometry data of the warning and protective fields.

Parameters
bufferThe incoming tcp sequence.
field_dataReference to the field data to set the geometry data.
Returns
If parsing the sequence was successful.

Definition at line 45 of file ParseFieldGeometryData.cpp.

uint16_t sick::data_processing::ParseFieldGeometryData::readArrayElement ( std::vector< uint8_t >::const_iterator  data_ptr,
uint32_t  elem_number 
) const
private

Definition at line 73 of file ParseFieldGeometryData.cpp.

uint32_t sick::data_processing::ParseFieldGeometryData::readArrayLength ( std::vector< uint8_t >::const_iterator  data_ptr) const
private

Definition at line 68 of file ParseFieldGeometryData.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