Scenario::Creation_FromEvent< Scenario_T, ToolPalette_T > Class Template Referencefinal
Inheritance diagram for Scenario::Creation_FromEvent< Scenario_T, ToolPalette_T >:
Scenario::CreationState< Scenario_T, ToolPalette_T > Scenario::CreationStateBase< Scenario_T > Scenario::StateBase< Scenario_T >

Public Member Functions

 Creation_FromEvent (const ToolPalette_T &stateMachine, const Scenario_T &scenarioPath, const score::CommandStackFacade &stack, QState *parent)
 
- Public Member Functions inherited from Scenario::CreationState< Scenario_T, ToolPalette_T >
 CreationState (const ToolPalette_T &sm, const score::CommandStackFacade &stack, const Scenario_T &scenarioPath, QState *parent)
 
- Public Member Functions inherited from Scenario::CreationStateBase< Scenario_T >
void clearCreatedIds ()
 
- Public Member Functions inherited from Scenario::StateBase< Scenario_T >
 StateBase (const Scenario_T &scenar, QState *parent)
 
void clear ()
 

Additional Inherited Members

- Public Attributes inherited from Scenario::CreationStateBase< Scenario_T >
QVector< Id< StateModel > > createdStates
 
QVector< Id< EventModel > > createdEvents
 
QVector< Id< TimeSyncModel > > createdTimeSyncs
 
QVector< Id< IntervalModel > > createdIntervals
 
- Public Attributes inherited from Scenario::StateBase< Scenario_T >
OptionalId< StateModelclickedState
 
OptionalId< EventModelclickedEvent
 
OptionalId< TimeSyncModelclickedTimeSync
 
OptionalId< IntervalModelclickedInterval
 
OptionalId< StateModelhoveredState
 
OptionalId< EventModelhoveredEvent
 
OptionalId< TimeSyncModelhoveredTimeSync
 
OptionalId< IntervalModelhoveredInterval
 
Scenario::Point currentPoint {}
 
- Protected Member Functions inherited from Scenario::CreationState< Scenario_T, ToolPalette_T >
void createToState_base (const Id< StateModel > &originalState)
 
void createToEvent_base (const Id< StateModel > &originalState)
 
void createToTimeSync_base (const Id< StateModel > &originalState)
 
void createToNothing_base (const Id< StateModel > &originalState)
 
void makeSnapshot ()
 
template<typename DestinationState , typename Function >
void add_transition (QState *from, DestinationState *to, Function &&fun)
 
void commit ()
 
void rollback ()
 
bool isCreatingGraph () const noexcept
 
- Protected Attributes inherited from Scenario::CreationState< Scenario_T, ToolPalette_T >
const ToolPalette_T & m_parentSM
 
MultiOngoingCommandDispatcher m_dispatcher
 
Scenario::Point m_clickedPoint {}
 
- Protected Attributes inherited from Scenario::StateBase< Scenario_T >
Scenario_T & m_scenario
 

Constructor & Destructor Documentation

◆ Creation_FromEvent()

template<typename Scenario_T , typename ToolPalette_T >
Scenario::Creation_FromEvent< Scenario_T, ToolPalette_T >::Creation_FromEvent ( const ToolPalette_T &  stateMachine,
const Scenario_T &  scenarioPath,
const score::CommandStackFacade stack,
QState *  parent 
)
inline

MoveOnNothing -> ...

MoveOnState -> ...

MoveOnEvent -> ...

MoveOnTimeSync -> ...


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