SimpleHierarchicalScenarioComponent< Component_T, Scenario_T, IntervalComponent_T, HasOwnership > Class Template Reference
Inheritance diagram for SimpleHierarchicalScenarioComponent< Component_T, Scenario_T, IntervalComponent_T, HasOwnership >:

Classes

struct  IntervalPair
 

Public Member Functions

template<typename... Args>
 SimpleHierarchicalScenarioComponent (Args &&... args)
 The default constructor will also initialize the children.
 
template<typename... Args>
 SimpleHierarchicalScenarioComponent (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
 
void clear ()
 
template<typename elt_t >
void remove (const elt_t &element)
 

Constructor & Destructor Documentation

◆ SimpleHierarchicalScenarioComponent()

template<typename Component_T , typename Scenario_T , typename IntervalComponent_T , bool HasOwnership = true>
template<typename... Args>
SimpleHierarchicalScenarioComponent< Component_T, Scenario_T, IntervalComponent_T, HasOwnership >::SimpleHierarchicalScenarioComponent ( 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: