35 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_GENERALSYSTEMSTATE_H 36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_GENERALSYSTEMSTATE_H 42 namespace datastructure {
275 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_GENERALSYSTEMSTATE_H bool m_contamination_error
void setIsEmpty(bool is_empty)
Set if general system state has been enabled.
bool getReferenceContourStatus() const
Returns if the reference contour status is true.
void setContaminationError(bool contamination_error)
Set if a contamination error exists.
uint8_t getCurrentMonitoringCaseNoTable2() const
Returns the current monitor case table 2.
The GeneralSystemState class. It includes a summary of the current system state, the state of the saf...
std::vector< bool > m_safe_cut_off_path_vector
std::vector< bool > getResetRequiredCutOffPathVector() const
Returns if a cut-off path has to be reset.
std::vector< bool > m_reset_required_cut_off_path_vector
GeneralSystemState()
Constructor of GeneralSystemState, creates empty instance.
void setCurrentMonitoringCaseNoTable4(const uint8_t ¤t_monitoring_case_no_table_4)
Sets the current monitoring case table 4.
uint8_t getCurrentMonitoringCaseNoTable4() const
Returns the current monitor case table 4.
void setRunModeActive(bool run_mode_active)
Setter for run mode.
bool m_standby_mode_active
void setResetRequiredCutOffPathVector(const std::vector< bool > &reset_required_cut_off_path_vector)
Sets the reset state for all cut-off paths.
void setNonSafeCutOffPathVector(const std::vector< bool > &non_safe_cut_off_path_vector)
Sets the state of all non-safe cut-off paths.
uint8_t m_current_monitoring_case_no_table_1
uint8_t getCurrentMonitoringCaseNoTable1() const
Returns the current monitor case table 1.
uint8_t m_current_monitoring_case_no_table_3
void setDeviceError(bool device_error)
Set if a device error exists.
void setReferenceContourStatus(bool reference_contour_status)
Set the reference contour status.
void setApplicationError(bool application_error)
Set if an application error exists.
bool getDeviceError() const
Return if a device error exists.
void setManipulationStatus(bool manipulation_status)
Set the manipulation status.
bool getRunModeActive() const
Returns if run mode is active.
std::vector< bool > m_non_safe_cut_off_path_vector
void setStandbyModeActive(bool standby_mode_active)
Setter for standby mode.
bool getApplicationError() const
Return if an application error exists.
std::vector< bool > getSafeCutOffPathVector() const
Returns the state for all safe cut off paths.
uint8_t m_current_monitoring_case_no_table_4
void setCurrentMonitoringCaseNoTable3(const uint8_t ¤t_monitoring_case_no_table_3)
Sets the current monitoring case table 3.
uint8_t getCurrentMonitoringCaseNoTable3() const
Returns the current monitor case table 3.
void setCurrentMonitoringCaseNoTable1(const uint8_t ¤t_monitoring_case_no_table_1)
Sets the current monitoring case table 1.
bool getManipulationStatus() const
Returns if the manipulation status is set to true.
bool m_reference_contour_status
bool m_contamination_warning
bool m_manipulation_status
bool isEmpty() const
Return if general system state has been enabled.
bool getStandbyModeActive() const
Returns if the standby mode is active.
uint8_t m_current_monitoring_case_no_table_2
void setCurrentMonitoringCaseNoTable2(const uint8_t ¤t_monitoring_case_no_table_2)
Sets the current monitoring case table 2.
bool getContaminationWarning() const
Returns if a contamination warning is exists.
void setSafeCutOffPathvector(const std::vector< bool > &safe_cut_off_path_vector)
Sets the state of all safe cut-off paths.
void setContaminationWarning(bool contamination_warning)
Set if a contamination warning exists.
bool getContaminationError() const
Returns if a contamination error exists.
std::vector< bool > getNonSafeCutOffPathVector() const
Returns the state of all non-safe cut-off paths.