IntrusionDatum.cpp
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 
36 
37 namespace sick {
38 namespace datastructure {
39 
40 
42 
43 int32_t IntrusionDatum::getSize() const
44 {
45  return m_size;
46 }
47 
48 void IntrusionDatum::setSize(const int32_t& size)
49 {
50  m_size = size;
51 }
52 
53 std::vector<bool> IntrusionDatum::getFlagsVector() const
54 {
55  return m_flags_vector;
56 }
57 
58 void IntrusionDatum::setFlagsVector(const std::vector<bool>& flags_vector)
59 {
60  m_flags_vector = flags_vector;
61 }
62 
63 } // namespace datastructure
64 } // namespace sick
int32_t getSize() const
Returns size of flag vector.
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