14#include <boost/serialization/export.hpp>
16#include "../Branch/BranchGoal.h"
17#include "../Branch/BranchStrategy.h"
18#include "../Branch/BranchSubGoal.h"
19#include "../Branch/BranchDiagnosis.h"
20#include "../Branch/BranchActionObjective.h"
21#include "../Branch/BranchActionPack.h"
22#include "../Branch/BranchAction.h"
23#include "../Branch/BranchExpectedAlarmState.h"
24#include "../Branch/BranchExpectedComponentState.h"
25#include "../Branch/BranchExpectedParameterTrend.h"
26#include "../Branch/BranchExpectedParameterValue.h"
27#include "../Branch/BranchProcedureStep.h"
28#include "../Branch/BranchSystemAction.h"
29#include "../Branch/BranchSystemAlarmState.h"
30#include "../Branch/BranchInfoGatherMode.h"
31#include "../CalculationAid/Timer.h"
32#include "../Branch/BranchExpectedMentalBelief.h"
33#include "../Branch/BranchScannedParameter.h"
34#include "../Branch/BranchExpectedSupportSystemState.h"
38#include <boost/serialization/list.hpp>
39#include <boost/serialization/unique_ptr.hpp>
40#include <boost/serialization/serialization.hpp>
41#include <boost/archive/text_oarchive.hpp>
42#include <boost/archive/text_iarchive.hpp>
51 void addGoal(
const std::shared_ptr<BranchGoal> &,
int);
52 void addStrategy(
const std::shared_ptr<BranchStrategy> &,
int);
53 void addSubGoal(
const std::shared_ptr<BranchSubGoal> &,
int);
54 void addDiagnosis(
const std::shared_ptr<BranchDiagnosis> &,
int);
56 void addActionPack(
const std::shared_ptr<BranchActionPack> &,
int);
57 void addAction(
const std::shared_ptr<BranchAction> &,
int);
68 void addSSReliability(
const std::shared_ptr<BranchSupportSystemAction> &,
int);
69 void addNewAlarm(
const std::shared_ptr<BranchSystemAlarmState> &,
int);
70 void addMentalBelief(
const std::shared_ptr<BranchExpectedMentalBelief> &,
int);
85 std::list<std::unique_ptr<CommandControlUnit>>
commands;
89 template<
class Archive>
90 void serialize(Archive & ar,
const unsigned int version) {
void addNewAlarm(const std::shared_ptr< BranchSystemAlarmState > &, int)
void addSubGoal(const std::shared_ptr< BranchSubGoal > &, int)
void addExpectedParameterTrend(const std::shared_ptr< BranchExpectedParameterTrend > &, int)
void addDiagnosis(const std::shared_ptr< BranchDiagnosis > &, int)
void addActionObjective(const std::shared_ptr< BranchActionObjective > &, int)
void sendInfoToCommunicationPlace()
void addExpectedParameterValue(const std::shared_ptr< BranchExpectedParameterValue > &, int)
void reduceRemainingTime(double)
void addActionPack(const std::shared_ptr< BranchActionPack > &, int)
void addExpectedComponentState(const std::shared_ptr< BranchExpectedComponentState > &, int)
void clearCommandControlCenter()
void copyCommandControlCenterToRestartInfo(CommandControlCenter &)
void clearCommandControlCenteFromSimulation()
void addExpectedSupportSystemState(const std::shared_ptr< BranchExpectedSupportSystemState > &, int)
virtual ~CommandControlCenter()
void serialize(Archive &ar, const unsigned int version)
std::list< std::unique_ptr< CommandControlUnit > > commands_residual
void addSSReliability(const std::shared_ptr< BranchSupportSystemAction > &, int)
void clearCommandControlCenteFromRestartInfo()
void addHWReliability(const std::shared_ptr< BranchSystemAction > &, int)
void addAction(const std::shared_ptr< BranchAction > &, int)
void displayInformation(std::string strInformation)
std::list< std::unique_ptr< CommandControlUnit > > commands
void saveCommandControlCenterToFile(std::ofstream &)
void addExpectedAlarmState(const std::shared_ptr< BranchExpectedAlarmState > &, int)
friend class boost::serialization::access
void copyCommandControlCenterFromRestartInfo(CommandControlCenter &)
void retrieveCommandControlCenterFromFile(std::ifstream &)
void addMentalBelief(const std::shared_ptr< BranchExpectedMentalBelief > &, int)
void addExpectedParameterDifference(const std::shared_ptr< BranchExpectedParameterDifference > &, int)
void clearCommandControlCenteForRestart()
void addStrategy(const std::shared_ptr< BranchStrategy > &, int)
void clearCommandControlCentePointer()
void addInstinctiveResponseProcedure(const std::shared_ptr< BranchProcedureStep > &, int)
void addScannedParameter(const std::shared_ptr< BranchScannedParameter > &, int)
void addInfoGatherMode(const std::shared_ptr< BranchInfoGatherMode > &, int)
void addProcedureStep(const std::shared_ptr< BranchProcedureStep > &, int)
void addGoal(const std::shared_ptr< BranchGoal > &, int)