IntrusionDatum.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_INTRUSIONDATUM_H
36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_INTRUSIONDATUM_H
37 
38 #include <stdint.h>
39 #include <vector>
40 
41 namespace sick {
42 namespace datastructure {
43 
48 {
49 public:
54 
59  int32_t getSize() const;
60 
65  void setSize(const int32_t& size);
66 
71  std::vector<bool> getFlagsVector() const;
72 
77  void setFlagsVector(const std::vector<bool>& flags_vector);
78 
79 private:
80  int32_t m_size;
81  std::vector<bool> m_flags_vector;
82 };
83 
84 } // namespace datastructure
85 } // namespace sick
86 
87 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_INTRUSIONDATUM_H
int32_t getSize() const
Returns size of flag vector.
Class containing a single IntrusionDatum.
void setFlagsVector(const std::vector< bool > &flags_vector)
Setter for the flag vector.
std::vector< bool > getFlagsVector() const
Getter for the flags vector.
IntrusionDatum()
Constructor of an empty IntrusionDatum.
void setSize(const int32_t &size)
Setter of the size for the flag vector.


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