Lumiera  0.pre.03
»edit your freedom«
handling-pattern.hpp File Reference

Go to the source code of this file.

Description

Pre-defined command execution skeletons.

Any command can be configured to use a specific handling pattern on invocation. Moreover, there is a default handling pattern for commands. These patterns define the steps necessary for getting the command actually invoked (template method pattern). A pattern may cause the command to be enqueued, registered for UNDO or dispatched into a background thread. To carry out the work, HandlingPattern implementations are allowed to invoke the CommandImpl API directly.

Todo:

it is not clear what's the difference between "throw" and "no-throw" pattern

any integration with the (yet undefined as of 9/09) SteamDispatcher is missing.

See also
SteamDispatcher
Session

Definition in file handling-pattern.hpp.

#include "lib/error.hpp"
#include "lib/symbol.hpp"
#include <string>

Classes

class  ExecResult
 Result (Status) of command execution. More...
 
class  HandlingPattern
 Interface: Operation Skeleton how to invoke or undo a command. More...
 

Namespaces

 steam
 Steam-Layer implementation namespace root.
 
 steam::control
 Steam-Layer dispatcher, controller and administrative facilities.