Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcCommandExecutive.h File Reference
Include dependency graph for tcCommandExecutive.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tcCommandExecutive
 

Macros

#define MENU_FUNCTION_DECL(name)
 

Macro Definition Documentation

◆ MENU_FUNCTION_DECL

#define MENU_FUNCTION_DECL (   name)
Value:
static void name (void* me) { ((tcCommandExecutive*)me)-> name (); } \
void name ();

Okay so I hate typing too, but that's no reason to make all these functions static where they can't access any member variables. This macro makes along with the trampoline parameter me which was added to the menu function table calls lets us use member functions and allows us to avoid a lot of extra typing for each and every function declaration.

tcCommandExecutive
Definition: tcCommandExecutive.h:29