Lumiera  0.pre.03
»edit your freedom«
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)
 
+ Inheritance diagram for CommandMessageBinding_test:
+ Collaboration diagram for CommandMessageBinding_test:

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