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  std::shared_ptr<sick::data_processing::ReadWriteHelper> m_reader_ptr;
71  void setDataInDerivedValues(const uint8_t*& data_ptr,
72  datastructure::DerivedValues& derived_values) const;
73  void setMultiplicationFactorInDerivedValues(const uint8_t*& data_ptr,
74  datastructure::DerivedValues& derived_values) const;
75  void setNumberOfBeamsInDerivedValues(const uint8_t*& data_ptr,
76  datastructure::DerivedValues& derived_values) const;
77  void setScanTimeInDerivedValues(const uint8_t*& data_ptr,
78  datastructure::DerivedValues& derived_values) const;
79  void setStartAngleInDerivedValues(const uint8_t*& data_ptr,
80  datastructure::DerivedValues& derived_values) const;
81  void setAngularBeamResolutionInDerivedValues(const uint8_t*& data_ptr,
82  datastructure::DerivedValues& derived_values) const;
83  void setInterbeamPeriodInDerivedValues(const uint8_t*& data_ptr,
84  datastructure::DerivedValues& derived_values) const;
85  bool checkIfPreconditionsAreMet(const datastructure::Data& data) const;
88 };
89 
90 } // namespace data_processing
91 } // namespace sick
92 
93 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEDERIVEDVALUES_H
void setMultiplicationFactorInDerivedValues(const uint8_t *&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
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
void setAngularBeamResolutionInDerivedValues(const uint8_t *&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
datastructure::DerivedValues parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Parsed the packet buffer and returns the derived values.
bool checkIfDerivedValuesIsPublished(const datastructure::Data &data) const
Parser for the derived values from the udp data packets.
void setNumberOfBeamsInDerivedValues(const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
The DerivedValues class Includes the derived configuration of the measurement data channel...
Definition: DerivedValues.h:48
void setInterbeamPeriodInDerivedValues(const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setDataInDerivedValues(const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setStartAngleInDerivedValues(const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
void setScanTimeInDerivedValues(const uint8_t *&data_ptr, datastructure::DerivedValues &derived_values) const
std::shared_ptr< sick::data_processing::ReadWriteHelper > m_reader_ptr


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Thu May 9 2019 02:41:08