Lumiera  0.pre.03
»edit your freedom«
CustomHandler Class Reference

Description

Definition at line 56 of file handling-pattern-basics-test.cpp.

Public Member Functions

bool invokedExec ()
 
bool invokedUndo ()
 
- 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
 

Private Member Functions

bool isValid () const override
 
void performExec (CommandImpl &command) const override
 
void performUndo (CommandImpl &command) const override
 

Private Attributes

lib::test::EventLog log_ {"custom command handler"}
 

Additional Inherited Members

- Public Types inherited from HandlingPattern
enum  ID {
  SYNC,
  SYNC_THROW,
  ASYNC,
  DUMMY,
  NUM_IDS
}
 
- Static Public Member Functions inherited from HandlingPattern
static ID defaultID ()
 
static HandlingPattern const & get (ID id)
 retrieve the pre-configured pattern
 
+ Inheritance diagram for CustomHandler:
+ Collaboration diagram for CustomHandler:

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