MultiOngoingCommandDispatcher Class Referencefinal
The MultiOngoingCommandDispatcher class. More...
Inheritance diagram for MultiOngoingCommandDispatcher:
Detailed Description
The MultiOngoingCommandDispatcher class.
Used for complex real-time editing. This dispatcher has an array of commands : as long as the commands sent through submit are mergeable, they will be merged with the latest command on the array.
When a new command is encountered, it is put in a new place in the array.
Public Member Functions | |
MultiOngoingCommandDispatcher (const score::CommandStackFacade &stack) | |
void | submit (score::Command *cmd) |
void | submitQuiet (score::Command *cmd) |
template<typename TheCommand , typename... Args> | |
void | submit (Args &&... args) |
template<typename CommitCommand > | |
void | commit () |
template<typename RollbackStrategy > | |
void | rollback () |
Public Member Functions inherited from ICommandDispatcher | |
ICommandDispatcher (const score::CommandStack &stack)=delete | |
ICommandDispatcher (const score::CommandStackFacade &stack) | |
const score::CommandStackFacade & | stack () const |
The documentation for this class was generated from the following file: