SingleOngoingCommandDispatcher< TheCommand > Class Template Referencefinal
The SingleOngoingCommandDispatcher class. More...
Inheritance diagram for SingleOngoingCommandDispatcher< TheCommand >:
Detailed Description
template<typename TheCommand>
class SingleOngoingCommandDispatcher< TheCommand >
The SingleOngoingCommandDispatcher class.
Similar to OngoingCommandDispatcher but the entire class is meant to be used with a single command and will fail at compile-time if an incorrect command is sent.
Public Member Functions | |
SingleOngoingCommandDispatcher (const score::CommandStackFacade &stack) | |
template<typename... Args> | |
void | submit (Args &&... args) |
void | commit () |
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: