Public Member Functions | Private Attributes | List of all members
sick::datastructure::MonitoringCaseData Class Reference

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
 

Detailed Description

Stores the data for the different monitoring cases.

Definition at line 48 of file MonitoringCaseData.h.

Constructor & Destructor Documentation

sick::datastructure::MonitoringCaseData::MonitoringCaseData ( )

The constructor of the monitoring case data.

Definition at line 40 of file MonitoringCaseData.cpp.

Member Function Documentation

std::vector< uint16_t > sick::datastructure::MonitoringCaseData::getFieldIndices ( ) const

Returns the field indices.

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.

Returns
If the fields are valid.

Definition at line 72 of file MonitoringCaseData.cpp.

bool sick::datastructure::MonitoringCaseData::getIsValid ( ) const

Returns if the received monitoring case data is valid.

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.

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.

Parameters
field_indicesThe 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.

Parameters
fields_validif 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.

Parameters
is_validif 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.

Parameters
monitoring_case_numberThe monitoring case number.

Definition at line 57 of file MonitoringCaseData.cpp.

Member Data Documentation

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.


The documentation for this class was generated from the following files:


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