← Documentation
ADS-IDAC Engine 5.0.0
InitiatingEventController Class Reference

#include <InitiatingEventController.h>

Public Member Functions

 InitiatingEventController ()
 
virtual ~InitiatingEventController ()
 
void readInfoFromFile ()
 
void checkAndExecuteInitiatingEvent ()
 
void InitiationForSimulation ()
 
void clearInitiatingEventController ()
 
void copyInitiatingEventController (InitiatingEventController &)
 
void setNeedToCheckForActivation (bool)
 
bool getNeedToCheckForActivation ()
 
void saveInitiatingEventControllerToFile (std::ofstream &)
 
void retrieveInitiatingEventControllerFromFile (std::ifstream &)
 

Public Attributes

std::vector< std::unique_ptr< InitiatingEventUnit > > initiating_event
 
std::vector< std::unique_ptr< InitiatingEventFTUnit > > initiating_event_ft
 
std::vector< std::unique_ptr< SupportSystemInitiatingEventUnit > > support_system_initiating_event
 

Private Member Functions

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

Private Attributes

bool need_to_check_for_activation
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 23 of file InitiatingEventController.h.

Constructor & Destructor Documentation

◆ InitiatingEventController()

InitiatingEventController::InitiatingEventController ( )

Definition at line 19 of file InitiatingEventController.cpp.

References need_to_check_for_activation.

◆ ~InitiatingEventController()

InitiatingEventController::~InitiatingEventController ( )
virtual

Definition at line 23 of file InitiatingEventController.cpp.

References clearInitiatingEventController().

Here is the call graph for this function:

Member Function Documentation

◆ checkAndExecuteInitiatingEvent()

◆ clearInitiatingEventController()

void InitiatingEventController::clearInitiatingEventController ( )

Definition at line 125 of file InitiatingEventController.cpp.

References initiating_event, initiating_event_ft, need_to_check_for_activation, and support_system_initiating_event.

Referenced by AdsidacCallback::initiationForRestart(), and ~InitiatingEventController().

Here is the caller graph for this function:

◆ copyInitiatingEventController()

void InitiatingEventController::copyInitiatingEventController ( InitiatingEventController &  _ie)

Definition at line 131 of file InitiatingEventController.cpp.

References getNeedToCheckForActivation(), initiating_event, initiating_event_ft, setNeedToCheckForActivation(), and support_system_initiating_event.

Referenced by AdsidacCallback::initiationForRestart(), and RestartNodeInfo::saveRestartNodeInfo().

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

◆ getNeedToCheckForActivation()

bool InitiatingEventController::getNeedToCheckForActivation ( )

Definition at line 150 of file InitiatingEventController.cpp.

References need_to_check_for_activation.

Referenced by copyInitiatingEventController().

Here is the caller graph for this function:

◆ InitiationForSimulation()

void InitiatingEventController::InitiationForSimulation ( )

Definition at line 122 of file InitiatingEventController.cpp.

References readInfoFromFile().

Referenced by AdsidacCallback::onFirstInit().

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

◆ readInfoFromFile()

void InitiatingEventController::readInfoFromFile ( )

Definition at line 26 of file InitiatingEventController.cpp.

References g_sim, Scheduler::getSystemDirectory(), initiating_event, r5pars_, SimulationContext::SScheduler, and support_system_initiating_event.

Referenced by InitiationForSimulation().

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

◆ retrieveInitiatingEventControllerFromFile()

void InitiatingEventController::retrieveInitiatingEventControllerFromFile ( std::ifstream &  )

Definition at line 170 of file InitiatingEventController.cpp.

References SimulationContext::Branch_center, g_sim, initiating_event, initiating_event_ft, need_to_check_for_activation, NoKB, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and support_system_initiating_event.

Here is the call graph for this function:

◆ saveInitiatingEventControllerToFile()

void InitiatingEventController::saveInitiatingEventControllerToFile ( std::ofstream &  )

◆ serialize()

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

◆ setNeedToCheckForActivation()

void InitiatingEventController::setNeedToCheckForActivation ( bool  log)

Definition at line 149 of file InitiatingEventController.cpp.

References PG::log, and need_to_check_for_activation.

Referenced by copyInitiatingEventController().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 43 of file InitiatingEventController.h.

Member Data Documentation

◆ initiating_event

◆ initiating_event_ft

◆ need_to_check_for_activation

◆ support_system_initiating_event


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