An instance of this class can be used as a GenericMainMenu::CommandCallback, in situations where the callback is a method to be invoked on a target object. More...
#include <GenericMainMenu.h>
Public Member Functions | |
CommandCallbackMethod (ObjectClass &object) | |
Constructor. |
An instance of this class can be used as a GenericMainMenu::CommandCallback, in situations where the callback is a method to be invoked on a target object.
When invoking this constructor, the target object is the constructor argument, and the target object class and method are template parameters. The target object's method must have an appropriate signature for CommandCallback: one string argument, void return.
|
inline |
Constructor.
object | The object on which to invoke the callback method. |