Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
CommandInvoker< SIG > Struct Template Reference

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

Description

template<typename SIG>
struct steam::control::com::CommandInvoker< SIG >

transient invoker object for invoking the command based on a function provided at compile time. Because of the known signature, we're able to expose a precisely typed function invocation operator.

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

Public Attributes

Command com_
 

Public Member Functions

 CommandInvoker (Command c)
 
template<typename TYPES >
ExecResult bindArg (Tuple< TYPES > const &args)
 

Constructor & Destructor Documentation

◆ CommandInvoker()

template<typename SIG >
CommandInvoker ( Command  c)
inline

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

Member Function Documentation

◆ bindArg()

template<typename SIG >
template<typename TYPES >
ExecResult bindArg ( Tuple< TYPES > const args)
inline

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

References Command::bindArg(), Command::canExec(), and CommandInvoker< SIG >::com_.

+ Here is the call graph for this function:

Member Data Documentation

◆ com_

template<typename SIG >
Command com_

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

Referenced by CommandInvoker< SIG >::bindArg().

+ Inheritance diagram for CommandInvoker< SIG >:
+ Collaboration diagram for CommandInvoker< SIG >:

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