Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcCommandExecutive.h
Go to the documentation of this file.
1 
2 #ifndef tcCommandExecutive_H_
3 #define tcCommandExecutive_H_
4 
6 
11 #define MENU_FUNCTION_DECL(name) \
12  static void name (void* me) { ((tcCommandExecutive*)me)-> name (); } \
13  void name ();
14 
15 
30 {
31 public:
32  tcCommandExecutive (const char *appname);
33 
34 protected:
35  void show_dbg (const char *prompt, int val);
36 
37 protected:
38  MENU_FUNCTION_DECL (process_version );
39  MENU_FUNCTION_DECL (process_dbg );
40  MENU_FUNCTION_DECL (process_greg );
41  MENU_FUNCTION_DECL (process_sreg );
42 };
43 
44 #undef MENU_FUNCTION_DECL // We don't need this anymore
45 
46 
47 
48 #endif // tcCommandExecutive_H_
49 
tcCommandExecutive::tcCommandExecutive
tcCommandExecutive(const char *appname)
Constructor, Create an input thread and then populate the menu and the help menu.
Definition: tcCommandExecutive.cpp:21
tcCommandExecutive::show_dbg
void show_dbg(const char *prompt, int val)
Definition: tcCommandExecutive.cpp:61
tcCommandExecutiveBase
Definition: tcCommandExecutiveBase.h:36
tcCommandExecutive
Definition: tcCommandExecutive.h:29
tcCommandExecutive::MENU_FUNCTION_DECL
MENU_FUNCTION_DECL(process_version)
tcCommandExecutiveBase.h