Public Member Functions | Private Attributes
sick::datastructure::GeneralSystemState Class Reference

The GeneralSystemState class. It includes a summary of the current system state, the state of the safe and the non-safe cut-off path and bits indicating if a restart interlock is ready to be reset. More...

#include <GeneralSystemState.h>

List of all members.

Public Member Functions

 GeneralSystemState ()
 Constructor of GeneralSystemState, creates empty instance.
bool getApplicationError () const
 Return if an application error exists.
bool getContaminationError () const
 Returns if a contamination error exists.
bool getContaminationWarning () const
 Returns if a contamination warning is exists.
uint8_t getCurrentMonitoringCaseNoTable_1 () const
 Returns the current monitor case table 1.
uint8_t getCurrentMonitoringCaseNoTable_2 () const
 Returns the current monitor case table 2.
uint8_t getCurrentMonitoringCaseNoTable_3 () const
 Returns the current monitor case table 3.
uint8_t getCurrentMonitoringCaseNoTable_4 () const
 Returns the current monitor case table 4.
bool getDeviceError () const
 Return if a device error exists.
bool getManipulationStatus () const
 Returns if the manipulation status is set to true.
std::vector< bool > getNonSafeCutOffPathVector () const
 Returns the state of all non-safe cut-off paths.
bool getReferenceContourStatus () const
 Returns if the reference contour status is true.
std::vector< bool > getResetRequiredCutOffPathVector () const
 Returns if a cut-off path has to be reset.
bool getRunModeActive () const
 Returns if run mode is active.
std::vector< bool > getSafeCutOffPathVector () const
 Returns the state for all safe cut off paths.
bool getStandbyModeActive () const
 Returns if the standby mode is active.
bool isEmpty () const
 Return if general system state has been enabled.
void setApplicationError (bool application_error)
 Set if an application error exists.
void setContaminationError (bool contamination_error)
 Set if a contamination error exists.
void setContaminationWarning (bool contamination_warning)
 Set if a contamination warning exists.
void setCurrentMonitoringCaseNoTable_1 (const uint8_t &current_monitoring_case_no_table_1)
 Sets the current monitoring case table 1.
void setCurrentMonitoringCaseNoTable_2 (const uint8_t &current_monitoring_case_no_table_2)
 Sets the current monitoring case table 2.
void setCurrentMonitoringCaseNoTable_3 (const uint8_t &current_monitoring_case_no_table_3)
 Sets the current monitoring case table 3.
void setCurrentMonitoringCaseNoTable_4 (const uint8_t &current_monitoring_case_no_table_4)
 Sets the current monitoring case table 4.
void setDeviceError (bool device_error)
 Set if a device error exists.
void setIsEmpty (bool is_empty)
 Set if general system state has been enabled.
void setManipulationStatus (bool manipulation_status)
 Set the manipulation status.
void setNonSafeCutOffPathVector (const std::vector< bool > &non_safe_cut_off_path_vector)
 Sets the state of all non-safe cut-off paths.
void setReferenceContourStatus (bool reference_contour_status)
 Set the reference contour status.
void setResetRequiredCutOffPathVector (const std::vector< bool > &reset_required_cut_off_path_vector)
 Sets the reset state for all cut-off paths.
void setRunModeActive (bool run_mode_active)
 Setter for run mode.
void setSafeCutOffPathvector (const std::vector< bool > &safe_cut_off_path_vector)
 Sets the state of all safe cut-off paths.
void setStandbyModeActive (bool standby_mode_active)
 Setter for standby mode.

Private Attributes

bool m_application_error
bool m_contamination_error
bool m_contamination_warning
uint8_t m_current_monitoring_case_no_table_1
uint8_t m_current_monitoring_case_no_table_2
uint8_t m_current_monitoring_case_no_table_3
uint8_t m_current_monitoring_case_no_table_4
bool m_device_error
bool m_is_empty
bool m_manipulation_status
std::vector< bool > m_non_safe_cut_off_path_vector
bool m_reference_contour_status
std::vector< bool > m_reset_required_cut_off_path_vector
bool m_run_mode_active
std::vector< bool > m_safe_cut_off_path_vector
bool m_standby_mode_active

Detailed Description

The GeneralSystemState class. It includes a summary of the current system state, the state of the safe and the non-safe cut-off path and bits indicating if a restart interlock is ready to be reset.

Definition at line 49 of file GeneralSystemState.h.


Constructor & Destructor Documentation

Constructor of GeneralSystemState, creates empty instance.

Definition at line 40 of file GeneralSystemState.cpp.


Member Function Documentation

Return if an application error exists.

Returns:
If an application error exists.

Definition at line 181 of file GeneralSystemState.cpp.

Returns if a contamination error exists.

Returns:
If a contamination error exists.

Definition at line 75 of file GeneralSystemState.cpp.

Returns if a contamination warning is exists.

Returns:
If a contamination warning exists.

Definition at line 65 of file GeneralSystemState.cpp.

Returns the current monitor case table 1.

Returns:
The current monitoring case table 1.

Definition at line 137 of file GeneralSystemState.cpp.

Returns the current monitor case table 2.

Returns:
The current monitoring case table 2.

Definition at line 148 of file GeneralSystemState.cpp.

Returns the current monitor case table 3.

Returns:
The current monitoring case table 3.

Definition at line 159 of file GeneralSystemState.cpp.

Returns the current monitor case table 4.

Returns:
The current monitoring case table 4.

Definition at line 170 of file GeneralSystemState.cpp.

Return if a device error exists.

Returns:
If a device error exists.

Definition at line 191 of file GeneralSystemState.cpp.

Returns if the manipulation status is set to true.

Returns:
If the manipulation status is set.

Definition at line 95 of file GeneralSystemState.cpp.

Returns the state of all non-safe cut-off paths.

Returns:
Vector containing the state of all non-safe cut-off paths

Definition at line 115 of file GeneralSystemState.cpp.

Returns if the reference contour status is true.

Returns:
If the reference contour status ist true.

Definition at line 85 of file GeneralSystemState.cpp.

Returns if a cut-off path has to be reset.

Returns:
Vector if a cut-off path has to be reset.

Definition at line 126 of file GeneralSystemState.cpp.

Returns if run mode is active.

Returns:
If run mode is active.

Definition at line 45 of file GeneralSystemState.cpp.

Returns the state for all safe cut off paths.

Returns:
Vector containing the state of all safe cut off paths.

Definition at line 105 of file GeneralSystemState.cpp.

Returns if the standby mode is active.

Returns:
If the standby mode is active.

Definition at line 55 of file GeneralSystemState.cpp.

Return if general system state has been enabled.

Returns:
If general system state has been enabled.

Definition at line 201 of file GeneralSystemState.cpp.

Set if an application error exists.

Parameters:
application_errorIf an application error exists.

Definition at line 186 of file GeneralSystemState.cpp.

Set if a contamination error exists.

Parameters:
contamination_errorIf a contamination error exists.

Definition at line 80 of file GeneralSystemState.cpp.

Set if a contamination warning exists.

Parameters:
contamination_warningIf a contamination warning exists.

Definition at line 70 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setCurrentMonitoringCaseNoTable_1 ( const uint8_t &  current_monitoring_case_no_table_1)

Sets the current monitoring case table 1.

Parameters:
current_monitoring_case_no_table_1The current monitoring case table 1.

Definition at line 142 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setCurrentMonitoringCaseNoTable_2 ( const uint8_t &  current_monitoring_case_no_table_2)

Sets the current monitoring case table 2.

Parameters:
current_monitoring_case_no_table_2The current monitoring case table 2.

Definition at line 153 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setCurrentMonitoringCaseNoTable_3 ( const uint8_t &  current_monitoring_case_no_table_3)

Sets the current monitoring case table 3.

Parameters:
current_monitoring_case_no_table_3The current monitoring case table 3.

Definition at line 164 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setCurrentMonitoringCaseNoTable_4 ( const uint8_t &  current_monitoring_case_no_table_4)

Sets the current monitoring case table 4.

Parameters:
current_monitoring_case_no_table_4The current monitoring case table 4 .

Definition at line 175 of file GeneralSystemState.cpp.

Set if a device error exists.

Parameters:
device_errorIf a device error exists

Definition at line 196 of file GeneralSystemState.cpp.

Set if general system state has been enabled.

Parameters:
is_emptyIf general system state has been enabled.

Definition at line 206 of file GeneralSystemState.cpp.

Set the manipulation status.

Parameters:
manipulation_statusThe new manipulation status.

Definition at line 100 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setNonSafeCutOffPathVector ( const std::vector< bool > &  non_safe_cut_off_path_vector)

Sets the state of all non-safe cut-off paths.

Parameters:
non_safe_cut_off_path_vectorVector for the state of all non-safe cut-off paths

Definition at line 120 of file GeneralSystemState.cpp.

Set the reference contour status.

Parameters:
reference_contour_statusThe new reference contour status.

Definition at line 90 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setResetRequiredCutOffPathVector ( const std::vector< bool > &  reset_required_cut_off_path_vector)

Sets the reset state for all cut-off paths.

Parameters:
reset_required_cut_off_path_vectorVector for the reset state of all cut-off paths

Definition at line 131 of file GeneralSystemState.cpp.

Setter for run mode.

Parameters:
run_mode_activeIf run mode is active or inactive.

Definition at line 50 of file GeneralSystemState.cpp.

void sick::datastructure::GeneralSystemState::setSafeCutOffPathvector ( const std::vector< bool > &  safe_cut_off_path_vector)

Sets the state of all safe cut-off paths.

Parameters:
safe_cut_off_path_vectorVector for the state of all safe cut-off paths.

Definition at line 110 of file GeneralSystemState.cpp.

Setter for standby mode.

Parameters:
standby_mode_activeIf standby mode is active or inactive.

Definition at line 60 of file GeneralSystemState.cpp.


Member Data Documentation

Definition at line 268 of file GeneralSystemState.h.

Definition at line 255 of file GeneralSystemState.h.

Definition at line 254 of file GeneralSystemState.h.

Definition at line 263 of file GeneralSystemState.h.

Definition at line 264 of file GeneralSystemState.h.

Definition at line 265 of file GeneralSystemState.h.

Definition at line 266 of file GeneralSystemState.h.

Definition at line 269 of file GeneralSystemState.h.

Definition at line 251 of file GeneralSystemState.h.

Definition at line 257 of file GeneralSystemState.h.

Definition at line 260 of file GeneralSystemState.h.

Definition at line 256 of file GeneralSystemState.h.

Definition at line 261 of file GeneralSystemState.h.

Definition at line 252 of file GeneralSystemState.h.

Definition at line 259 of file GeneralSystemState.h.

Definition at line 253 of file GeneralSystemState.h.


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


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:37