ParseDerivedValues.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDERIVEDVALUES_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDERIVEDVALUES_H
37 
41 
43 
44 namespace sick {
45 namespace data_processing {
46 
51 {
52 public:
57 
67  datastructure::Data& data) const;
68 
69 private:
70  void setDataInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
71  datastructure::DerivedValues& derived_values) const;
72  void setMultiplicationFactorInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
73  datastructure::DerivedValues& derived_values) const;
74  void setNumberOfBeamsInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
75  datastructure::DerivedValues& derived_values) const;
76  void setScanTimeInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
77  datastructure::DerivedValues& derived_values) const;
78  void setStartAngleInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
79  datastructure::DerivedValues& derived_values) const;
80  void setAngularBeamResolutionInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
81  datastructure::DerivedValues& derived_values) const;
82  void setInterbeamPeriodInDerivedValues(std::vector<uint8_t>::const_iterator data_ptr,
83  datastructure::DerivedValues& derived_values) const;
84  bool checkIfPreconditionsAreMet(const datastructure::Data& data) const;
87 };
88 
89 } // namespace data_processing
90 } // namespace sick
91 
92 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDERIVEDVALUES_H
void setMultiplicationFactorInDerivedValues(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
bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
data
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
void setStartAngleInDerivedValues(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 setNumberOfBeamsInDerivedValues(std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
ParseDerivedValues()
Constructor of the parser.
The data class containing all data blocks of a measurement.
Definition: Data.h:55
void setInterbeamPeriodInDerivedValues(std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
datastructure::DerivedValues parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Parsed the packet buffer and returns the derived values.
void setAngularBeamResolutionInDerivedValues(std::vector< uint8_t >::const_iterator data_ptr, datastructure::DerivedValues &derived_values) const
bool checkIfDerivedValuesIsPublished(const datastructure::Data &data) const
Parser for the derived values from the udp data packets.
The DerivedValues class Includes the derived configuration of the measurement data channel...
Definition: DerivedValues.h:48


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41