Lumiera  0.pre.03
»edit your freedom«
CommandBasic_test Class Reference

Description

Test:
basic usage of the Steam-Layer command dispatch system.

Shows how to define a simple command inline and how to trigger execution and UNDO. Verifies the command action takes place and is reverted again by the UNDO function.

This is a simplified demonstration. Usually, commands would be defined in bulk and without specifying parameters. Later, typically client code accesses a handle by ID, binds to the concrete argument and dispatches the invocation. Note in this example that by using a smart-ptr as argument allows accessing an object by reference and late binding.

See also
control::Command
control::CommandDef
control::SteamDispatcher

Definition at line 93 of file command-basic-test.cpp.

Private Member Functions

virtual void run (Arg)
 
+ Inheritance diagram for CommandBasic_test:
+ Collaboration diagram for CommandBasic_test:

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