54 zeroArgumentCommand();
56 Command::remove(
"test.command3.1");
57 Command::remove(
"test.command3.2");
70 .operation (command3::operate)
71 .captureUndo (command3::capture)
72 .undoOperation (command3::undoIt)
77 CHECK ( 1 == command3::check_);
80 .operation (command3::operate)
81 .captureUndo (command3::capture)
82 .undoOperation (command3::undoIt)
84 Command com (
"test.command3.2");
85 CHECK (com.canExec());
89 CHECK ( 2 == command3::check_);
91 CHECK ( 1 == command3::check_);
97 CHECK ( 4 == command3::check_);
100 CHECK ( 1 == command3::check_);
103 CHECK ( 3 == command3::check_);
106 CHECK ( 0 == command3::check_);
Helper class used solely for defining a Command-Object.
static size_t definition_count()
Command newInstance() const
create independent (anonymous) clone copy of this command
static Command get(Symbol cmdID)
Access existing command for use.
Steam-Layer implementation namespace root.
static size_t instance_count()
Simplistic test class runner.
Some dummy command functions used for building unit test cases.
Handle object representing a single Command instance to be used by client code.
Actually defining a command and binding it to execution parameters.