|
ADS-IDAC Engine 5.0.0
|
#include <ControlElement.h>
Private Attributes | |
| std::string | display_name |
| std::string | corresponding_component_name_of_control |
| double | nominal_time_required_to_act_on_this_control |
| double | time_ratio_for_action |
| double | value_for_on_or_fully_open |
| double | value_for_off_or_fully_close |
| double | value_for_neutral_state |
| double | time_at_which_this_control_is_activated |
| double | control_value |
Friends | |
| class | boost::serialization::access |
Definition at line 19 of file ControlElement.h.
| ControlElement::ControlElement | ( | ) |
Definition at line 17 of file ControlElement.cpp.
References control_value, corresponding_component_name_of_control, display_name, nominal_time_required_to_act_on_this_control, r5pars_, time_at_which_this_control_is_activated, time_ratio_for_action, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.
|
virtual |
Definition at line 30 of file ControlElement.cpp.
| bool ControlElement::checkIfIsIdenticalControlElement | ( | ControlElement & | _ce | ) |
Definition at line 76 of file ControlElement.cpp.
References control_value, display_name, getControlValue(), getDisplayName(), getTimeAtWhichThisControlIsActivated(), and time_at_which_this_control_is_activated.
Referenced by MentalControl::checkIfIsIdenticalMentalControl().
| void ControlElement::copyControlElement | ( | ControlElement & | _ce | ) |
Definition at line 52 of file ControlElement.cpp.
References control_value, corresponding_component_name_of_control, display_name, getControlValue(), getCorrespondingComponentNameOfControl(), getDisplayName(), getNominalTimeRequiredToActOnThisControl(), getTimeAtWhichThisControlIsActivated(), getTimeRatioForAction(), getValueForNeutralState(), getValueForOffOrFullyClose(), getValueForOnOrFullyOpen(), nominal_time_required_to_act_on_this_control, time_at_which_this_control_is_activated, time_ratio_for_action, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.
Referenced by BranchSupportSystemAction::copyBranchSupportSystemAction(), BranchSystemAction::copyBranchSystemAction(), CommunicationControlCommand::copyCommunicationControlCommand(), CommunicationControlReport::copyCommunicationControlReport(), MentalControl::copyMentalControl(), SystemControl::copySystemControl(), and MentalControl::MentalControl().
| double ControlElement::getAdjustedTimeRequiredToPerformTheAction | ( | ) |
Definition at line 86 of file ControlElement.cpp.
References nominal_time_required_to_act_on_this_control, and time_ratio_for_action.
Referenced by BranchSupportSystemAction::saveInfoToFile(), and BranchSystemAction::saveInfoToFile().
| double ControlElement::getControlValue | ( | ) |
Definition at line 64 of file ControlElement.cpp.
References control_value.
Referenced by checkIfIsIdenticalControlElement(), copyControlElement(), ProcedureStepUnit::executeAction(), ManeuverActionUnit::executeManeuverControl(), ProcedureStepUnit::executeNonResponseAction(), ControlPanel::executeRequestToPlant(), OperatorAT::infoChunking(), OperatorDM::infoChunking(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), BranchAction::saveInfoToFile(), BranchSupportSystemAction::saveInfoToFile(), BranchSystemAction::saveInfoToFile(), DiagnosisActionUnit::setPtrToHighPriorityAction(), and BranchAction::translateMessage().
| string ControlElement::getCorrespondingComponentNameOfControl | ( | ) |
Definition at line 41 of file ControlElement.cpp.
References corresponding_component_name_of_control.
Referenced by copyControlElement(), ControlState::initiateDisplayedControlState(), ControlValue::performControl(), ControlState::performDisplayedControlState(), ControlState::performValueControl(), BranchSupportSystemAction::translateMessage(), BranchSystemAction::translateMessage(), ControlState::updateDisplayedControlState(), and ControlValue::updateDisplayedControlValue().
| string ControlElement::getDisplayName | ( | ) |
Definition at line 40 of file ControlElement.cpp.
References display_name.
Referenced by ShortTermMemory::checkAndGenerateInfoChunkMentalForRelatedAction(), checkIfIsIdenticalControlElement(), copyControlElement(), ControlState::readInfoFromFile(), BranchSupportSystemAction::saveInfoToFile(), BranchSystemAction::saveInfoToFile(), SupportSystemReliabilityUnit::saveSupportSystemUnitToFile(), BranchSupportSystemAction::translateMessage(), and BranchSystemAction::translateMessage().
| double ControlElement::getNominalTimeRequiredToActOnThisControl | ( | ) |
Definition at line 42 of file ControlElement.cpp.
References nominal_time_required_to_act_on_this_control.
Referenced by copyControlElement().
| double ControlElement::getTimeAtWhichThisControlIsActivated | ( | ) |
Definition at line 51 of file ControlElement.cpp.
References time_at_which_this_control_is_activated.
Referenced by checkIfIsIdenticalControlElement(), and copyControlElement().
| double ControlElement::getTimeRatioForAction | ( | ) |
Definition at line 85 of file ControlElement.cpp.
References time_ratio_for_action.
Referenced by copyControlElement().
| double ControlElement::getValueForNeutralState | ( | ) |
Definition at line 45 of file ControlElement.cpp.
References value_for_neutral_state.
Referenced by copyControlElement(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), and HWReliabilityModule::readSystemReliabilityInfoFromFile().
| double ControlElement::getValueForOffOrFullyClose | ( | ) |
Definition at line 44 of file ControlElement.cpp.
References value_for_off_or_fully_close.
Referenced by copyControlElement(), ProcedureStepUnit::executeAction(), ProcedureStepUnit::executeNonResponseAction(), ControlState::initiateDisplayedControlState(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), ControlState::performDisplayedControlState(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), HWReliabilityModule::readSystemReliabilityInfoFromFile(), and ControlState::updateDisplayedControlState().
| double ControlElement::getValueForOnOrFullyOpen | ( | ) |
Definition at line 43 of file ControlElement.cpp.
References value_for_on_or_fully_open.
Referenced by copyControlElement(), ProcedureStepUnit::executeAction(), ProcedureStepUnit::executeNonResponseAction(), ControlState::initiateDisplayedControlState(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), ControlState::performDisplayedControlState(), HWReliabilityModule::readSystemOperationReliabilityInfoFromFile(), HWReliabilityModule::readSystemReliabilityFTInfoFromFile(), HWReliabilityModule::readSystemReliabilityInfoFromFile(), and ControlState::updateDisplayedControlState().
| void ControlElement::readInfoFromFile | ( | std::ifstream & | ) |
Definition at line 46 of file ControlElement.cpp.
References corresponding_component_name_of_control, display_name, nominal_time_required_to_act_on_this_control, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.
Referenced by ControlState::readInfoFromFile(), and ControlValue::readInfoFromFile().
| void ControlElement::retrieveControlElementFromFile | ( | std::ifstream & | ) |
Definition at line 70 of file ControlElement.cpp.
References control_value, corresponding_component_name_of_control, display_name, nominal_time_required_to_act_on_this_control, time_at_which_this_control_is_activated, time_ratio_for_action, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.
Referenced by BranchSupportSystemAction::retrieveBranchSupportSystemActionFromFile(), BranchSystemAction::retrieveBranchSystemActionFromFile(), CommunicationControlCommand::retrieveCommunicationControlCommandFromFile(), CommunicationControlReport::retrieveCommunicationControlReportFromFile(), MentalControl::retrieveMentalControlFromFile(), and SystemControl::retrieveSystemControlFromFile().
| void ControlElement::saveControlElementToFile | ( | std::ofstream & | ) |
Definition at line 65 of file ControlElement.cpp.
References control_value, corresponding_component_name_of_control, display_name, nominal_time_required_to_act_on_this_control, time_at_which_this_control_is_activated, time_ratio_for_action, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.
Referenced by BranchSupportSystemAction::saveBranchSupportSystemActionToFile(), BranchSystemAction::saveBranchSystemActionToFile(), CommunicationControlCommand::saveCommunicationControlCommandToFile(), CommunicationControlReport::saveCommunicationControlReportToFile(), MentalControl::saveMentalControlToFile(), and SystemControl::saveSystemControlToFile().
|
inline |
Definition at line 50 of file ControlElement.h.
References control_value, corresponding_component_name_of_control, display_name, nominal_time_required_to_act_on_this_control, time_at_which_this_control_is_activated, time_ratio_for_action, value_for_neutral_state, value_for_off_or_fully_close, and value_for_on_or_fully_open.
| void ControlElement::setControlValue | ( | double | x | ) |
Definition at line 63 of file ControlElement.cpp.
References control_value.
Referenced by InitiatingEventController::checkAndExecuteInitiatingEvent(), ProcedureStepUnit::executeAction(), ManeuverActionUnit::executeManeuverControl(), ProcedureStepUnit::executeNonResponseAction(), SystemControl::initiateControlValue(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), ControlValue::performControl(), and ControlState::performValueControl().
| void ControlElement::setCorrespondingComponentNameOfControl | ( | std::string | ) |
Definition at line 35 of file ControlElement.cpp.
References corresponding_component_name_of_control.
Referenced by InitiatingEventController::checkAndExecuteInitiatingEvent().
| void ControlElement::setDisplayName | ( | std::string | ) |
Definition at line 34 of file ControlElement.cpp.
References display_name.
Referenced by InitiatingEventController::checkAndExecuteInitiatingEvent(), ManeuverActionUnit::executeManeuverControl(), and ControlPanel::executeRequestToPlant().
| void ControlElement::setNominalTimeRequiredToActOnThisControl | ( | double | x | ) |
Definition at line 36 of file ControlElement.cpp.
References nominal_time_required_to_act_on_this_control.
| void ControlElement::setTimeAtWhichThisControlIsActivated | ( | double | x | ) |
Definition at line 50 of file ControlElement.cpp.
References time_at_which_this_control_is_activated.
| void ControlElement::setTimeRatioForAction | ( | double | x | ) |
Definition at line 84 of file ControlElement.cpp.
References time_ratio_for_action.
| void ControlElement::setValueForNeutralState | ( | double | x | ) |
Definition at line 39 of file ControlElement.cpp.
References value_for_neutral_state.
| void ControlElement::setValueForOffOrFullyClose | ( | double | x | ) |
Definition at line 38 of file ControlElement.cpp.
References value_for_off_or_fully_close.
| void ControlElement::setValueForOnOrFullyOpen | ( | double | x | ) |
Definition at line 37 of file ControlElement.cpp.
References value_for_on_or_fully_open.
|
friend |
Definition at line 48 of file ControlElement.h.
|
private |
Definition at line 71 of file ControlElement.h.
Referenced by DecisionAction::checkForMatch(), checkIfIsIdenticalControlElement(), ControlElement(), copyControlElement(), getControlValue(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setControlValue().
|
private |
Definition at line 64 of file ControlElement.h.
Referenced by ControlElement(), copyControlElement(), getCorrespondingComponentNameOfControl(), readInfoFromFile(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setCorrespondingComponentNameOfControl().
|
private |
Definition at line 64 of file ControlElement.h.
Referenced by checkIfIsIdenticalControlElement(), ControlElement(), copyControlElement(), getDisplayName(), readInfoFromFile(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setDisplayName().
|
private |
Definition at line 65 of file ControlElement.h.
Referenced by ControlElement(), copyControlElement(), getAdjustedTimeRequiredToPerformTheAction(), getNominalTimeRequiredToActOnThisControl(), readInfoFromFile(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setNominalTimeRequiredToActOnThisControl().
|
private |
Definition at line 70 of file ControlElement.h.
Referenced by checkIfIsIdenticalControlElement(), ControlElement(), copyControlElement(), getTimeAtWhichThisControlIsActivated(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setTimeAtWhichThisControlIsActivated().
|
private |
Definition at line 66 of file ControlElement.h.
Referenced by ControlElement(), copyControlElement(), getAdjustedTimeRequiredToPerformTheAction(), getTimeRatioForAction(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setTimeRatioForAction().
|
private |
Definition at line 69 of file ControlElement.h.
Referenced by ControlElement(), copyControlElement(), getValueForNeutralState(), readInfoFromFile(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setValueForNeutralState().
|
private |
Definition at line 68 of file ControlElement.h.
Referenced by ControlElement(), copyControlElement(), getValueForOffOrFullyClose(), readInfoFromFile(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setValueForOffOrFullyClose().
|
private |
Definition at line 67 of file ControlElement.h.
Referenced by ControlElement(), copyControlElement(), getValueForOnOrFullyOpen(), readInfoFromFile(), retrieveControlElementFromFile(), saveControlElementToFile(), serialize(), and setValueForOnOrFullyOpen().