Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
command-invocation.hpp File Reference

Go to the source code of this file.

Description

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.

See also
Command
CommandDef
command-binding.hpp
command-use1-test.cpp

Definition in file command-invocation.hpp.

Classes

struct  _DefineBindFunc< SIG >
 < Proc-Layer command implementation details More...
 
struct  CommandInvoker< SIG >
 
struct  RuntimeCheckedCommandInvoker
 

Functions

com::RuntimeCheckedCommandInvoker invoke (Symbol cmdID)
 
com::RuntimeCheckedCommandInvoker invoke (const char *cmdID)
 

Namespaces

 proc
 Proc-Layer implementation namespace root.
 
 proc::control
 Proc-Layer dispatcher, controller and administrative facilities.
 
 proc::control::com
 

Class Documentation

struct proc::control::com::_DefineBindFunc
Class Members
typedef ExecResult SIG_Bind
+ Collaboration diagram for _DefineBindFunc< SIG >: