Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/control/handling-patterns.hpp"
Handling Pattern Foundation: invoke command directly and without any external intervention.
This pattern is intended as implementation base class, but can be used as-is for unit tests.
Definition at line 65 of file handling-patterns.hpp.
Private Member Functions | |
bool | isValid () const |
void | performExec (CommandImpl &command) const override |
void | performUndo (CommandImpl &command) const override |
Additional Inherited Members | |
Public Types inherited from HandlingPattern | |
enum | ID { SYNC, SYNC_THROW, ASYNC, DUMMY, NUM_IDS } |
Public Member Functions inherited from HandlingPattern | |
virtual | ~HandlingPattern () |
this is an interface | |
ExecResult | exec (CommandImpl &command, string) const |
main functionality: invoke a command, detect errors. More... | |
operator bool () const | |
ExecResult | undo (CommandImpl &command, string) const |
likewise invoke the configured UNDO operation | |
Static Public Member Functions inherited from HandlingPattern | |
static ID | defaultID () |
static HandlingPattern const & | get (ID id) |
retrieve the pre-configured pattern | |