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

Parser to read field geometry data. More...

#include <ParseFieldGeometryData.h>

List of all members.

Public Member Functions

 ParseFieldGeometryData ()
 Constructor of the parser.
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.

Private Member Functions

uint16_t readArrayElement (const uint8_t *&data_ptr, uint32_t elem_number) const
uint32_t readArrayLength (const uint8_t *&data_ptr) const

Private Attributes

std::shared_ptr
< sick::data_processing::ReadWriteHelper
m_reader_ptr

Detailed Description

Parser to read field geometry data.

Definition at line 54 of file ParseFieldGeometryData.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 42 of file ParseFieldGeometryData.cpp.


Member Function Documentation

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 48 of file ParseFieldGeometryData.cpp.

uint16_t sick::data_processing::ParseFieldGeometryData::readArrayElement ( const uint8_t *&  data_ptr,
uint32_t  elem_number 
) const [private]

Definition at line 68 of file ParseFieldGeometryData.cpp.

uint32_t sick::data_processing::ParseFieldGeometryData::readArrayLength ( const uint8_t *&  data_ptr) const [private]

Definition at line 63 of file ParseFieldGeometryData.cpp.


Member Data Documentation

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