Lumiera  0.pre.03
»edit your freedom«
CompletedDefinition< SIG > Struct Template Reference

Description

template<typename SIG>
struct steam::control::stage::CompletedDefinition< SIG >

Definition at line 97 of file command-def.hpp.

Public Types

using CmdArgs = typename _Fun< SIG >::Args
 
typedef HandlingPattern::ID PattID
 

Public Member Functions

 CompletedDefinition (Command &definedCommand)
 
CommandbindArg (Tuple< CmdArgs > const &params)
 allow to bind immediately to a set of arguments. More...
 
 operator Command ()
 a completed definition can be retrieved and manipulated further through a standard Command handle
 
CompletedDefinition setHandlingPattern (PattID newID)
 allow for defining the default execution pattern, which is used by Command::operator()
 

Public Attributes

Commandprototype_
 

Private Member Functions

void maybeArm_if_zero_parameters ()
 Helper: automatically "bind" and make executable a command, for the case when the command operation takes zero arguments. More...
 

Member Function Documentation

◆ bindArg()

Command& bindArg ( Tuple< CmdArgs > const &  params)
inline

allow to bind immediately to a set of arguments.

Returns
standard Command handle, usable for invocation

Definition at line 131 of file command-def.hpp.

◆ maybeArm_if_zero_parameters()

void maybeArm_if_zero_parameters ( )
inlineprivate

Helper: automatically "bind" and make executable a command, for the case when the command operation takes zero arguments.

Because even in that case we need to build a CmdClosure internally.

Definition at line 151 of file command-def.hpp.

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

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