|
ADS-IDAC Engine 5.0.0
|
#include <SystemControl.h>
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| DisplayType | type_of_control |
| int | functional_state |
| InteractiveVariable * | ptr_to_corresponding_interactive_variable |
Friends | |
| class | boost::serialization::access |
Definition at line 19 of file SystemControl.h.
| SystemControl::SystemControl | ( | ) |
Definition at line 22 of file SystemControl.cpp.
References functional_state, sim::None, ptr_to_corresponding_interactive_variable, sim::State::Succeed, and type_of_control.
|
virtual |
Definition at line 29 of file SystemControl.cpp.
| void SystemControl::copySystemControl | ( | SystemControl & | _sc | ) |
Definition at line 41 of file SystemControl.cpp.
References ControlElement::copyControlElement(), Probability::copyProbability(), functional_state, getFunctionalState(), getTypeOfControl(), and type_of_control.
Referenced by ControlState::copyControlState(), and ControlValue::copyControlValue().
| int SystemControl::getFunctionalState | ( | ) |
Definition at line 37 of file SystemControl.cpp.
References functional_state.
Referenced by copySystemControl(), ManeuverActionUnit::executeManeuverControl(), ControlPanel::executeRequestToPlant(), ControlState::performDisplayedControlState(), DiagnosisActionUnit::setPtrToHighPriorityAction(), BranchAction::translateMessage(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().
| InteractiveVariable * SystemControl::getPtrToCorrespondingInteractiveVariable | ( | ) |
Definition at line 39 of file SystemControl.cpp.
References ptr_to_corresponding_interactive_variable.
Referenced by initiateControlValue(), ControlState::initiateDisplayedControlState(), ControlValue::performControl(), ControlState::performDisplayedControlState(), ControlState::performValueControl(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().
| DisplayType SystemControl::getTypeOfControl | ( | ) |
Definition at line 38 of file SystemControl.cpp.
References type_of_control.
Referenced by copySystemControl(), ProcedureStepUnit::executeAction(), ProcedureStepUnit::executeNonResponseAction(), ControlPanel::executeRequestToPlant(), and DiagnosisActionModule::onceThroughProcessForReasoningStrategy().
| void SystemControl::initiateControlValue | ( | ) |
Definition at line 62 of file SystemControl.cpp.
References AdsSimErr, SimulationContext::Branch_center, g_sim, SystemModule::getComponentFromSystemMap(), InteractiveVariable::getDisplayValue(), THElement::getName(), getPtrToCorrespondingInteractiveVariable(), SimulationContext::Plant, r5pars_, ControlElement::setControlValue(), setPtrToCorrespondingInteractiveVariable(), BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().
| void SystemControl::retrieveSystemControlFromFile | ( | std::ifstream & | fin | ) |
Definition at line 55 of file SystemControl.cpp.
References functional_state, ControlElement::retrieveControlElementFromFile(), Probability::retrieveProbabilityFromFile(), and type_of_control.
Referenced by ControlState::retrieveControlStateFromFile(), and ControlValue::retrieveControlValueFromFile().
| void SystemControl::saveSystemControlToFile | ( | std::ofstream & | fout | ) |
Definition at line 48 of file SystemControl.cpp.
References functional_state, ControlElement::saveControlElementToFile(), Probability::saveProbabilityToFile(), and type_of_control.
Referenced by ControlState::saveControlStateToFile(), and ControlValue::saveControlValueToFile().
|
inlineprivate |
Definition at line 43 of file SystemControl.h.
References functional_state.
| void SystemControl::setFunctionalState | ( | int | n | ) |
Definition at line 34 of file SystemControl.cpp.
References functional_state.
Referenced by ControlPanel::executeRequestToPlant().
| void SystemControl::setPtrToCorrespondingInteractiveVariable | ( | InteractiveVariable * | iv | ) |
Definition at line 36 of file SystemControl.cpp.
References ptr_to_corresponding_interactive_variable.
Referenced by initiateControlValue(), ControlState::initiateDisplayedControlState(), ControlValue::performControl(), ControlState::performDisplayedControlState(), ControlState::performValueControl(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().
| void SystemControl::setTypeOfControl | ( | DisplayType | n | ) |
Definition at line 35 of file SystemControl.cpp.
References type_of_control.
Referenced by ControlState::ControlState(), and ControlValue::ControlValue().
|
friend |
Definition at line 40 of file SystemControl.h.
|
private |
Definition at line 36 of file SystemControl.h.
Referenced by copySystemControl(), getFunctionalState(), retrieveSystemControlFromFile(), saveSystemControlToFile(), serialize(), setFunctionalState(), and SystemControl().
|
private |
Definition at line 37 of file SystemControl.h.
Referenced by getPtrToCorrespondingInteractiveVariable(), setPtrToCorrespondingInteractiveVariable(), and SystemControl().
|
private |
Definition at line 35 of file SystemControl.h.
Referenced by copySystemControl(), getTypeOfControl(), retrieveSystemControlFromFile(), saveSystemControlToFile(), setTypeOfControl(), and SystemControl().