MonitoringCaseData.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 
41 
43 {
44  return m_is_valid;
45 }
46 
47 void MonitoringCaseData::setIsValid(bool is_valid)
48 {
49  m_is_valid = is_valid;
50 }
51 
53 {
55 }
56 
57 void MonitoringCaseData::setMonitoringCaseNumber(const uint16_t& monitoring_case_number)
58 {
59  m_monitoring_case_number = monitoring_case_number;
60 }
61 
62 std::vector<uint16_t> MonitoringCaseData::getFieldIndices() const
63 {
64  return m_field_indices;
65 }
66 
67 void MonitoringCaseData::setFieldIndices(const std::vector<uint16_t>& field_indices)
68 {
69  m_field_indices = field_indices;
70 }
71 
72 std::vector<bool> MonitoringCaseData::getFieldsValid() const
73 {
74  return m_fields_valid;
75 }
76 
77 void MonitoringCaseData::setFieldsValid(const std::vector<bool>& fields_valid)
78 {
79  m_fields_valid = fields_valid;
80 }
81 
82 } // namespace datastructure
83 } // namespace sick
void setFieldsValid(const std::vector< bool > &fields_valid)
Sets if the fields are valid.
bool getIsValid() const
Returns if the received monitoring case data is valid.
std::vector< bool > getFieldsValid() const
Returns if the fields are configured and valid.
MonitoringCaseData()
The constructor of the monitoring case data.
void setMonitoringCaseNumber(const uint16_t &monitoring_case_number)
Sets the monitoring case number.
std::vector< uint16_t > getFieldIndices() const
Returns the field indices.
void setIsValid(bool is_valid)
Sets if the monitoring case data is valid.
uint16_t getMonitoringCaseNumber() const
Returns the number of the monitoring case.
void setFieldIndices(const std::vector< uint16_t > &field_indices)
Sets the field indices.


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