|
ADS-IDAC Engine 5.0.0
|
#include <ControlValue.h>
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| double | displayed_control_value |
| double | displayed_control_value_when_fail |
Friends | |
| class | boost::serialization::access |
Definition at line 20 of file ControlValue.h.
| ControlValue::ControlValue | ( | ) |
Definition at line 20 of file ControlValue.cpp.
References ControlValue, displayed_control_value, displayed_control_value_when_fail, and SystemControl::setTypeOfControl().
|
virtual |
Definition at line 27 of file ControlValue.cpp.
| void ControlValue::copyControlValue | ( | ControlValue & | _cv | ) |
Definition at line 94 of file ControlValue.cpp.
References SystemControl::copySystemControl(), displayed_control_value, displayed_control_value_when_fail, getDisplayedControlValue(), and getDisplayedControlValueWhenFail().
| double ControlValue::getDisplayedControlValue | ( | ) |
Definition at line 33 of file ControlValue.cpp.
References displayed_control_value.
Referenced by copyControlValue().
| double ControlValue::getDisplayedControlValueWhenFail | ( | ) |
Definition at line 34 of file ControlValue.cpp.
References displayed_control_value_when_fail.
Referenced by copyControlValue(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), and HWReliabilityModule::readSystemReliabilityInfoFromFile().
| void ControlValue::performControl | ( | SystemModule & | _th, |
| double | _control_value | ||
| ) |
Definition at line 67 of file ControlValue.cpp.
References AdsSimErr, SimulationContext::Branch_center, g_sim, SystemModule::getComponentFromSystemMap(), ControlElement::getCorrespondingComponentNameOfControl(), SystemControl::getPtrToCorrespondingInteractiveVariable(), r5pars_, ControlElement::setControlValue(), setDisplayedControlValue(), InteractiveVariable::setInputValue(), InteractiveVariable::setNeedToInteract(), SystemControl::setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
Referenced by ControlPanel::executeRequestToPlant(), and ControlPanelControl::executeValueControl().
| void ControlValue::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 35 of file ControlValue.cpp.
References displayed_control_value_when_fail, and ControlElement::readInfoFromFile().
| void ControlValue::retrieveControlValueFromFile | ( | std::ifstream & | ) |
Definition at line 103 of file ControlValue.cpp.
References displayed_control_value, displayed_control_value_when_fail, and SystemControl::retrieveSystemControlFromFile().
| void ControlValue::saveControlValueToFile | ( | std::ofstream & | ) |
Definition at line 99 of file ControlValue.cpp.
References displayed_control_value, displayed_control_value_when_fail, and SystemControl::saveSystemControlToFile().
|
inlineprivate |
Definition at line 44 of file ControlValue.h.
References displayed_control_value.
| void ControlValue::setDisplayedControlValue | ( | double | x | ) |
Definition at line 31 of file ControlValue.cpp.
References displayed_control_value.
Referenced by performControl(), and updateDisplayedControlValue().
| void ControlValue::setDisplayedControlValueWhenFail | ( | double | x | ) |
Definition at line 32 of file ControlValue.cpp.
References displayed_control_value_when_fail.
| void ControlValue::updateDisplayedControlValue | ( | SystemModule & | _th, |
| double | _control_value | ||
| ) |
Definition at line 39 of file ControlValue.cpp.
References AdsSimErr, SimulationContext::Branch_center, displayed_control_value, displayed_control_value_when_fail, g_sim, SystemModule::getComponentFromSystemMap(), ControlElement::getCorrespondingComponentNameOfControl(), SystemControl::getFunctionalState(), SystemControl::getPtrToCorrespondingInteractiveVariable(), r5pars_, setDisplayedControlValue(), InteractiveVariable::setInputValue(), SystemControl::setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and sim::State::Succeed.
|
friend |
Definition at line 40 of file ControlValue.h.
|
private |
Definition at line 37 of file ControlValue.h.
Referenced by ControlValue(), copyControlValue(), getDisplayedControlValue(), retrieveControlValueFromFile(), saveControlValueToFile(), serialize(), setDisplayedControlValue(), and updateDisplayedControlValue().
|
private |
Definition at line 37 of file ControlValue.h.
Referenced by ControlValue(), copyControlValue(), getDisplayedControlValueWhenFail(), readInfoFromFile(), retrieveControlValueFromFile(), saveControlValueToFile(), setDisplayedControlValueWhenFail(), and updateDisplayedControlValue().