|
ADS-IDAC Engine 5.0.0
|
#include <BranchSupportSystemAction.h>
Private Attributes | |
| int | functional_state |
Definition at line 16 of file BranchSupportSystemAction.h.
| BranchSupportSystemAction::BranchSupportSystemAction | ( | ) |
Definition at line 11 of file BranchSupportSystemAction.cpp.
References functional_state, and sim::State::Unknown.
|
virtual |
Definition at line 14 of file BranchSupportSystemAction.cpp.
| void BranchSupportSystemAction::copyBranchSupportSystemAction | ( | BranchSupportSystemAction & | _bsp | ) |
Definition at line 16 of file BranchSupportSystemAction.cpp.
References Communication::copyCommunication(), ControlElement::copyControlElement(), TimerAndProbability::copyTimerAndProbability(), functional_state, and getFunctionalState().
Referenced by SupportSystemReliabilityModule::checkAndActiveSupportSystemFailure(), BranchRecord::checkAndAddBranchCluster(), and SupportSystemReliabilityUnit::copySupportSystemUnit().
| int BranchSupportSystemAction::getFunctionalState | ( | ) |
Definition at line 60 of file BranchSupportSystemAction.cpp.
References functional_state.
Referenced by copyBranchSupportSystemAction(), and saveInfoToFile().
| void BranchSupportSystemAction::retrieveBranchSupportSystemActionFromFile | ( | std::ifstream & | ) |
Definition at line 67 of file BranchSupportSystemAction.cpp.
References functional_state, Communication::retrieveCommunicationFromFile(), ControlElement::retrieveControlElementFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().
Referenced by SupportSystemReliabilityUnit::retrieveSupportSystemUnitFromFile().
| void BranchSupportSystemAction::saveBranchSupportSystemActionToFile | ( | std::ofstream & | ) |
Definition at line 61 of file BranchSupportSystemAction.cpp.
References functional_state, Communication::saveCommunicationToFile(), ControlElement::saveControlElementToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().
Referenced by SupportSystemReliabilityUnit::saveSupportSystemUnitToFile().
| void BranchSupportSystemAction::saveInfoToFile | ( | std::ostream & | ) |
Definition at line 49 of file BranchSupportSystemAction.cpp.
References sim::Action::Direct, sim::State::Failed, g_sim, ControlElement::getAdjustedTimeRequiredToPerformTheAction(), ControlElement::getControlValue(), ControlElement::getDisplayName(), getFunctionalState(), Communication::getIntendedReceiver(), Probability::getProbability(), Communication::getSender(), ConvertToString::getString(), Communication::getTimeOfCommunication(), sim::None, and SimulationContext::Translator.
|
inline |
Definition at line 31 of file BranchSupportSystemAction.h.
References functional_state.
| void BranchSupportSystemAction::setFunctionalState | ( | int | n | ) |
Definition at line 59 of file BranchSupportSystemAction.cpp.
References functional_state.
Referenced by SupportSystemReliabilityModule::checkAndActiveSupportSystemFailure(), and InitiatingEventController::checkAndExecuteInitiatingEvent().
| string BranchSupportSystemAction::translateMessage | ( | ) |
Definition at line 22 of file BranchSupportSystemAction.cpp.
References sim::State::Control, sim::State::Failed, functional_state, g_sim, ControlElement::getCorrespondingComponentNameOfControl(), ControlElement::getDisplayName(), Communication::getIntendedReceiver(), Probability::getProbability(), Communication::getSender(), ConvertToString::getString(), sim::State::Succeed, and SimulationContext::Translator.
|
private |
Definition at line 42 of file BranchSupportSystemAction.h.
Referenced by BranchSupportSystemAction(), copyBranchSupportSystemAction(), getFunctionalState(), retrieveBranchSupportSystemActionFromFile(), saveBranchSupportSystemActionToFile(), serialize(), setFunctionalState(), and translateMessage().