![]() |
VR-Forces Development_Version Class Documentation
|
A utility class for use with DtConsoleCommandManager. More...
Public Member Functions | |
| DtConsoleCommandOwner (DtConsoleCommandManager *cmdMgr) | |
| virtual | ~DtConsoleCommandOwner () |
| virtual void | addCommand (const DtString &commandString, DtConsoleCommand *command) |
| Adds this command to the DtConsoleCommandManager. | |
Protected Attributes | |
| DtConsoleCommandManager * | myCommandManager |
Private Member Functions | |
| DtConsoleCommandOwner () | |
| Not Implemented. | |
| DtConsoleCommandOwner (const DtConsoleCommandOwner &orig) | |
| Not Implemented. | |
| DtConsoleCommandOwner & | operator= (const DtConsoleCommandOwner &orig) |
| Not Implemented. | |
A utility class for use with DtConsoleCommandManager.
This class takes ownership of an arbitrary number of DtConsoleCommands when it registers them with the manager. When this class is destroyed, it unregisters the commands from the manager and deletes them.
| DtConsoleCommandOwner::DtConsoleCommandOwner | ( | DtConsoleCommandManager * | cmdMgr | ) |
|
virtual |
|
private |
Not Implemented.
|
private |
Not Implemented.
|
private |
Not Implemented.
|
virtual |
Adds this command to the DtConsoleCommandManager.
Takes ownership of this command, and will delete it when destroyed.
|
protected |