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 
30 {
31  // Hashmap uses CommandDelegate() contructor when extending size
32  friend class HashMap<String, CommandDelegate>;
33 
34 public:
41  CommandDelegate(String reqName, String reqHelp, String reqGroup, CommandFunctionDelegate reqFunction);
43 
48 
49 private:
51 };
52 
HashMap class template.
Definition: WHashMap.h:39
The String class.
Definition: WString.h:136
CommandFunctionDelegate commandFunction
Command Delegate (function that is called when command is invoked)
Definition: CommandDelegate.h:47
#define SMING_DEPRECATED
Definition: sming_attr.h:30
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:29