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

Parser for the derived values from the udp data packets. More...

#include <ParseDerivedValues.h>

List of all members.

Public Member Functions

 ParseDerivedValues ()
 Constructor of the parser.
datastructure::DerivedValues parseUDPSequence (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 Parsed the packet buffer and returns the derived values.

Private Member Functions

bool checkIfDataContainsNeededParsedBlocks (const datastructure::Data &data) const
bool checkIfDerivedValuesIsPublished (const datastructure::Data &data) const
bool checkIfPreconditionsAreMet (const datastructure::Data &data) const
void setAngularBeamResolutionInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setDataInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setInterbeamPeriodInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setMultiplicationFactorInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setNumberOfBeamsInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setScanTimeInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setStartAngleInDerivedValues (const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const

Private Attributes

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

Detailed Description

Parser for the derived values from the udp data packets.

Definition at line 50 of file ParseDerivedValues.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 40 of file ParseDerivedValues.cpp.


Member Function Documentation

Definition at line 87 of file ParseDerivedValues.cpp.

Definition at line 77 of file ParseDerivedValues.cpp.

Definition at line 63 of file ParseDerivedValues.cpp.

Parsed the packet buffer and returns the derived values.

Parameters:
bufferThe incoming packet buffer.
dataThe already parsed data. Used for checks if the derived values are enabled.
Returns:
The parsed derived values.

Definition at line 46 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setAngularBeamResolutionInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 132 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setDataInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 97 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setInterbeamPeriodInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 138 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setMultiplicationFactorInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 108 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setNumberOfBeamsInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 114 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setScanTimeInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 120 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setStartAngleInDerivedValues ( const uint8_t *&  data_ptr,
datastructure::DerivedValues derived_values 
) const [private]

Definition at line 126 of file ParseDerivedValues.cpp.


Member Data Documentation

Definition at line 70 of file ParseDerivedValues.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