|
Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
Command delegate class. More...
#include <CommandDelegate.h>
Public Member Functions | |
| CommandDelegate (String reqName, String reqHelp, String reqGroup, commandFunctionDelegate reqFunction) | |
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 > |
Command delegate class.
| CommandDelegate::CommandDelegate | ( | String | reqName, |
| String | reqHelp, | ||
| String | reqGroup, | ||
| commandFunctionDelegate | reqFunction | ||
| ) |
Instantiate a command delegate
| 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 |
| commandFunctionDelegate CommandDelegate::commandFunction |
Command Delegate (function that is called when command is invoked)
| String CommandDelegate::commandGroup |
Command group.
| String CommandDelegate::commandHelp |
Command help.
| String CommandDelegate::commandName |
Command name.