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

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

#include <ParseDerivedValues.h>

Public Member Functions

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

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 (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 
void setDataInDerivedValues (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 
void setInterbeamPeriodInDerivedValues (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 
void setMultiplicationFactorInDerivedValues (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 
void setNumberOfBeamsInDerivedValues (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 
void setScanTimeInDerivedValues (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 
void setStartAngleInDerivedValues (std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
 

Detailed Description

Parser for the derived values from the udp data packets.

Definition at line 50 of file ParseDerivedValues.h.

Constructor & Destructor Documentation

sick::data_processing::ParseDerivedValues::ParseDerivedValues ( )

Constructor of the parser.

Definition at line 40 of file ParseDerivedValues.cpp.

Member Function Documentation

bool sick::data_processing::ParseDerivedValues::checkIfDataContainsNeededParsedBlocks ( const datastructure::Data data) const
private

Definition at line 82 of file ParseDerivedValues.cpp.

bool sick::data_processing::ParseDerivedValues::checkIfDerivedValuesIsPublished ( const datastructure::Data data) const
private

Definition at line 76 of file ParseDerivedValues.cpp.

bool sick::data_processing::ParseDerivedValues::checkIfPreconditionsAreMet ( const datastructure::Data data) const
private

Definition at line 62 of file ParseDerivedValues.cpp.

datastructure::DerivedValues sick::data_processing::ParseDerivedValues::parseUDPSequence ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const

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 43 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setAngularBeamResolutionInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

Definition at line 123 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setDataInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

Definition at line 88 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setInterbeamPeriodInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

Definition at line 129 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setMultiplicationFactorInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

Definition at line 99 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setNumberOfBeamsInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

Definition at line 105 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setScanTimeInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

Definition at line 111 of file ParseDerivedValues.cpp.

void sick::data_processing::ParseDerivedValues::setStartAngleInDerivedValues ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DerivedValues derived_values 
) const
private

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