Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Some additional helpers and convenience shortcuts to ease command invocation.
Especially, this header defines a set of free invoke
(...) functions, allowing to bind to specific arguments and then invoke through the default HandlingPatern in a single call.
While in some cases, a command will be set up completely finished and closed over all it's arguments, usually the CommandDef will just specify the command operation and undo function, thus leaving the task of binding concrete arguments to the client code. Thus, depending on the circumstances, there might be usage situations where the exact number and type of arguments can be detected and checked at compile time, while otherwise this check needs to be deferred to happen at runtime, when the binding is actually invoked.
Definition in file command-invocation.hpp.
#include "steam/control/command.hpp"
#include "steam/control/handling-pattern.hpp"
#include "steam/control/argument-tuple-accept.hpp"
#include <utility>
Classes | |
struct | _DefineBindFunc< SIG > |
< Steam-Layer command implementation details More... | |
struct | CommandInvoker< SIG > |
struct | RuntimeCheckedCommandInvoker |
Functions | |
com::RuntimeCheckedCommandInvoker | invoke (Symbol cmdID) |
com::RuntimeCheckedCommandInvoker | invoke (const char *cmdID) |
Namespaces | |
steam | |
Steam-Layer implementation namespace root. | |
steam::control | |
Steam-Layer dispatcher, controller and administrative facilities. | |