Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
CommandSignature< SIG, MEM > Class Template Reference

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

Description

template<typename SIG, typename MEM>
class steam::control::CommandSignature< SIG, MEM >

Metaprogramming helper for building Command function signatures.

The complete definition context of any command is templated to the signature of the actual command operation and to the memento type. The typedefs embedded within CommandSignature<SIG,MEM> allows for accepting suitable typed functions to implement the command in question.

Definition at line 75 of file command-signature.hpp.

Public Types

using OperateSig = BuildFunType< void, Args >::Sig
 
using CaptureSig = BuildFunType< MEM, Args >::Sig
 
using UndoOp_Sig = BuildFunType< void, ExtendedArgs >::Sig
 
using CmdArgs = Args
 
using Memento = MEM
 

Private Types

using Args = _Fun< SIG >::Args
 
using ArgList = Args::List
 
using ExtendedArglist = Append< ArgList, MEM >::List
 
using ExtendedArgs = Types< ExtendedArglist >::Seq
 

Member Typedef Documentation

◆ Args

template<typename SIG , typename MEM >
using Args = _Fun<SIG>::Args
private

Definition at line 77 of file command-signature.hpp.

◆ ArgList

template<typename SIG , typename MEM >
using ArgList = Args::List
private

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

◆ ExtendedArglist

template<typename SIG , typename MEM >
using ExtendedArglist = Append<ArgList, MEM>::List
private

Definition at line 79 of file command-signature.hpp.

◆ ExtendedArgs

Definition at line 80 of file command-signature.hpp.

◆ OperateSig

Definition at line 83 of file command-signature.hpp.

◆ CaptureSig

Definition at line 84 of file command-signature.hpp.

◆ UndoOp_Sig

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

◆ CmdArgs

Definition at line 86 of file command-signature.hpp.

◆ Memento

Definition at line 87 of file command-signature.hpp.

+ Collaboration diagram for CommandSignature< SIG, MEM >:

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