42 #ifndef CONTROL_HANDLING_PATTERNS_DEF_H 43 #define CONTROL_HANDLING_PATTERNS_DEF_H 68 bool isValid()
const {
return true; }
74 command.invokeCapture();
75 command.invokeOperation();
99 UNIMPLEMENTED (
"actually invoke a command, according to this pattern");
105 UNIMPLEMENTED (
"actually undo the effect of a command, according to this pattern");
109 isValid()
const override 111 UNIMPLEMENTED (
"is this pattern currently able to handle commands?");
129 UNIMPLEMENTED (
"actually invoke a command, according to this pattern");
135 UNIMPLEMENTED (
"actually undo the effect of a command, according to this pattern");
139 isValid()
const override 141 UNIMPLEMENTED (
"is this pattern currently able to handle commands?");
159 UNIMPLEMENTED (
"actually invoke a command, according to this pattern");
165 UNIMPLEMENTED (
"actually undo the effect of a command, according to this pattern");
169 isValid()
const override 171 UNIMPLEMENTED (
"is this pattern currently able to handle commands?");
197 REQUIRE (patternTable.contains(
id));
Handling Pattern: invoke blocking, translate exceptions into an error state.
Handling Pattern: just schedule command to be invoked asynchronously.
Framework for building a configurable factory, to generate families of related objects.
bool canExec() const
< state check: sufficiently defined to be invoked
Top level of the command implementation.
Steam-Layer implementation namespace root.
Handling Pattern: invoke blocking, propagating any exceptions immediately.
HandlingPatternFactory patternTable
holds singleton pattern instances by ID
Factory for creating a family of objects by ID.
bool canUndo() const
< state check: has undo state been captured?
HandlingPattern const & getPatternInstance(HandlingPattern::ID id)
access the singleton instance for a given ID
Pre-defined command execution skeletons.
Lumiera error handling (C++ interface).
Handling Pattern Foundation: invoke command directly and without any external intervention.
Steam-Layer Command implementation.
Convenience shortcut for automatically setting up a production line, to fabricate a singleton instanc...
Interface: Operation Skeleton how to invoke or undo a command.