|
ADS-IDAC Engine 5.0.0
|
#include <AlarmComponent.h>
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| int | component_state_that_activate_the_alarm |
Friends | |
| class | boost::serialization::access |
Definition at line 15 of file AlarmComponent.h.
| AlarmComponent::AlarmComponent | ( | ) |
Definition at line 19 of file AlarmComponent.cpp.
References AlarmComponent, component_state_that_activate_the_alarm, SystemAlarm::setTypeOfAlarm(), and sim::State::Unknown.
|
virtual |
Definition at line 25 of file AlarmComponent.cpp.
| void AlarmComponent::copyAlarmComponent | ( | AlarmComponent & | _ac | ) |
Definition at line 126 of file AlarmComponent.cpp.
References component_state_that_activate_the_alarm, AlarmControlPanelUnit::copyAlarmControlPanelUnit(), and getComponentStateThatActivateTheAlarm().
| int AlarmComponent::getComponentStateThatActivateTheAlarm | ( | ) |
Definition at line 30 of file AlarmComponent.cpp.
References component_state_that_activate_the_alarm.
Referenced by copyAlarmComponent().
| void AlarmComponent::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 31 of file AlarmComponent.cpp.
References SimulationContext::Branch_center, sim::State::Close, component_state_that_activate_the_alarm, g_sim, AlarmElement::getAlarmName(), NoKB, sim::State::Off, sim::State::On, sim::State::Open, r5pars_, AlarmControlPanelUnit::readInfoFromFile(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
| void AlarmComponent::retrieveAlarmComponentFromFile | ( | std::ifstream & | ) |
Definition at line 134 of file AlarmComponent.cpp.
References component_state_that_activate_the_alarm, and AlarmControlPanelUnit::retrieveAlarmControlPanelUnitFromFile().
| void AlarmComponent::saveAlarmComponentToFile | ( | std::ofstream & | ) |
Definition at line 130 of file AlarmComponent.cpp.
References component_state_that_activate_the_alarm, and AlarmControlPanelUnit::saveAlarmControlPanelUnitToFile().
|
inlineprivate |
Definition at line 32 of file AlarmComponent.h.
| void AlarmComponent::setComponentStateThatActivateTheAlarm | ( | int | state | ) |
Definition at line 29 of file AlarmComponent.cpp.
References component_state_that_activate_the_alarm.
| int AlarmComponent::updateDisplayedAlarmState | ( | ControlPanelDisplay & | _cpd | ) |
Definition at line 60 of file AlarmComponent.cpp.
References AdsSimErr, sim::State::Auto, SimulationContext::Branch_center, component_state_that_activate_the_alarm, g_sim, AlarmElement::getAlarmName(), AlarmElement::getCorrespondingIndicatorName(), AlarmElement::getDisplayedAlarmState(), AlarmControlPanelUnit::getDisplayedAlarmStateWhenFail(), DisplayComponentState::getDisplayedComponentOperationalState(), AlarmElement::getDisplayedOperatorControlState(), ControlPanelDisplay::getDisplayFromMap(), AlarmControlPanelUnit::getFuncationalState(), AlarmControlPanelUnit::getPtrToCorrespondingIndicator(), sim::State::Off, sim::State::On, r5pars_, sim::State::Reset, AlarmElement::setDisplayedAlarmState(), AlarmControlPanelUnit::setPtrToCorrespondingIndicator(), BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), AlarmElement::setTimeAtWhichThisAlarmIsActivated(), and sim::State::Succeed.
Referenced by ControlPanelAlarm::initiateAllAlarms().
|
friend |
Definition at line 30 of file AlarmComponent.h.
|
private |
Definition at line 28 of file AlarmComponent.h.
Referenced by AlarmComponent(), copyAlarmComponent(), getComponentStateThatActivateTheAlarm(), readInfoFromFile(), retrieveAlarmComponentFromFile(), saveAlarmComponentToFile(), setComponentStateThatActivateTheAlarm(), and updateDisplayedAlarmState().