← Documentation
ADS-IDAC Engine 5.0.0
BranchUnit Class Reference

#include <BranchUnit.h>

Inheritance diagram for BranchUnit:
[legend]

Public Member Functions

 BranchUnit ()
 
virtual ~BranchUnit ()
 
void clearBranchUnit ()
 
void clearBranchUnitAllPointers ()
 
int getTotalPiecesOfInfo ()
 
void calculateNumberOfCombination ()
 
int getNumberOfCombination ()
 
int getNumberOfItemInBranchUnit ()
 
void copyBranchUnit (BranchUnit &)
 
void saveBranchUnitToFile (std::ofstream &)
 
void retrieveBranchUnitFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

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

Private Attributes

int number_of_combination
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 40 of file BranchUnit.h.

Constructor & Destructor Documentation

◆ BranchUnit()

BranchUnit::BranchUnit ( )

Definition at line 16 of file BranchUnit.cpp.

References number_of_combination.

◆ ~BranchUnit()

BranchUnit::~BranchUnit ( )
virtual

Definition at line 20 of file BranchUnit.cpp.

Member Function Documentation

◆ calculateNumberOfCombination()

void BranchUnit::calculateNumberOfCombination ( )

Definition at line 23 of file BranchUnit.cpp.

References action, action_objective, action_pack, alarm_state, component_state, diagnosis, goal, info_gather_mode, instinctive_response_procedure, mental_belief, number_of_combination, parameter_difference, parameter_trend, parameter_value, procedure_step, scanned_parameter, strategy, subgoal, and support_system_state.

Referenced by getNumberOfCombination().

Here is the caller graph for this function:

◆ clearBranchUnit()

void BranchUnit::clearBranchUnit ( )

◆ clearBranchUnitAllPointers()

void BranchUnit::clearBranchUnitAllPointers ( )

Definition at line 128 of file BranchUnit.cpp.

References action, action_objective, action_pack, alarm_state, component_state, diagnosis, goal, info_gather_mode, instinctive_response_procedure, mental_belief, parameter_difference, parameter_trend, parameter_value, procedure_step, scanned_parameter, strategy, subgoal, and support_system_state.

Referenced by CommunicationPlace::clearCommunicationPlaceAllPointers().

Here is the caller graph for this function:

◆ copyBranchUnit()

void BranchUnit::copyBranchUnit ( BranchUnit &  _bu)

Definition at line 158 of file BranchUnit.cpp.

References action, action_objective, action_pack, alarm_state, component_state, diagnosis, getNumberOfCombination(), goal, info_gather_mode, instinctive_response_procedure, mental_belief, number_of_combination, parameter_difference, parameter_trend, parameter_value, procedure_step, scanned_parameter, strategy, subgoal, and support_system_state.

Referenced by BranchRecord::copyBranchRecord(), and CommunicationPlace::copyCommunicationPlace().

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

◆ getNumberOfCombination()

int BranchUnit::getNumberOfCombination ( )

Definition at line 102 of file BranchUnit.cpp.

References calculateNumberOfCombination(), and number_of_combination.

Referenced by copyBranchUnit().

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

◆ getNumberOfItemInBranchUnit()

int BranchUnit::getNumberOfItemInBranchUnit ( )

Definition at line 251 of file BranchUnit.cpp.

References action, action_objective, action_pack, alarm_state, component_state, diagnosis, goal, info_gather_mode, instinctive_response_procedure, mental_belief, parameter_difference, parameter_trend, parameter_value, procedure_step, scanned_parameter, strategy, subgoal, and support_system_state.

Referenced by CommunicationPlace::getNumberOfItemInCommunicationPlace().

Here is the caller graph for this function:

◆ getTotalPiecesOfInfo()

int BranchUnit::getTotalPiecesOfInfo ( )

Definition at line 149 of file BranchUnit.cpp.

References action, action_objective, action_pack, alarm_state, component_state, diagnosis, goal, info_gather_mode, instinctive_response_procedure, mental_belief, parameter_difference, parameter_trend, parameter_value, procedure_step, scanned_parameter, strategy, subgoal, and support_system_state.

Referenced by CommunicationPlace::getTotalPiecesOfInfo().

Here is the caller graph for this function:

◆ retrieveBranchUnitFromFile()

void BranchUnit::retrieveBranchUnitFromFile ( std::ifstream &  )

◆ saveBranchUnitToFile()

void BranchUnit::saveBranchUnitToFile ( std::ofstream &  )

Definition at line 261 of file BranchUnit.cpp.

References action, action_objective, action_pack, alarm_state, component_state, diagnosis, goal, info_gather_mode, instinctive_response_procedure, mental_belief, number_of_combination, parameter_difference, parameter_trend, parameter_value, procedure_step, scanned_parameter, strategy, subgoal, and support_system_state.

Referenced by BranchRecord::saveBranchRecordToFile(), and CommunicationPlace::saveCommunicationPlaceToFile().

Here is the caller graph for this function:

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 71 of file BranchUnit.h.

Member Data Documentation

◆ action

◆ action_objective

◆ action_pack

◆ alarm_state

◆ component_state

◆ diagnosis

◆ goal

◆ info_gather_mode

◆ instinctive_response_procedure

◆ mental_belief

◆ number_of_combination

int BranchUnit::number_of_combination
private

◆ parameter_difference

◆ parameter_trend

◆ parameter_value

◆ procedure_step

◆ scanned_parameter

◆ strategy

◆ subgoal

◆ support_system_state


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