MeasurementData.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 
00024 // -- END LICENSE BLOCK ------------------------------------------------
00025 
00026 //----------------------------------------------------------------------
00033 //----------------------------------------------------------------------
00034 
00035 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_MEASUREMENTDATA_H
00036 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_MEASUREMENTDATA_H
00037 
00038 #include <stdint.h>
00039 #include <vector>
00040 
00041 #include <sick_safetyscanners/datastructure/ScanPoint.h>
00042 
00043 namespace sick {
00044 namespace datastructure {
00045 
00049 class MeasurementData
00050 {
00051 public:
00055   MeasurementData();
00056 
00061   uint32_t getNumberOfBeams() const;
00062 
00067   void setNumberOfBeams(const uint32_t& number_of_beams);
00068 
00073   std::vector<ScanPoint> getScanPointsVector() const;
00074 
00079   void addScanPoint(ScanPoint scan_point);
00080 
00085   bool isEmpty() const;
00086 
00091   void setIsEmpty(bool is_empty);
00092 
00093 private:
00094   bool m_is_empty;
00095 
00096   uint32_t m_number_of_beams;
00097   std::vector<ScanPoint> m_scan_points_vector;
00098 };
00099 
00100 } // namespace datastructure
00101 } // namespace sick
00102 
00103 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_MEASUREMENTDATA_H


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:36