← Documentation
ADS-IDAC Engine 5.0.0
CommunicationPlace Class Reference

#include <CommunicationPlace.h>

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

Public Member Functions

 CommunicationPlace ()
 
virtual ~CommunicationPlace ()
 
void clearCommunicationPlaceAll ()
 
void clearCommunicationPlaceAllPointers ()
 
void clearCommunicationPlaceForRestart ()
 
int getTotalPiecesOfInfo ()
 
void updateSenderReceiverInfo ()
 
void copyCommunicationPlace (CommunicationPlace &)
 
void saveInfoToFileAsBranchForADSV1 (std::ostream &)
 
int getNumberOfItemInCommunicationPlace ()
 
void saveCommunicationPlaceToFile (std::ofstream &)
 
void retrieveCommunicationPlaceFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from BranchUnit
 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< BranchSystemAction > > HW_reliability
 
std::vector< std::shared_ptr< BranchSupportSystemAction > > SS_reliability
 
std::vector< std::shared_ptr< BranchSystemAlarmState > > new_alarm
 
- Public Attributes inherited from BranchUnit
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
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 39 of file CommunicationPlace.h.

Constructor & Destructor Documentation

◆ CommunicationPlace()

CommunicationPlace::CommunicationPlace ( )

Definition at line 18 of file CommunicationPlace.cpp.

◆ ~CommunicationPlace()

CommunicationPlace::~CommunicationPlace ( )
virtual

Definition at line 22 of file CommunicationPlace.cpp.

Member Function Documentation

◆ clearCommunicationPlaceAll()

void CommunicationPlace::clearCommunicationPlaceAll ( )

Definition at line 24 of file CommunicationPlace.cpp.

References BranchUnit::clearBranchUnit(), HW_reliability, new_alarm, and SS_reliability.

Referenced by ShortTermMemory::clearShortTermMemoryFromRestartNodeInfoMultiProcessors(), and BranchProbability::~BranchProbability().

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

◆ clearCommunicationPlaceAllPointers()

void CommunicationPlace::clearCommunicationPlaceAllPointers ( )

Definition at line 33 of file CommunicationPlace.cpp.

References BranchUnit::clearBranchUnitAllPointers(), HW_reliability, new_alarm, and SS_reliability.

Referenced by clearCommunicationPlaceForRestart(), ShortTermMemory::clearNewInfo(), ShortTermMemory::clearShortTermMemoryForRestart(), ShortTermMemory::clearShortTermMemoryFromRestartInfo(), main(), and AdsidacCallback::onEvaluationPoint().

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

◆ clearCommunicationPlaceForRestart()

void CommunicationPlace::clearCommunicationPlaceForRestart ( )

Definition at line 30 of file CommunicationPlace.cpp.

References clearCommunicationPlaceAllPointers().

Referenced by AdsidacCallback::initiationForRestart().

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

◆ copyCommunicationPlace()

void CommunicationPlace::copyCommunicationPlace ( CommunicationPlace &  _cp)

Definition at line 89 of file CommunicationPlace.cpp.

References BranchUnit::copyBranchUnit(), e, HW_reliability, new_alarm, and SS_reliability.

Referenced by BranchProbability::copyBranchProbability().

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

◆ getNumberOfItemInCommunicationPlace()

int CommunicationPlace::getNumberOfItemInCommunicationPlace ( )

Definition at line 225 of file CommunicationPlace.cpp.

References BranchUnit::getNumberOfItemInBranchUnit(), HW_reliability, new_alarm, and SS_reliability.

Referenced by saveInfoToFileAsBranchForADSV1().

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

◆ getTotalPiecesOfInfo()

int CommunicationPlace::getTotalPiecesOfInfo ( )

Definition at line 39 of file CommunicationPlace.cpp.

References BranchUnit::getTotalPiecesOfInfo(), and new_alarm.

Here is the call graph for this function:

◆ retrieveCommunicationPlaceFromFile()

void CommunicationPlace::retrieveCommunicationPlaceFromFile ( std::ifstream &  )

Definition at line 250 of file CommunicationPlace.cpp.

References HW_reliability, new_alarm, BranchUnit::retrieveBranchUnitFromFile(), and SS_reliability.

Referenced by BranchProbability::retrieveBranchProbabilityFromFile().

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

◆ saveCommunicationPlaceToFile()

void CommunicationPlace::saveCommunicationPlaceToFile ( std::ofstream &  )

Definition at line 231 of file CommunicationPlace.cpp.

References HW_reliability, new_alarm, BranchUnit::saveBranchUnitToFile(), and SS_reliability.

Referenced by BranchProbability::saveBranchProbabilityToFile().

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

◆ saveInfoToFileAsBranchForADSV1()

void CommunicationPlace::saveInfoToFileAsBranchForADSV1 ( std::ostream &  )

◆ serialize()

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

Definition at line 58 of file CommunicationPlace.h.

References HW_reliability, new_alarm, and SS_reliability.

◆ updateSenderReceiverInfo()

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 56 of file CommunicationPlace.h.

Member Data Documentation

◆ HW_reliability

◆ new_alarm

◆ SS_reliability


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