![]() |
|
Combines command installation and sectioning. More...
#include <CommandInstaller.h>


Public Types | |
| typedef CommandModule< PREFIX, SECTION > | module_t |
Public Member Functions | |
| CommandModule (CommandBank &bank=getCommandBank()) | |
| template<class CMD , class CMD_NEW = CMD> | |
| Command & | installDeprecating (const std::string &name, char alias=0) |
| template<class CMD , class CMD_NEW = CMD> | |
| Command & | installDeprecating (char alias=0) |
| template<class ... TT> | |
| void | linkRelatedCommands (TT &... cmds) |
| template<class ... TT> | |
| void | linkRelatedCommandList (std::set< std::string > &cmdList, Command &cmd, TT &... cmds) |
| template<class ... TT> | |
| void | linkRelatedCommandList (std::set< std::string > &cmdList, const std::string &cmdName, TT &... cmds) |
| template<class ... TT> | |
| void | linkRelatedCommandList (std::set< std::string > &cmdList) |
| void | linkRelatedSection (Command &cmd, const CommandSection §ion) |
Additional Inherited Members | |
Protected Member Functions inherited from CommandInstaller< PREFIX, SECTION > | |
| CommandInstaller (CommandBank &bank=getCommandBank()) | |
| template<class CMD > | |
| Command & | install (const std::string &name, char alias=0) |
| Install command initialized and stored by command bank. | |
| template<class CMD > | |
| Command & | install (char alias=0) |
| Install external command. | |
| template<class CMD > | |
| Command & | install (CMD &cmdExt, const std::string &name, char alias=0) |
| Install external command. | |
| template<class CMD > | |
| Command & | install (CMD &cmdExt, char alias=0) |
| Install external command. | |
Static Protected Member Functions inherited from CommandInstaller< PREFIX, SECTION > | |
| static const CommandSection & | getSection () |
| static char | getPrefix () |
| Return the character used as prefix for the commands in this section. | |
| template<class CMD > | |
| static Command & | installShared (const std::string &name, char alias=0) |
| Install to shared (global) CommandBank. | |
| template<class CMD > | |
| static Command & | installShared (char alias=0) |
| Install to shared (global) CommandBank. | |
Protected Attributes inherited from CommandInstaller< PREFIX, SECTION > | |
| CommandBank & | cmdBank |
Combines command installation and sectioning.
| prefix | - 'c' |
| name | - "cart" |
|
inline |
| prefix | - 'c' |
| name | - "cart" |
|
inline |
If CMD_NEW is given (ie. different from CMD), add it to recommended alternatives.
|
inline |
If CMD_NEW is given (ie. different from CMD), add it to recommended alternatives.
|
inline |
Not static, because cmdBank addressed.
|
inline |
Command parameter is used only for referring to the static command provided by CommandBank.
1.9.8