63 zeroArgumentCommand();
65 Command::remove(
"test.command3.1");
66 Command::remove(
"test.command3.2");
79 .operation (command3::operate)
80 .captureUndo (command3::capture)
81 .undoOperation (command3::undoIt)
86 CHECK ( 1 == command3::check_);
89 .operation (command3::operate)
90 .captureUndo (command3::capture)
91 .undoOperation (command3::undoIt)
93 Command com (
"test.command3.2");
94 CHECK (com.canExec());
98 CHECK ( 2 == command3::check_);
100 CHECK ( 1 == command3::check_);
106 CHECK ( 4 == command3::check_);
109 CHECK ( 1 == command3::check_);
112 CHECK ( 3 == command3::check_);
115 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()
Simple 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.