Program Listing for File IntrusionDatum.h

Return to documentation for file (/tmp/ws/src/sick_safetyscanners_base/include/sick_safetyscanners_base/datastructure/IntrusionDatum.h)

// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-

// -- BEGIN LICENSE BLOCK ----------------------------------------------

// -- END LICENSE BLOCK ------------------------------------------------

//----------------------------------------------------------------------
//----------------------------------------------------------------------

#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_INTRUSIONDATUM_H
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_INTRUSIONDATUM_H

#include <stdint.h>
#include <vector>

namespace sick {
namespace datastructure {

class IntrusionDatum
{
public:
  IntrusionDatum();

  int32_t getSize() const;

  void setSize(const int32_t& size);

  std::vector<bool> getFlagsVector() const;

  void setFlagsVector(const std::vector<bool>& flags_vector);

private:
  int32_t m_size;
  std::vector<bool> m_flags_vector;
};

} // namespace datastructure
} // namespace sick

#endif // SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_INTRUSIONDATUM_H