← Documentation
ADS-IDAC Engine 5.0.0
CommandControlCenter Class Reference

#include <CommandControlCenter.h>

Public Member Functions

 CommandControlCenter ()
 
virtual ~CommandControlCenter ()
 
void addGoal (const std::shared_ptr< BranchGoal > &, int)
 
void addStrategy (const std::shared_ptr< BranchStrategy > &, int)
 
void addSubGoal (const std::shared_ptr< BranchSubGoal > &, int)
 
void addDiagnosis (const std::shared_ptr< BranchDiagnosis > &, int)
 
void addActionObjective (const std::shared_ptr< BranchActionObjective > &, int)
 
void addActionPack (const std::shared_ptr< BranchActionPack > &, int)
 
void addAction (const std::shared_ptr< BranchAction > &, int)
 
void addExpectedAlarmState (const std::shared_ptr< BranchExpectedAlarmState > &, int)
 
void addExpectedComponentState (const std::shared_ptr< BranchExpectedComponentState > &, int)
 
void addExpectedSupportSystemState (const std::shared_ptr< BranchExpectedSupportSystemState > &, int)
 
void addExpectedParameterTrend (const std::shared_ptr< BranchExpectedParameterTrend > &, int)
 
void addExpectedParameterValue (const std::shared_ptr< BranchExpectedParameterValue > &, int)
 
void addExpectedParameterDifference (const std::shared_ptr< BranchExpectedParameterDifference > &, int)
 
void addProcedureStep (const std::shared_ptr< BranchProcedureStep > &, int)
 
void addInstinctiveResponseProcedure (const std::shared_ptr< BranchProcedureStep > &, int)
 
void addInfoGatherMode (const std::shared_ptr< BranchInfoGatherMode > &, int)
 
void addHWReliability (const std::shared_ptr< BranchSystemAction > &, int)
 
void addSSReliability (const std::shared_ptr< BranchSupportSystemAction > &, int)
 
void addNewAlarm (const std::shared_ptr< BranchSystemAlarmState > &, int)
 
void addMentalBelief (const std::shared_ptr< BranchExpectedMentalBelief > &, int)
 
void addScannedParameter (const std::shared_ptr< BranchScannedParameter > &, int)
 
void reduceRemainingTime (double)
 
void sendInfoToCommunicationPlace ()
 
void clearCommandControlCentePointer ()
 
void clearCommandControlCenter ()
 
void clearCommandControlCenteFromSimulation ()
 
void clearCommandControlCenteFromRestartInfo ()
 
void clearCommandControlCenteForRestart ()
 
void copyCommandControlCenterToRestartInfo (CommandControlCenter &)
 
void copyCommandControlCenterFromRestartInfo (CommandControlCenter &)
 
void saveCommandControlCenterToFile (std::ofstream &)
 
void retrieveCommandControlCenterFromFile (std::ifstream &)
 
void displayInformation (std::string strInformation)
 

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
 

Detailed Description

Definition at line 47 of file CommandControlCenter.h.

Constructor & Destructor Documentation

◆ CommandControlCenter()

CommandControlCenter::CommandControlCenter ( )

Definition at line 28 of file CommandControlCenter.cpp.

◆ ~CommandControlCenter()

CommandControlCenter::~CommandControlCenter ( )
virtual

Definition at line 32 of file CommandControlCenter.cpp.

Member Function Documentation

◆ addAction()

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().

Here is the caller graph for this function:

◆ addActionObjective()

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().

Here is the caller graph for this function:

◆ addActionPack()

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().

Here is the caller graph for this function:

◆ addDiagnosis()

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().

Here is the caller graph for this function:

◆ addExpectedAlarmState()

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().

Here is the caller graph for this function:

◆ addExpectedComponentState()

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().

Here is the caller graph for this function:

◆ addExpectedParameterDifference()

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().

Here is the caller graph for this function:

◆ addExpectedParameterTrend()

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().

Here is the caller graph for this function:

◆ addExpectedParameterValue()

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().

Here is the caller graph for this function:

◆ addExpectedSupportSystemState()

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().

Here is the caller graph for this function:

◆ addGoal()

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().

Here is the caller graph for this function:

◆ addHWReliability()

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().

Here is the caller graph for this function:

◆ addInfoGatherMode()

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().

Here is the caller graph for this function:

◆ addInstinctiveResponseProcedure()

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().

Here is the caller graph for this function:

◆ addMentalBelief()

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().

Here is the caller graph for this function:

◆ addNewAlarm()

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().

Here is the caller graph for this function:

◆ addProcedureStep()

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().

Here is the caller graph for this function:

◆ addScannedParameter()

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().

Here is the caller graph for this function:

◆ addSSReliability()

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().

Here is the caller graph for this function:

◆ addStrategy()

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().

Here is the caller graph for this function:

◆ addSubGoal()

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().

Here is the caller graph for this function:

◆ clearCommandControlCenteForRestart()

void CommandControlCenter::clearCommandControlCenteForRestart ( )

Definition at line 552 of file CommandControlCenter.cpp.

References clearCommandControlCentePointer().

Referenced by AdsidacCallback::initiationForRestart().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearCommandControlCenteFromRestartInfo()

void CommandControlCenter::clearCommandControlCenteFromRestartInfo ( )

Definition at line 567 of file CommandControlCenter.cpp.

References clearCommandControlCenter().

Referenced by RestartNodeInfo::~RestartNodeInfo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearCommandControlCenteFromSimulation()

void CommandControlCenter::clearCommandControlCenteFromSimulation ( )

Definition at line 564 of file CommandControlCenter.cpp.

References clearCommandControlCentePointer().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearCommandControlCentePointer()

void CommandControlCenter::clearCommandControlCentePointer ( )

Definition at line 555 of file CommandControlCenter.cpp.

References commands, and commands_residual.

Referenced by clearCommandControlCenteForRestart(), and clearCommandControlCenteFromSimulation().

Here is the caller graph for this function:

◆ clearCommandControlCenter()

void CommandControlCenter::clearCommandControlCenter ( )

Definition at line 560 of file CommandControlCenter.cpp.

References commands, and commands_residual.

Referenced by clearCommandControlCenteFromRestartInfo().

Here is the caller graph for this function:

◆ copyCommandControlCenterFromRestartInfo()

void CommandControlCenter::copyCommandControlCenterFromRestartInfo ( CommandControlCenter &  _cc)

Definition at line 585 of file CommandControlCenter.cpp.

References commands_residual.

Referenced by AdsidacCallback::initiationForRestart().

Here is the caller graph for this function:

◆ copyCommandControlCenterToRestartInfo()

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().

Here is the caller graph for this function:

◆ displayInformation()

void CommandControlCenter::displayInformation ( std::string  strInformation)

◆ reduceRemainingTime()

void CommandControlCenter::reduceRemainingTime ( double  x)

Definition at line 185 of file CommandControlCenter.cpp.

References commands, and commands_residual.

Referenced by sendInfoToCommunicationPlace().

Here is the caller graph for this function:

◆ retrieveCommandControlCenterFromFile()

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.

Here is the call graph for this function:

◆ saveCommandControlCenterToFile()

void CommandControlCenter::saveCommandControlCenterToFile ( std::ofstream &  )

Definition at line 592 of file CommandControlCenter.cpp.

References commands, and commands_residual.

◆ sendInfoToCommunicationPlace()

◆ serialize()

template<class Archive >
void CommandControlCenter::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 90 of file CommandControlCenter.h.

References commands, and commands_residual.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 88 of file CommandControlCenter.h.

Member Data Documentation

◆ commands

◆ commands_residual


The documentation for this class was generated from the following files: