- 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 94 of file command-message-binding-test.cpp.