GeneralSystemState.cpp
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 
00024 // -- END LICENSE BLOCK ------------------------------------------------
00025 
00026 //----------------------------------------------------------------------
00033 //----------------------------------------------------------------------
00034 
00035 #include <sick_safetyscanners/datastructure/GeneralSystemState.h>
00036 
00037 namespace sick {
00038 namespace datastructure {
00039 
00040 GeneralSystemState::GeneralSystemState()
00041   : m_is_empty(false)
00042 {
00043 }
00044 
00045 bool GeneralSystemState::getRunModeActive() const
00046 {
00047   return m_run_mode_active;
00048 }
00049 
00050 void GeneralSystemState::setRunModeActive(bool run_mode_active)
00051 {
00052   m_run_mode_active = run_mode_active;
00053 }
00054 
00055 bool GeneralSystemState::getStandbyModeActive() const
00056 {
00057   return m_standby_mode_active;
00058 }
00059 
00060 void GeneralSystemState::setStandbyModeActive(bool standby_mode_active)
00061 {
00062   m_standby_mode_active = standby_mode_active;
00063 }
00064 
00065 bool GeneralSystemState::getContaminationWarning() const
00066 {
00067   return m_contamination_warning;
00068 }
00069 
00070 void GeneralSystemState::setContaminationWarning(bool contamination_warning)
00071 {
00072   m_contamination_warning = contamination_warning;
00073 }
00074 
00075 bool GeneralSystemState::getContaminationError() const
00076 {
00077   return m_contamination_error;
00078 }
00079 
00080 void GeneralSystemState::setContaminationError(bool contamination_error)
00081 {
00082   m_contamination_error = contamination_error;
00083 }
00084 
00085 bool GeneralSystemState::getReferenceContourStatus() const
00086 {
00087   return m_reference_contour_status;
00088 }
00089 
00090 void GeneralSystemState::setReferenceContourStatus(bool reference_contour_status)
00091 {
00092   m_reference_contour_status = reference_contour_status;
00093 }
00094 
00095 bool GeneralSystemState::getManipulationStatus() const
00096 {
00097   return m_manipulation_status;
00098 }
00099 
00100 void GeneralSystemState::setManipulationStatus(bool manipulation_status)
00101 {
00102   m_manipulation_status = manipulation_status;
00103 }
00104 
00105 std::vector<bool> GeneralSystemState::getSafeCutOffPathVector() const
00106 {
00107   return m_safe_cut_off_path_vector;
00108 }
00109 
00110 void GeneralSystemState::setSafeCutOffPathvector(const std::vector<bool>& safe_cut_off_path_vector)
00111 {
00112   m_safe_cut_off_path_vector = safe_cut_off_path_vector;
00113 }
00114 
00115 std::vector<bool> GeneralSystemState::getNonSafeCutOffPathVector() const
00116 {
00117   return m_non_safe_cut_off_path_vector;
00118 }
00119 
00120 void GeneralSystemState::setNonSafeCutOffPathVector(
00121   const std::vector<bool>& non_safe_cut_off_path_vector)
00122 {
00123   m_non_safe_cut_off_path_vector = non_safe_cut_off_path_vector;
00124 }
00125 
00126 std::vector<bool> GeneralSystemState::getResetRequiredCutOffPathVector() const
00127 {
00128   return m_reset_required_cut_off_path_vector;
00129 }
00130 
00131 void GeneralSystemState::setResetRequiredCutOffPathVector(
00132   const std::vector<bool>& reset_required_cut_off_path_vector)
00133 {
00134   m_reset_required_cut_off_path_vector = reset_required_cut_off_path_vector;
00135 }
00136 
00137 uint8_t GeneralSystemState::getCurrentMonitoringCaseNoTable_1() const
00138 {
00139   return m_current_monitoring_case_no_table_1;
00140 }
00141 
00142 void GeneralSystemState::setCurrentMonitoringCaseNoTable_1(
00143   const uint8_t& current_monitoring_case_no_table_1)
00144 {
00145   m_current_monitoring_case_no_table_1 = current_monitoring_case_no_table_1;
00146 }
00147 
00148 uint8_t GeneralSystemState::getCurrentMonitoringCaseNoTable_2() const
00149 {
00150   return m_current_monitoring_case_no_table_2;
00151 }
00152 
00153 void GeneralSystemState::setCurrentMonitoringCaseNoTable_2(
00154   const uint8_t& current_monitoring_case_no_table_2)
00155 {
00156   m_current_monitoring_case_no_table_2 = current_monitoring_case_no_table_2;
00157 }
00158 
00159 uint8_t GeneralSystemState::getCurrentMonitoringCaseNoTable_3() const
00160 {
00161   return m_current_monitoring_case_no_table_3;
00162 }
00163 
00164 void GeneralSystemState::setCurrentMonitoringCaseNoTable_3(
00165   const uint8_t& current_monitoring_case_no_table_3)
00166 {
00167   m_current_monitoring_case_no_table_3 = current_monitoring_case_no_table_3;
00168 }
00169 
00170 uint8_t GeneralSystemState::getCurrentMonitoringCaseNoTable_4() const
00171 {
00172   return m_current_monitoring_case_no_table_4;
00173 }
00174 
00175 void GeneralSystemState::setCurrentMonitoringCaseNoTable_4(
00176   const uint8_t& current_monitoring_case_no_table_4)
00177 {
00178   m_current_monitoring_case_no_table_4 = current_monitoring_case_no_table_4;
00179 }
00180 
00181 bool GeneralSystemState::getApplicationError() const
00182 {
00183   return m_application_error;
00184 }
00185 
00186 void GeneralSystemState::setApplicationError(bool application_error)
00187 {
00188   m_application_error = application_error;
00189 }
00190 
00191 bool GeneralSystemState::getDeviceError() const
00192 {
00193   return m_device_error;
00194 }
00195 
00196 void GeneralSystemState::setDeviceError(bool device_error)
00197 {
00198   m_device_error = device_error;
00199 }
00200 
00201 bool GeneralSystemState::isEmpty() const
00202 {
00203   return m_is_empty;
00204 }
00205 
00206 void GeneralSystemState::setIsEmpty(bool is_empty)
00207 {
00208   m_is_empty = is_empty;
00209 }
00210 
00211 
00212 } // namespace datastructure
00213 } // namespace sick


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