CommandDelegate.h
Go to the documentation of this file.
1 /*
2  * CommandDelegate.h
3  *
4  * Created on: 2 jul. 2015
5  * Author: Herman
6  */
11 #pragma once
12 
13 #include <WString.h>
14 #include <WHashMap.h>
15 #include "CommandOutput.h"
16 
24 
27 {
28 public:
35  CommandDelegate(String reqName, String reqHelp, String reqGroup, CommandFunctionDelegate reqFunction)
36  : commandName(reqName), commandHelp(reqHelp), commandGroup(reqGroup), commandFunction(reqFunction)
37  {
38  }
39 
41  {
42  }
43 
48 };
49 
CommandDelegate(String reqName, String reqHelp, String reqGroup, CommandFunctionDelegate reqFunction)
Definition: CommandDelegate.h:35
The String class.
Definition: WString.h:136
CommandFunctionDelegate commandFunction
Command Delegate (function that is called when command is invoked)
Definition: CommandDelegate.h:47
String commandGroup
Command group.
Definition: CommandDelegate.h:46
String commandHelp
Command help.
Definition: CommandDelegate.h:45
String commandName
Command name.
Definition: CommandDelegate.h:44
Command delegate class.
Definition: CommandDelegate.h:26
CommandDelegate()
Definition: CommandDelegate.h:40