VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Protected Attributes
DtSubCommandManager Class Reference

A specialized version of DtConsoleCommandManager which handles a set of sub commands from another console command manager. More...

Inheritance diagram for DtSubCommandManager:
Inheritance graph
[legend]

List of all members.

Classes

class  DtRunSubCommand
 Command which is registered on the parent manager, and invokes this command manager. More...

Public Member Functions

 DtSubCommandManager (const DtString &commandName, DtConsoleCommandManager *parentManager)
virtual ~DtSubCommandManager ()

Protected Attributes

DtConsoleCommandManagermyParentManager
DtRunSubCommandmyCommand

Detailed Description

A specialized version of DtConsoleCommandManager which handles a set of sub commands from another console command manager.

This class will register a command with a parent DtConsoleCommandManager when it is created, and then process the arguments from the parent with the local commands registered.


Constructor & Destructor Documentation

DtSubCommandManager::DtSubCommandManager ( const DtString commandName,
DtConsoleCommandManager parentManager 
)
Parameters:
commandNameThe name of the command that will invoke subcommands in this manager. This is basically the "sub-menu" name.

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)