Stores the data for the different monitoring cases. More...
#include <MonitoringCaseData.h>
Public Member Functions | |
| std::vector< uint16_t > | getFieldIndices () const |
| Returns the field indices. More... | |
| std::vector< bool > | getFieldsValid () const |
| Returns if the fields are configured and valid. More... | |
| bool | getIsValid () const |
| Returns if the received monitoring case data is valid. More... | |
| uint16_t | getMonitoringCaseNumber () const |
| Returns the number of the monitoring case. More... | |
| MonitoringCaseData () | |
| The constructor of the monitoring case data. More... | |
| void | setFieldIndices (const std::vector< uint16_t > &field_indices) |
| Sets the field indices. More... | |
| void | setFieldsValid (const std::vector< bool > &fields_valid) |
| Sets if the fields are valid. More... | |
| void | setIsValid (bool is_valid) |
| Sets if the monitoring case data is valid. More... | |
| void | setMonitoringCaseNumber (const uint16_t &monitoring_case_number) |
| Sets the monitoring case number. More... | |
Private Attributes | |
| std::vector< uint16_t > | m_field_indices |
| std::vector< bool > | m_fields_valid |
| bool | m_is_valid |
| uint16_t | m_monitoring_case_number |
Stores the data for the different monitoring cases.
Definition at line 48 of file MonitoringCaseData.h.
| sick::datastructure::MonitoringCaseData::MonitoringCaseData | ( | ) |
The constructor of the monitoring case data.
Definition at line 40 of file MonitoringCaseData.cpp.
| std::vector< uint16_t > sick::datastructure::MonitoringCaseData::getFieldIndices | ( | ) | const |
Returns the field indices.
Definition at line 62 of file MonitoringCaseData.cpp.
| std::vector< bool > sick::datastructure::MonitoringCaseData::getFieldsValid | ( | ) | const |
Returns if the fields are configured and valid.
Definition at line 72 of file MonitoringCaseData.cpp.
| bool sick::datastructure::MonitoringCaseData::getIsValid | ( | ) | const |
Returns if the received monitoring case data is valid.
Definition at line 42 of file MonitoringCaseData.cpp.
| uint16_t sick::datastructure::MonitoringCaseData::getMonitoringCaseNumber | ( | ) | const |
Returns the number of the monitoring case.
Definition at line 52 of file MonitoringCaseData.cpp.
| void sick::datastructure::MonitoringCaseData::setFieldIndices | ( | const std::vector< uint16_t > & | field_indices | ) |
Sets the field indices.
| field_indices | The field indices. |
Definition at line 67 of file MonitoringCaseData.cpp.
| void sick::datastructure::MonitoringCaseData::setFieldsValid | ( | const std::vector< bool > & | fields_valid | ) |
Sets if the fields are valid.
| fields_valid | if the fields are valid. |
Definition at line 77 of file MonitoringCaseData.cpp.
| void sick::datastructure::MonitoringCaseData::setIsValid | ( | bool | is_valid | ) |
Sets if the monitoring case data is valid.
| is_valid | if the monitoring data is valid. |
Definition at line 47 of file MonitoringCaseData.cpp.
| void sick::datastructure::MonitoringCaseData::setMonitoringCaseNumber | ( | const uint16_t & | monitoring_case_number | ) |
Sets the monitoring case number.
| monitoring_case_number | The monitoring case number. |
Definition at line 57 of file MonitoringCaseData.cpp.
|
private |
Definition at line 116 of file MonitoringCaseData.h.
|
private |
Definition at line 117 of file MonitoringCaseData.h.
|
private |
Definition at line 114 of file MonitoringCaseData.h.
|
private |
Definition at line 115 of file MonitoringCaseData.h.