MeasurementData.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_DATASTRUCTURE_MEASUREMENTDATA_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_MEASUREMENTDATA_H
37 
38 #include <stdint.h>
39 #include <vector>
40 
42 
43 namespace sick {
44 namespace datastructure {
45 
50 {
51 public:
56 
61  uint32_t getNumberOfBeams() const;
62 
67  void setNumberOfBeams(const uint32_t& number_of_beams);
68 
73  std::vector<ScanPoint> getScanPointsVector() const;
74 
79  void addScanPoint(ScanPoint scan_point);
80 
85  bool isEmpty() const;
86 
91  void setIsEmpty(bool is_empty);
92 
93 private:
94  bool m_is_empty;
95 
97  std::vector<ScanPoint> m_scan_points_vector;
98 };
99 
100 } // namespace datastructure
101 } // namespace sick
102 
103 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_MEASUREMENTDATA_H
std::vector< ScanPoint > m_scan_points_vector
Class containing the data of a single scan point.
Definition: ScanPoint.h:46
uint32_t getNumberOfBeams() const
Getter for the number of beams.
void setIsEmpty(bool is_empty)
Set if measurement data is enabled.
void setNumberOfBeams(const uint32_t &number_of_beams)
Setter for the number of beams.
std::vector< ScanPoint > getScanPointsVector() const
Getter for all contained scanpoints.
Class containing all scanpoints of a single measurement.
MeasurementData()
Constructor of an empty measurement.
void addScanPoint(ScanPoint scan_point)
Add a single scanpoint to the vector of scanpoints.
bool isEmpty() const
Returns if measurement data has been enabled.


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