Command delegate class.
More...
#include <Command.h>
◆ Callback
Command delegate function.
- Parameters
-
commandLine | Command line entered by user at CLI, including command and parameters |
commandOutput | Pointer to the CLI print stream |
- Note
- CommandFunctionDelegate defines the structure of a function that handles individual commands
-
Can use standard print functions on commandOutput
◆ Command() [1/2]
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 |
◆ Command() [2/2]
CommandProcessing::Command::Command |
( |
| ) |
|
|
inline |
◆ callback
Callback CommandProcessing::Command::callback |
◆ description
String CommandProcessing::Command::description |
◆ group
String CommandProcessing::Command::group |
◆ name
String CommandProcessing::Command::name |
The documentation for this class was generated from the following file: