Lumiera  0.pre.03
»edit your freedom«
PlaceholderCommand< ARGS > Class Template Reference

#include "/Werk/devel/lumi/tests/stage/test/placeholder-command.hpp"

Description

template<typename... ARGS>
class stage::test::PlaceholderCommand< ARGS >

Set of stub command operations.

This is a typed definition frame with some operations, suitably to be bound into a Steam-Layer command. The actual command "operation" just logs invocation into a statically obtained Event-Log instance.

Note
by design, in Lumiera the actual command functions are stateless. For this reason, the command framework provides no way to associate an instance of some kind of "command object" with the (conceptual) command binding or prototype, thus we're unable to log anything beyond the concrete argument types and values on invocation.

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

Static Public Member Functions

static steam::control::Command fabricateNewInstance (lib::test::EventLog const &invocationLog)
 

Static Private Member Functions

static string capture (ARGS ...args)
 
static string fullTypeID ()
 
static void operate (ARGS ...args)
 a dummy command "operation
 
static void undo (ARGS ..., string memento)
 
static string uniqueTypeInstance ()
 

Static Private Attributes

static lib::test::EventLog log_ {"test-dummy-"+fullTypeID()}
 

Member Function Documentation

◆ uniqueTypeInstance()

static string uniqueTypeInstance ( )
inlinestaticprivate

unique ID-string specific for the instance ARGS

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

Referenced by PlaceholderCommand< ARGS >::operate().

+ Here is the caller graph for this function:
+ Collaboration diagram for PlaceholderCommand< ARGS >:

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