CommandDelegate Class Reference
Command delegate class. More...
#include <CommandDelegate.h>
Collaboration diagram for CommandDelegate:
Public Member Functions | |
CommandDelegate (String reqName, String reqHelp, String reqGroup, CommandFunctionDelegate reqFunction) | |
~CommandDelegate () | |
Public Attributes | |
String | commandName |
Command name. More... | |
String | commandHelp |
Command help. More... | |
String | commandGroup |
Command group. More... | |
CommandFunctionDelegate | commandFunction |
Command Delegate (function that is called when command is invoked) More... | |
Friends | |
class | HashMap< String, CommandDelegate > |
Detailed Description
Command delegate class.
Constructor & Destructor Documentation
◆ CommandDelegate()
CommandDelegate::CommandDelegate | ( | String | reqName, |
String | reqHelp, | ||
String | reqGroup, | ||
CommandFunctionDelegate | reqFunction | ||
) |
Instantiate a command delegate
- Parameters
-
reqName Command name - the text a user types to invoke the command reqHelp Help message shown by CLI "help" command reqGroup The command group to which this command belongs reqFunction Delegate that should be invoked (triggered) when the command is entered by a user
◆ ~CommandDelegate()
CommandDelegate::~CommandDelegate | ( | ) |
Friends And Related Function Documentation
◆ HashMap< String, CommandDelegate >
|
friend |
Member Data Documentation
◆ commandFunction
CommandFunctionDelegate CommandDelegate::commandFunction |
Command Delegate (function that is called when command is invoked)
◆ commandGroup
String CommandDelegate::commandGroup |
Command group.
◆ commandHelp
String CommandDelegate::commandHelp |
Command help.
◆ commandName
String CommandDelegate::commandName |
Command name.
The documentation for this class was generated from the following file: