9#include "../Branch/BranchGoal.h"
10#include "../Branch/BranchStrategy.h"
11#include "../Branch/BranchSubGoal.h"
12#include "../Branch/BranchDiagnosis.h"
13#include "../Branch/BranchActionObjective.h"
14#include "../Branch/BranchActionPack.h"
15#include "../Branch/BranchAction.h"
16#include "../Branch/BranchExpectedAlarmState.h"
17#include "../Branch/BranchExpectedComponentState.h"
18#include "../Branch/BranchExpectedParameterTrend.h"
19#include "../Branch/BranchExpectedParameterValue.h"
20#include "../Branch/BranchExpectedParameterDifference.h"
21#include "../Branch/BranchProcedureStep.h"
22#include "../Branch/BranchSystemAction.h"
23#include "../Branch/BranchSystemAlarmState.h"
24#include "../Branch/BranchInfoGatherMode.h"
25#include "../Branch/BranchExpectedMentalBelief.h"
26#include "../Branch/BranchScannedParameter.h"
27#include "../CalculationAid/Timer.h"
28#include "../ControlPanel/StateOfActivation.h"
29#include "../Branch/BranchExpectedSupportSystemState.h"
30#include "../Branch/BranchSupportSystemAction.h"
32#include <boost/serialization/serialization.hpp>
33#include <boost/serialization/base_object.hpp>
34#include <boost/serialization/unique_ptr.hpp>
35#include <boost/serialization/shared_ptr.hpp>
36#include <boost/serialization/export.hpp>
37#include <boost/archive/text_oarchive.hpp>
38#include <boost/archive/text_iarchive.hpp>
53 std::shared_ptr<BranchGoal>
goal;
59 std::shared_ptr<BranchAction>
action;
77 template<
class Archive>
78 void serialize(Archive & ar,
const unsigned int version)
81 ar & boost::serialization::base_object<Timer>(*
this);
82 ar & boost::serialization::base_object<StateOfActivation>(*
this);
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
void serialize(Archive &ar, const unsigned int version)
std::shared_ptr< BranchExpectedParameterDifference > parameter_difference
std::shared_ptr< BranchInfoGatherMode > info_gather_mode
std::shared_ptr< BranchExpectedMentalBelief > mental_belief
void clearCommandControlUnit()
friend class boost::serialization::access
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