Public Types | Public Member Functions | List of all members
CommandModule< PREFIX, SECTION > Class Template Reference

Combines command installation and sectioning. More...

#include <CommandInstaller.h>

Inheritance diagram for CommandModule< PREFIX, SECTION >:
Inheritance graph
[legend]
Collaboration diagram for CommandModule< PREFIX, SECTION >:
Collaboration graph
[legend]

Public Types

typedef CommandModule< PREFIX, SECTION > module_t
 

Public Member Functions

 CommandModule (CommandBank &bank=getCommandBank())
 

Additional Inherited Members

- Protected Member Functions inherited from CommandInstaller< 0, GeneralSection >
 CommandInstaller (CommandBank &bank=getCommandBank())
 
Commandinstall (const std::string &name, char alias=0)
 
Commandinstall (char alias=0)
 
CommandinstallExternal (CMD &cmdExt, const std::string &name, char alias=0)
 
CommandinstallExternal (CMD &cmdExt, char alias=0)
 
- Static Protected Member Functions inherited from CommandInstaller< 0, GeneralSection >
static const CommandSectiongetSection ()
 
static char getPrefix ()
 Return the character used as prefix for the commands in this section.
 
static CommandinstallShared (const std::string &name, char alias=0)
 Install to shared CommandBank.
 
static CommandinstallShared (char alias=0)
 Install to shared CommandBank.
 
- Protected Attributes inherited from CommandInstaller< 0, GeneralSection >
CommandBankcmdBank
 

Detailed Description

template<char PREFIX = 0, class SECTION = GeneralSection>
class drain::CommandModule< PREFIX, SECTION >

Combines command installation and sectioning.

Parameters
prefix- 'c'
name- "cart"

Constructor & Destructor Documentation

◆ CommandModule()

CommandModule ( CommandBank bank = getCommandBank())
inline
Parameters
prefix- 'c'
name- "cart"

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