← Documentation
ADS-IDAC Engine 5.0.0
CommandControlUnit Class Reference

#include <CommandControlUnit.h>

Inheritance diagram for CommandControlUnit:
[legend]
Collaboration diagram for CommandControlUnit:
[legend]

Public Member Functions

 CommandControlUnit ()
 
virtual ~CommandControlUnit ()
 
void copyCommandControlUnit (CommandControlUnit &)
 
void clearCommandControlUnit ()
 
void releaseAllMembers ()
 
void setAssociatedBranchID (int)
 
int getAssociatedBranchID ()
 
void saveCommandControlUnitToFile (std::ofstream &)
 
void retrieveCommandControlUnitFromFile (std::ifstream &)
 
- Public Member Functions inherited from Timer
template<class Archive >
void timer_state_save (Archive &ar) const
 
template<class Archive >
void timer_state_load (Archive &ar)
 
double calculateRequiredTime ()
 
double calculateRequiredTime (double)
 
double calculateMeanRequiredTime ()
 
double calculateMeanRequiredTime (double, double)
 
double calculateWeibull_pdf (double)
 
 Timer ()
 
virtual ~Timer ()
 
void setRemainingTime (double)
 
void setTotalTimeRequired (double)
 
void setAlpha_Weibull (double)
 
void setBeta_Weibull (double)
 
void setT_Minimum (double)
 
double getTotalTimeRequired ()
 
double getRemainingTime ()
 
double reduceRemainingTime (double)
 
double getAlpha_Weibull ()
 
double getBeta_Weibull ()
 
double getT_Minimum ()
 
void copyTimer (Timer &)
 
int getNumberOfIntervals () const
 
void setNumberOfIntervals (int)
 
int getNumberOfIntervalsPassed () const
 
void setNumberOfIntervalsPassed (int)
 
double getTimeAtDemand () const
 
void setTimeAtDemand (double)
 
void saveTimerToFile (std::ofstream &)
 
void retrieveTimerFromFile (std::ifstream &)
 
bool checkIfIsIdenticalTimer (Timer &)
 
void setBothTotalTimeRequiredAndRemainingTime (double)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from StateOfActivation
 StateOfActivation ()
 
virtual ~StateOfActivation ()
 
int getStateOfActivation ()
 
void setStateOfActivation (int)
 
void copyStateOfActivation (StateOfActivation &)
 
void saveStateOfActivationToFile (std::ofstream &)
 
void retrieveStateOfActivationFromFile (std::ifstream &)
 
void resetStateOfActivation ()
 
bool checkIfIsIdenticalStateOfActivation (StateOfActivation &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

std::shared_ptr< BranchGoal > goal
 
std::shared_ptr< BranchStrategy > strategy
 
std::shared_ptr< BranchSubGoal > subgoal
 
std::shared_ptr< BranchDiagnosis > diagnosis
 
std::shared_ptr< BranchActionObjective > action_objective
 
std::shared_ptr< BranchActionPack > action_pack
 
std::shared_ptr< BranchAction > action
 
std::shared_ptr< BranchExpectedAlarmState > alarm_state
 
std::shared_ptr< BranchExpectedComponentState > component_state
 
std::shared_ptr< BranchExpectedSupportSystemState > support_system_state
 
std::shared_ptr< BranchExpectedParameterTrend > parameter_trend
 
std::shared_ptr< BranchExpectedParameterValue > parameter_value
 
std::shared_ptr< BranchExpectedParameterDifference > parameter_difference
 
std::shared_ptr< BranchProcedureStep > procedure_step
 
std::shared_ptr< BranchProcedureStep > instinctive_response_procedure
 
std::shared_ptr< BranchInfoGatherMode > info_gather_mode
 
std::shared_ptr< BranchSystemAction > HW_reliability
 
std::shared_ptr< BranchSupportSystemAction > SS_reliability
 
std::shared_ptr< BranchSystemAlarmState > new_alarm
 
std::shared_ptr< BranchExpectedMentalBelief > mental_belief
 
std::shared_ptr< BranchScannedParameter > scanned_parameter
 

Private Member Functions

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

Private Attributes

int associated_branch_ID
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 42 of file CommandControlUnit.h.

Constructor & Destructor Documentation

◆ CommandControlUnit()

CommandControlUnit::CommandControlUnit ( )

Definition at line 11 of file CommandControlUnit.cpp.

References associated_branch_ID.

◆ ~CommandControlUnit()

CommandControlUnit::~CommandControlUnit ( )
virtual

Definition at line 15 of file CommandControlUnit.cpp.

Member Function Documentation

◆ clearCommandControlUnit()

◆ copyCommandControlUnit()

void CommandControlUnit::copyCommandControlUnit ( CommandControlUnit &  _cu)

◆ getAssociatedBranchID()

int CommandControlUnit::getAssociatedBranchID ( )

Definition at line 152 of file CommandControlUnit.cpp.

References associated_branch_ID.

Referenced by copyCommandControlUnit().

Here is the caller graph for this function:

◆ releaseAllMembers()

◆ retrieveCommandControlUnitFromFile()

void CommandControlUnit::retrieveCommandControlUnitFromFile ( std::ifstream &  )

◆ saveCommandControlUnitToFile()

void CommandControlUnit::saveCommandControlUnitToFile ( std::ofstream &  )

◆ serialize()

◆ setAssociatedBranchID()

void CommandControlUnit::setAssociatedBranchID ( int  n)

Definition at line 151 of file CommandControlUnit.cpp.

References associated_branch_ID.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 76 of file CommandControlUnit.h.

Member Data Documentation

◆ action

◆ action_objective

◆ action_pack

◆ alarm_state

◆ associated_branch_ID

◆ component_state

◆ diagnosis

◆ goal

◆ HW_reliability

◆ info_gather_mode

◆ instinctive_response_procedure

std::shared_ptr<BranchProcedureStep> CommandControlUnit::instinctive_response_procedure

◆ mental_belief

◆ new_alarm

◆ parameter_difference

◆ parameter_trend

◆ parameter_value

◆ procedure_step

◆ scanned_parameter

◆ SS_reliability

◆ strategy

◆ subgoal

◆ support_system_state


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