![]() |
Lumiera 0.pre.04
»edit your freedom«
|
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.
Definition at line 80 of file command-basic-test.cpp.
Private Member Functions | |
| virtual void | run (Arg) |
Definition at line 84 of file command-basic-test.cpp.
References Command::get(), and CommandDef::operation().
Here is the call graph for this function:
Inheritance diagram for CommandBasic_test:
Collaboration diagram for CommandBasic_test: