23 goal = make_shared<BranchGoal>();
28 strategy = make_shared<BranchStrategy>();
33 subgoal = make_shared<BranchSubGoal>();
38 diagnosis = make_shared<BranchDiagnosis>();
53 action = make_shared<BranchAction>();
58 alarm_state = make_shared<BranchExpectedAlarmState>();
113 new_alarm = make_shared<BranchSystemAlarmState>();
163 fout <<
"CommandControlUnit\n";
169 goal->saveBranchGoalToFile(fout);
175 strategy->saveBranchStrategyToFile(fout);
181 subgoal->saveBranchSubGoalToFile(fout);
187 diagnosis->saveBranchDiagnosisToFile(fout);
205 action->saveBranchActionToFile(fout);
211 alarm_state->saveBranchExpectedAlarmStateToFile(fout);
277 new_alarm->saveBranchSystemAlarmStateToFile(fout);
305 goal = make_shared<BranchGoal>();
306 goal->retrieveBranchGoalFromFile(fin);
310 strategy = make_shared<BranchStrategy>();
311 strategy->retrieveBranchStrategyFromFile(fin);
315 subgoal = make_shared<BranchSubGoal>();
316 subgoal->retrieveBranchSubGoalFromFile(fin);
320 diagnosis = make_shared<BranchDiagnosis>();
321 diagnosis->retrieveBranchDiagnosisFromFile(fin);
331 action_pack->retrieveBranchActionPackFromFile(fin);
335 action = make_shared<BranchAction>();
336 action->retrieveBranchActionFromFile(fin);
340 alarm_state = make_shared<BranchExpectedAlarmState>();
341 alarm_state->retrieveBranchExpectedAlarmStateFromFile(fin);;
395 new_alarm = make_shared<BranchSystemAlarmState>();
396 new_alarm->retrieveBranchSystemAlarmStateFromFile(fin);
401 mental_belief->retrieveBranchExpectedMentalBeliefFromFile(fin);
std::shared_ptr< BranchStrategy > strategy
std::shared_ptr< BranchProcedureStep > procedure_step
std::shared_ptr< BranchExpectedComponentState > component_state
std::shared_ptr< BranchProcedureStep > instinctive_response_procedure
std::shared_ptr< BranchGoal > goal
virtual ~CommandControlUnit()
void saveCommandControlUnitToFile(std::ofstream &)
void copyCommandControlUnit(CommandControlUnit &)
std::shared_ptr< BranchScannedParameter > scanned_parameter
std::shared_ptr< BranchSubGoal > subgoal
std::shared_ptr< BranchExpectedSupportSystemState > support_system_state
void setAssociatedBranchID(int)
std::shared_ptr< BranchExpectedParameterValue > parameter_value
std::shared_ptr< BranchExpectedAlarmState > alarm_state
int getAssociatedBranchID()
void retrieveCommandControlUnitFromFile(std::ifstream &)
std::shared_ptr< BranchActionObjective > action_objective
std::shared_ptr< BranchAction > action
std::shared_ptr< BranchSystemAction > HW_reliability
std::shared_ptr< BranchExpectedParameterDifference > parameter_difference
std::shared_ptr< BranchInfoGatherMode > info_gather_mode
std::shared_ptr< BranchExpectedMentalBelief > mental_belief
void clearCommandControlUnit()
std::shared_ptr< BranchDiagnosis > diagnosis
std::shared_ptr< BranchSupportSystemAction > SS_reliability
std::shared_ptr< BranchSystemAlarmState > new_alarm
std::shared_ptr< BranchExpectedParameterTrend > parameter_trend
std::shared_ptr< BranchActionPack > action_pack
void saveStateOfActivationToFile(std::ofstream &)
void retrieveStateOfActivationFromFile(std::ifstream &)
void copyStateOfActivation(StateOfActivation &)
void saveTimerToFile(std::ofstream &)
void retrieveTimerFromFile(std::ifstream &)