Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
CommandMessageBinding_test Class Reference

Description

Test:
verify the simple standard usage pattern, where command arguments for binding are passed via UI-Bus message with GenNode elements. This is a simplified demonstration, but covers some tricky aspects.
  • commands may define arguments of arbitrary type, and at runtime these are initialised from the set of standard types allowed within GenNode elements. Here the Duration is initialised from a TimeSpan object
  • we support immutable argument types, which means the command binding machinery works without (re)assignment, only copy construction of argument holders into an inline buffer.
  • likewise we support to use an immutable type as captured state memento, which is demonstrated by capturing a Time value
See also
BusTerm_test
TupleRecordInit_test

Definition at line 85 of file command-message-binding-test.cpp.

Private Member Functions

virtual void run (Arg)
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 89 of file command-message-binding-test.cpp.

References Command::get(), and CommandDef::operation().

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

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