HierarchicalScenarioComponent< Component_T, Scenario_T, IntervalComponent_T, EventComponent_T, TimeSyncComponent_T, StateComponent_T, HasOwnership > Class Template Reference
Inheritance diagram for HierarchicalScenarioComponent< Component_T, Scenario_T, IntervalComponent_T, EventComponent_T, TimeSyncComponent_T, StateComponent_T, HasOwnership >:
Execution::ScenarioComponent

Classes

struct  EventPair
 
struct  IntervalPair
 
struct  StatePair
 
struct  TimeSyncPair
 

Public Member Functions

template<typename... Args>
 HierarchicalScenarioComponent (Args &&... args)
 The default constructor will also initialize the children.
 
template<typename... Args>
 HierarchicalScenarioComponent (score::lazy_init_t, Args &&... args)
 
void init ()
 Do not forget to call this when using the lazy constructor.
 
const std::list< IntervalPair > & intervals_pairs () const
 
const std::list< EventPair > & events_pairs () const
 
const std::list< StatePair > & states_pairs () const
 
const std::list< TimeSyncPair > & timeSyncs_pairs () const
 
void clear ()
 
template<typename elt_t >
void remove (const elt_t &element)
 

Constructor & Destructor Documentation

◆ HierarchicalScenarioComponent()

template<typename Component_T , typename Scenario_T , typename IntervalComponent_T , typename EventComponent_T , typename TimeSyncComponent_T , typename StateComponent_T , bool HasOwnership = true>
template<typename... Args>
HierarchicalScenarioComponent< Component_T, Scenario_T, IntervalComponent_T, EventComponent_T, TimeSyncComponent_T, StateComponent_T, HasOwnership >::HierarchicalScenarioComponent ( score::lazy_init_t  ,
Args &&...  args 
)
inline

This constructor allows for initializing the children later. Useful for std::enable_shared_from_this.


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