|
ADS-IDAC Engine 5.0.0
|
#include <CommandControlCenter.h>
Private Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| std::list< std::unique_ptr< CommandControlUnit > > | commands |
| std::list< std::unique_ptr< CommandControlUnit > > | commands_residual |
Friends | |
| class | boost::serialization::access |
Definition at line 47 of file CommandControlCenter.h.
| CommandControlCenter::CommandControlCenter | ( | ) |
Definition at line 28 of file CommandControlCenter.cpp.
|
virtual |
Definition at line 32 of file CommandControlCenter.cpp.
| void CommandControlCenter::addAction | ( | const std::shared_ptr< BranchAction > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 77 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addActionObjective | ( | const std::shared_ptr< BranchActionObjective > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 63 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addActionPack | ( | const std::shared_ptr< BranchActionPack > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 70 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addDiagnosis | ( | const std::shared_ptr< BranchDiagnosis > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 56 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addExpectedAlarmState | ( | const std::shared_ptr< BranchExpectedAlarmState > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 84 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addExpectedComponentState | ( | const std::shared_ptr< BranchExpectedComponentState > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 91 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addExpectedParameterDifference | ( | const std::shared_ptr< BranchExpectedParameterDifference > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 119 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addExpectedParameterTrend | ( | const std::shared_ptr< BranchExpectedParameterTrend > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 105 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addExpectedParameterValue | ( | const std::shared_ptr< BranchExpectedParameterValue > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 112 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addExpectedSupportSystemState | ( | const std::shared_ptr< BranchExpectedSupportSystemState > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 98 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addGoal | ( | const std::shared_ptr< BranchGoal > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 35 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addHWReliability | ( | const std::shared_ptr< BranchSystemAction > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 163 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addInfoGatherMode | ( | const std::shared_ptr< BranchInfoGatherMode > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 156 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addInstinctiveResponseProcedure | ( | const std::shared_ptr< BranchProcedureStep > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 149 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addMentalBelief | ( | const std::shared_ptr< BranchExpectedMentalBelief > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 126 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addNewAlarm | ( | const std::shared_ptr< BranchSystemAlarmState > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 177 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addProcedureStep | ( | const std::shared_ptr< BranchProcedureStep > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 142 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addScannedParameter | ( | const std::shared_ptr< BranchScannedParameter > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 134 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addSSReliability | ( | const std::shared_ptr< BranchSupportSystemAction > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 170 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addStrategy | ( | const std::shared_ptr< BranchStrategy > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 42 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::addSubGoal | ( | const std::shared_ptr< BranchSubGoal > & | _pt, |
| int | _associated_branch_id | ||
| ) |
Definition at line 49 of file CommandControlCenter.cpp.
References commands.
Referenced by BranchProbability::sendBranchInfoToCommandCenter().
| void CommandControlCenter::clearCommandControlCenteForRestart | ( | ) |
Definition at line 552 of file CommandControlCenter.cpp.
References clearCommandControlCentePointer().
Referenced by AdsidacCallback::initiationForRestart().
| void CommandControlCenter::clearCommandControlCenteFromRestartInfo | ( | ) |
Definition at line 567 of file CommandControlCenter.cpp.
References clearCommandControlCenter().
Referenced by RestartNodeInfo::~RestartNodeInfo().
| void CommandControlCenter::clearCommandControlCenteFromSimulation | ( | ) |
Definition at line 564 of file CommandControlCenter.cpp.
References clearCommandControlCentePointer().
Referenced by main().
| void CommandControlCenter::clearCommandControlCentePointer | ( | ) |
Definition at line 555 of file CommandControlCenter.cpp.
References commands, and commands_residual.
Referenced by clearCommandControlCenteForRestart(), and clearCommandControlCenteFromSimulation().
| void CommandControlCenter::clearCommandControlCenter | ( | ) |
Definition at line 560 of file CommandControlCenter.cpp.
References commands, and commands_residual.
Referenced by clearCommandControlCenteFromRestartInfo().
| void CommandControlCenter::copyCommandControlCenterFromRestartInfo | ( | CommandControlCenter & | _cc | ) |
Definition at line 585 of file CommandControlCenter.cpp.
References commands_residual.
Referenced by AdsidacCallback::initiationForRestart().
| void CommandControlCenter::copyCommandControlCenterToRestartInfo | ( | CommandControlCenter & | _cc | ) |
Definition at line 570 of file CommandControlCenter.cpp.
References commands, commands_residual, and sim::State::Succeed.
Referenced by RestartNodeInfo::saveRestartNodeInfo().
| void CommandControlCenter::displayInformation | ( | std::string | strInformation | ) |
Definition at line 639 of file CommandControlCenter.cpp.
References r5pars_.
Referenced by Scheduler::checkForTerminatingCurrentSequence(), OperatorDM::infoChunking(), DiagnosisActionModule::onceThroughProcessForReasoningStrategy(), ProcedureStep::oneThroughProcessForInstinctiveResponseProcedure(), ProcedureStep::oneThroughProcessForProcedureStep(), sendInfoToCommunicationPlace(), and DiagnosisActionUnit::setPtrToHighPriorityAction().
| void CommandControlCenter::reduceRemainingTime | ( | double | x | ) |
Definition at line 185 of file CommandControlCenter.cpp.
References commands, and commands_residual.
Referenced by sendInfoToCommunicationPlace().
| void CommandControlCenter::retrieveCommandControlCenterFromFile | ( | std::ifstream & | ) |
Definition at line 602 of file CommandControlCenter.cpp.
References SimulationContext::Branch_center, commands_residual, g_sim, NoKB, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and sim::State::Succeed.
| void CommandControlCenter::saveCommandControlCenterToFile | ( | std::ofstream & | ) |
Definition at line 592 of file CommandControlCenter.cpp.
References commands, and commands_residual.
| void CommandControlCenter::sendInfoToCommunicationPlace | ( | ) |
Definition at line 195 of file CommandControlCenter.cpp.
References BranchUnit::action, BranchUnit::action_objective, BranchUnit::action_pack, AnalysisInfoContainer::addRecord(), BranchUnit::alarm_state, SimulationContext::Aux_info, commands, commands_residual, SimulationContext::Communication_place, BranchUnit::component_state, BranchUnit::diagnosis, displayInformation(), g_sim, BranchUnit::goal, CommunicationPlace::HW_reliability, BranchUnit::info_gather_mode, BranchUnit::instinctive_response_procedure, BranchUnit::mental_belief, CommunicationPlace::new_alarm, sim::None, sim::State::On, BranchUnit::parameter_difference, BranchUnit::parameter_trend, BranchUnit::parameter_value, sim::Source::Plant, BranchUnit::procedure_step, r5pars_, reduceRemainingTime(), BranchUnit::scanned_parameter, CommunicationPlace::SS_reliability, BranchUnit::strategy, BranchUnit::subgoal, sim::State::Succeed, and BranchUnit::support_system_state.
Referenced by AdsidacCallback::onEvaluationPoint().
|
inlineprivate |
Definition at line 90 of file CommandControlCenter.h.
References commands, and commands_residual.
|
friend |
Definition at line 88 of file CommandControlCenter.h.
|
private |
Definition at line 85 of file CommandControlCenter.h.
Referenced by addAction(), addActionObjective(), addActionPack(), addDiagnosis(), addExpectedAlarmState(), addExpectedComponentState(), addExpectedParameterDifference(), addExpectedParameterTrend(), addExpectedParameterValue(), addExpectedSupportSystemState(), addGoal(), addHWReliability(), addInfoGatherMode(), addInstinctiveResponseProcedure(), addMentalBelief(), addNewAlarm(), addProcedureStep(), addScannedParameter(), addSSReliability(), addStrategy(), addSubGoal(), clearCommandControlCentePointer(), clearCommandControlCenter(), copyCommandControlCenterToRestartInfo(), reduceRemainingTime(), saveCommandControlCenterToFile(), sendInfoToCommunicationPlace(), and serialize().
|
private |
Definition at line 86 of file CommandControlCenter.h.
Referenced by clearCommandControlCentePointer(), clearCommandControlCenter(), copyCommandControlCenterFromRestartInfo(), copyCommandControlCenterToRestartInfo(), reduceRemainingTime(), retrieveCommandControlCenterFromFile(), saveCommandControlCenterToFile(), sendInfoToCommunicationPlace(), and serialize().