35#ifndef CONTROL_HANDLING_PATTERN_H
36#define CONTROL_HANDLING_PATTERN_H
Token or Atom with distinct identity.
Interface and Base definition for all Lumiera Exceptions.
Steam-Layer Command implementation.
Result (Status) of command execution.
ExecResult()
default: command executed successfully
Interface: Operation Skeleton how to invoke or undo a command.
virtual ~HandlingPattern()
this is an interface
ExecResult undo(CommandImpl &command, string) const
likewise invoke the configured UNDO operation
virtual bool isValid() const =0
virtual void performUndo(CommandImpl &command) const =0
ExecResult invoke(CommandImpl &, string id, Action) const
virtual void performExec(CommandImpl &command) const =0
ExecResult exec(CommandImpl &command, string) const
main functionality: invoke a command, detect errors.
void(HandlingPattern::* Action)(CommandImpl &) const
Lumiera error handling (C++ interface).
Steam-Layer implementation namespace root.
Marker types to indicate a literal string and a Symbol.