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. | |
std::vector< bool > | getFieldsValid () const |
Returns if the fields are configured and valid. | |
bool | getIsValid () const |
Returns if the received monitoring case data is valid. | |
uint16_t | getMonitoringCaseNumber () const |
Returns the number of the monitoring case. | |
MonitoringCaseData () | |
The constructor of the monitoring case data. | |
void | setFieldIndices (const std::vector< uint16_t > &field_indices) |
Sets the field indices. | |
void | setFieldsValid (const std::vector< bool > &fields_valid) |
Sets if the fields are valid. | |
void | setIsValid (const bool is_valid) |
Sets if the monitoring case data is valid. | |
void | setMonitoringCaseNumber (const uint16_t monitoring_case_number) |
Sets the monitoring case number. | |
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.
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 | ( | const 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.
std::vector<uint16_t> sick::datastructure::MonitoringCaseData::m_field_indices [private] |
Definition at line 116 of file MonitoringCaseData.h.
std::vector<bool> sick::datastructure::MonitoringCaseData::m_fields_valid [private] |
Definition at line 117 of file MonitoringCaseData.h.
bool sick::datastructure::MonitoringCaseData::m_is_valid [private] |
Definition at line 114 of file MonitoringCaseData.h.
uint16_t sick::datastructure::MonitoringCaseData::m_monitoring_case_number [private] |
Definition at line 115 of file MonitoringCaseData.h.