← Documentation
ADS-IDAC Engine 5.0.0
ManeuverAction Class Reference

#include <ManeuverAction.h>

Public Member Functions

 ManeuverAction ()
 
virtual ~ManeuverAction ()
 
void readInfoFromFile (int)
 
void copyManeuverAction (ManeuverAction &)
 
void saveManeuverActionToFile (std::ofstream &)
 
void retrieveManeuverActionFromFile (std::ifstream &)
 
void checkAndExecuteManeuverUnit (Operator &)
 
void clearManeuverAction ()
 
void activateManeuverUnit (std::string)
 

Public Attributes

std::vector< std::unique_ptr< ManeuverActionUnit > > maneuver_list
 

Private Member Functions

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

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 20 of file ManeuverAction.h.

Constructor & Destructor Documentation

◆ ManeuverAction()

ManeuverAction::ManeuverAction ( )

Definition at line 20 of file ManeuverAction.cpp.

◆ ~ManeuverAction()

ManeuverAction::~ManeuverAction ( )
virtual

Definition at line 25 of file ManeuverAction.cpp.

References clearManeuverAction().

Here is the call graph for this function:

Member Function Documentation

◆ activateManeuverUnit()

void ManeuverAction::activateManeuverUnit ( std::string  )

Definition at line 107 of file ManeuverAction.cpp.

References sim::State::Active, sim::State::Done, maneuver_list, and sim::None.

Referenced by Operator::checkAndExecuteManeuverAction().

Here is the caller graph for this function:

◆ checkAndExecuteManeuverUnit()

void ManeuverAction::checkAndExecuteManeuverUnit ( Operator &  _operator)

Definition at line 97 of file ManeuverAction.cpp.

References sim::State::Active, and maneuver_list.

Referenced by Operator::checkAndExecuteManeuverAction().

Here is the caller graph for this function:

◆ clearManeuverAction()

void ManeuverAction::clearManeuverAction ( )

Definition at line 104 of file ManeuverAction.cpp.

References maneuver_list.

Referenced by Operator::clearOperatorFinal(), Operator::clearOperatorForRestart(), Operator::clearOperatorFromRestartInfo(), Operator::clearOperatorFromRestartNodeInfoMultiProcessors(), and ~ManeuverAction().

Here is the caller graph for this function:

◆ copyManeuverAction()

void ManeuverAction::copyManeuverAction ( ManeuverAction &  _pm)

Definition at line 64 of file ManeuverAction.cpp.

References maneuver_list.

Referenced by Operator::copyOperatorFromRestartInfo(), Operator::copyOperatorFromRestartInfoMultiProcessor(), and Operator::copyOperatorToRestartInfo().

Here is the caller graph for this function:

◆ readInfoFromFile()

void ManeuverAction::readInfoFromFile ( int  _operator)

Definition at line 29 of file ManeuverAction.cpp.

References SimulationContext::Branch_center, g_sim, Scheduler::getOATDirectory(), Scheduler::getOCTDirectory(), Scheduler::getODMDirectory(), maneuver_list, NoKB, sim::Operator::OAT, sim::Operator::ODM, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and SimulationContext::SScheduler.

Referenced by Operator::initiationForSimulation().

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

◆ retrieveManeuverActionFromFile()

void ManeuverAction::retrieveManeuverActionFromFile ( std::ifstream &  )

Definition at line 77 of file ManeuverAction.cpp.

References SimulationContext::Branch_center, g_sim, maneuver_list, NoKB, r5pars_, BranchRecord::setTempESMessage(), and BranchRecord::setTempTypeOfConsequence().

Referenced by Operator::retrieveOperatorFromFile().

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

◆ saveManeuverActionToFile()

void ManeuverAction::saveManeuverActionToFile ( std::ofstream &  )

Definition at line 71 of file ManeuverAction.cpp.

References maneuver_list.

Referenced by Operator::saveOperatorToFile().

Here is the caller graph for this function:

◆ serialize()

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

Definition at line 38 of file ManeuverAction.h.

References maneuver_list.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file ManeuverAction.h.

Member Data Documentation

◆ maneuver_list


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