Lumiera  0.pre.03
»edit your freedom«
RuntimeCheckedCommandInvoker Struct Reference

#include "steam/control/command-invocation.hpp"

Description

transient invoker object, usable when the exact signature of the command's operation isn't known at compile time. In this case, we allow any invocation call to compile, but the command will reject unsuitable signatures at runtime, when fetching the operation functor.

Remarks
actually this kind of invocation is the default case, since commands are defined statically at application start-up and invoked via the UI-Bus by command-ID

Definition at line 113 of file command-invocation.hpp.

Public Member Functions

 RuntimeCheckedCommandInvoker (Command c)
 
template<typename... ARGS>
ExecResult operator() (ARGS &&...args)
 invoke command with arbitrary arguments More...
 

Public Attributes

Command com_
 

Member Function Documentation

◆ operator()()

ExecResult operator() ( ARGS &&...  args)
inline

invoke command with arbitrary arguments

Warning
argument types will be checked at runtime only

Definition at line 127 of file command-invocation.hpp.

References AcceptAnyBind< TAR, BA, RET >::bind(), and Command::get().

+ Here is the call graph for this function:
+ Collaboration diagram for RuntimeCheckedCommandInvoker:

The documentation for this struct was generated from the following file: