Creates an instance of command class C.
More...
#include <CommandInstaller.h>
|
| CommandInstaller (CommandBank &bank=getCommandBank()) |
|
template<class CMD > |
Command & | install (const std::string &name, char alias=0) |
|
template<class CMD > |
Command & | install (char alias=0) |
|
template<class CMD > |
Command & | installExternal (CMD &cmdExt, const std::string &name, char alias=0) |
|
template<class CMD > |
Command & | installExternal (CMD &cmdExt, char alias=0) |
|
template<char PREFIX = 0, class SECTION = GeneralSection>
class drain::CommandInstaller< PREFIX, SECTION >
Creates an instance of command class C.
- Template Parameters
-
C | - command Creates an instance of command class C, deriving command name from the class name and prefixing if desired. |
PREFIX | - optional prefix, added to lower-case initialized |
SECTIONS | - command sections flags |
The documentation for this class was generated from the following file: