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
sick::datastructure::IntrusionDatum::getSize
int32_t getSize() const
Returns size of flag vector.
Definition: IntrusionDatum.cpp:43
sick
Definition: ApplicationNameVariableCommand.h:43
sick::datastructure::IntrusionDatum::IntrusionDatum
IntrusionDatum()
Constructor of an empty IntrusionDatum.
Definition: IntrusionDatum.cpp:41
sick::datastructure::IntrusionDatum
Class containing a single IntrusionDatum.
Definition: IntrusionDatum.h:47
sick::datastructure::IntrusionDatum::m_flags_vector
std::vector< bool > m_flags_vector
Definition: IntrusionDatum.h:81
sick::datastructure::IntrusionDatum::m_size
int32_t m_size
Definition: IntrusionDatum.h:80
sick::datastructure::IntrusionDatum::setFlagsVector
void setFlagsVector(const std::vector< bool > &flags_vector)
Setter for the flag vector.
Definition: IntrusionDatum.cpp:58
sick::datastructure::IntrusionDatum::getFlagsVector
std::vector< bool > getFlagsVector() const
Getter for the flags vector.
Definition: IntrusionDatum.cpp:53
sick::datastructure::IntrusionDatum::setSize
void setSize(const int32_t &size)
Setter of the size for the flag vector.
Definition: IntrusionDatum.cpp:48


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:51