Execution::ScenarioComponentBase Class Reference
Inheritance diagram for Execution::ScenarioComponentBase:
Execution::ProcessComponent_T< Scenario::ProcessModel, ossia::scenario > Process::GenericProcessComponent_T< ProcessComponentBase_T, Process_T >

Public Member Functions

 ScenarioComponentBase (Scenario::ProcessModel &proc, const Context &ctx, QObject *parent)
 
const auto & states () const
 
const score::hash_map< Id< Scenario::IntervalModel >, std::shared_ptr< IntervalComponent > > & intervals () const
 
const auto & events () const
 
const auto & timeSyncs () const
 
void playInterval (const Scenario::IntervalModel &itv)
 
void stopInterval (const Scenario::IntervalModel &itv)
 
void stop () override
 
template<typename Component_T , typename Element >
Component_T * make (Element &elt)
 
template<typename Component_T , typename Element , typename Fun >
void removed (const Element &elt, const Component_T &comp, Fun f)
 
std::function< void()> removing (const Scenario::IntervalModel &e, IntervalComponent &c)
 
std::function< void()> removing (const Scenario::TimeSyncModel &e, TimeSyncComponent &c)
 
std::function< void()> removing (const Scenario::EventModel &e, EventComponent &c)
 
std::function< void()> removing (const Scenario::StateModel &e, StateComponent &c)
 
void sig_eventCallback (std::shared_ptr< EventComponent > arg_1, ossia::time_event::status st)
 
- Public Member Functions inherited from Execution::ProcessComponent_T< Scenario::ProcessModel, ossia::scenario >
ossia::scenario & OSSIAProcess () const
 
- Public Member Functions inherited from Process::GenericProcessComponent_T< ProcessComponentBase_T, Process_T >
Process_T & process () const
 

Protected Member Functions

void startIntervalExecution (const Id< Scenario::IntervalModel > &)
 
void stopIntervalExecution (const Id< Scenario::IntervalModel > &)
 
void disableIntervalExecution (const Id< Scenario::IntervalModel > &id)
 
void eventCallback (std::shared_ptr< EventComponent > ev, ossia::time_event::status newStatus)
 

Protected Attributes

score::hash_map< Id< Scenario::IntervalModel >, std::shared_ptr< IntervalComponent > > m_ossia_intervals
 
score::hash_map< Id< Scenario::StateModel >, std::shared_ptr< StateComponent > > m_ossia_states
 
score::hash_map< Id< Scenario::TimeSyncModel >, std::shared_ptr< TimeSyncComponent > > m_ossia_timesyncs
 
score::hash_map< Id< Scenario::EventModel >, std::shared_ptr< EventComponent > > m_ossia_timeevents
 
score::hash_map< Id< Scenario::IntervalModel >, Scenario::IntervalModel * > m_executingIntervals
 
const Contextm_ctx
 
Scenario::CSPCoherencyCheckerInterfacem_checker {}
 
QVector< Id< Scenario::TimeSyncModel > > m_pastTn {}
 
Scenario::ElementsProperties m_properties {}
 
Scenario::TimenodeGraph m_graph
 

Additional Inherited Members

- Public Types inherited from Process::GenericProcessComponent_T< ProcessComponentBase_T, Process_T >
using model_type = Process_T
 

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