|
ADS-IDAC Engine 5.0.0
|
#include <ControlPanelAlarm.h>
Public Member Functions | |
| ControlPanelAlarm () | |
| virtual | ~ControlPanelAlarm () |
| int | readInfoFromFile (std::ifstream &) |
| void | initiateAllAlarms (ControlPanelDisplay &) |
| void | outputParametersLabelsToFile (std::ofstream &) |
| void | outputParametersUnitsToFile (std::ofstream &) |
| void | outputParametersValuesToFile (double, std::ofstream &) |
| SystemAlarm * | getAlarmFromMap (std::string) |
| void | updateAllDisplayedAlarmState (ControlPanelDisplay &) |
| int | getTotalNumberOfAlarms () |
| void | copyControlPanelAlarm (ControlPanelAlarm &) |
| void | clearControlPanelAlarm () |
| void | saveControlPanelAlarmToFile (std::ofstream &) |
| void | retrieveControlPanelAlarmFromFile (std::ifstream &) |
Public Attributes | |
| std::vector< std::unique_ptr< AlarmParameter > > | alarm_parameter_value_array |
| std::vector< std::unique_ptr< AlarmComponent > > | alarm_component_state_array |
| std::vector< std::unique_ptr< AlarmTwoParameterDifference > > | alarm_value_difference_array |
| std::map< std::string, SystemAlarm * > | alarm_map |
Private Member Functions | |
| template<class Archive > | |
| void | save (Archive &ar, const unsigned int) const |
| template<class Archive > | |
| void | load (Archive &ar, const unsigned int) |
Friends | |
| class | boost::serialization::access |
Definition at line 24 of file ControlPanelAlarm.h.
| ControlPanelAlarm::ControlPanelAlarm | ( | ) |
Definition at line 19 of file ControlPanelAlarm.cpp.
|
virtual |
Definition at line 25 of file ControlPanelAlarm.cpp.
References clearControlPanelAlarm().
| void ControlPanelAlarm::clearControlPanelAlarm | ( | ) |
Definition at line 223 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_map, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by ControlPanel::clearControlPanel(), and ~ControlPanelAlarm().
| void ControlPanelAlarm::copyControlPanelAlarm | ( | ControlPanelAlarm & | _cpa | ) |
Definition at line 203 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_map, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by ControlPanel::copyControlPanel().
| SystemAlarm * ControlPanelAlarm::getAlarmFromMap | ( | std::string | ) |
Definition at line 162 of file ControlPanelAlarm.cpp.
References AdsSimErr, alarm_map, SimulationContext::Branch_center, g_sim, r5pars_, BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
Referenced by ControlPanel::executeRequestToPlant(), and ReasonMachine::GetAlarmStateImediately().
| int ControlPanelAlarm::getTotalNumberOfAlarms | ( | ) |
Definition at line 199 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_parameter_value_array, and alarm_value_difference_array.
| void ControlPanelAlarm::initiateAllAlarms | ( | ControlPanelDisplay & | _cp | ) |
Definition at line 76 of file ControlPanelAlarm.cpp.
References AdsSimErr, alarm_map, AlarmComponent, AlarmParameter, AlarmTwoParamDiff, SimulationContext::Branch_center, g_sim, AlarmElement::getAlarmName(), r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), AlarmComponent::updateDisplayedAlarmState(), AlarmParameter::updateDisplayedAlarmState(), and AlarmTwoParameterDifference::updateDisplayedAlarmState().
|
inlineprivate |
Definition at line 59 of file ControlPanelAlarm.h.
References alarm_component_state_array, alarm_parameter_value_array, alarm_value_difference_array, and adsidac::load_array_state().
| void ControlPanelAlarm::outputParametersLabelsToFile | ( | std::ofstream & | ) |
Definition at line 114 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by KeyParameterHistoryUnit::outputLabelToFile().
| void ControlPanelAlarm::outputParametersUnitsToFile | ( | std::ofstream & | ) |
Definition at line 128 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by KeyParameterHistoryUnit::outputUnitToFile().
| void ControlPanelAlarm::outputParametersValuesToFile | ( | double | , |
| std::ofstream & | |||
| ) |
Definition at line 140 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_parameter_value_array, and alarm_value_difference_array.
| int ControlPanelAlarm::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 31 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_map, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by ControlPanel::readInfoFromFile().
| void ControlPanelAlarm::retrieveControlPanelAlarmFromFile | ( | std::ifstream & | ) |
Definition at line 247 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_map, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by ControlPanel::retrieveControlPanelFromFile().
|
inlineprivate |
Definition at line 50 of file ControlPanelAlarm.h.
References alarm_component_state_array, alarm_parameter_value_array, alarm_value_difference_array, and adsidac::save_array_state().
| void ControlPanelAlarm::saveControlPanelAlarmToFile | ( | std::ofstream & | ) |
Definition at line 229 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by ControlPanel::saveControlPanelToFile().
| void ControlPanelAlarm::updateAllDisplayedAlarmState | ( | ControlPanelDisplay & | _CPDisplay | ) |
Definition at line 184 of file ControlPanelAlarm.cpp.
References alarm_component_state_array, alarm_parameter_value_array, and alarm_value_difference_array.
Referenced by ControlPanel::updateDisplayAndAlarm().
|
friend |
Definition at line 47 of file ControlPanelAlarm.h.
| std::vector<std::unique_ptr<AlarmComponent> > ControlPanelAlarm::alarm_component_state_array |
Definition at line 42 of file ControlPanelAlarm.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), Operator::checkCompletenessOfSystemDecomposition(), ControlPanel::checkForNewAlarms(), clearControlPanelAlarm(), copyControlPanelAlarm(), getTotalNumberOfAlarms(), load(), outputParametersLabelsToFile(), outputParametersUnitsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveControlPanelAlarmFromFile(), save(), saveControlPanelAlarmToFile(), ControlPanel::seedFromMaster(), and updateAllDisplayedAlarmState().
| std::map<std::string, SystemAlarm*> ControlPanelAlarm::alarm_map |
Definition at line 44 of file ControlPanelAlarm.h.
Referenced by ProcedureStepUnit::checkForTypeOfExpectation(), DiagnosisComponentActionUnit::checkForTypeOfPrerequisite(), clearControlPanelAlarm(), copyControlPanelAlarm(), getAlarmFromMap(), initiateAllAlarms(), readInfoFromFile(), retrieveControlPanelAlarmFromFile(), and ControlPanel::seedFromMaster().
| std::vector<std::unique_ptr<AlarmParameter> > ControlPanelAlarm::alarm_parameter_value_array |
Definition at line 41 of file ControlPanelAlarm.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), Operator::checkCompletenessOfSystemDecomposition(), ControlPanel::checkForNewAlarms(), clearControlPanelAlarm(), copyControlPanelAlarm(), getTotalNumberOfAlarms(), load(), outputParametersLabelsToFile(), outputParametersUnitsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveControlPanelAlarmFromFile(), save(), saveControlPanelAlarmToFile(), ControlPanel::seedFromMaster(), and updateAllDisplayedAlarmState().
| std::vector<std::unique_ptr<AlarmTwoParameterDifference> > ControlPanelAlarm::alarm_value_difference_array |
Definition at line 43 of file ControlPanelAlarm.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), Operator::checkCompletenessOfSystemDecomposition(), ControlPanel::checkForNewAlarms(), clearControlPanelAlarm(), copyControlPanelAlarm(), getTotalNumberOfAlarms(), load(), outputParametersLabelsToFile(), outputParametersUnitsToFile(), outputParametersValuesToFile(), readInfoFromFile(), retrieveControlPanelAlarmFromFile(), save(), saveControlPanelAlarmToFile(), ControlPanel::seedFromMaster(), and updateAllDisplayedAlarmState().