|
void | show_dbg (const char *prompt, int val) |
|
| MENU_FUNCTION_DECL (process_version) |
|
| MENU_FUNCTION_DECL (process_dbg) |
|
| MENU_FUNCTION_DECL (process_greg) |
|
| MENU_FUNCTION_DECL (process_sreg) |
|
Protected Member Functions inherited from tcCommandExecutiveBase |
void | add_cmnd (const char *cmnd, tpVoidFunc func, const char *desc) |
|
void | add_seperator () |
|
| MENU_FUNCTION_DECL (process_help) |
|
void | conditionalRead (unsigned int anTabs, const char *apMessage) |
|
bool | ask_on_off (const char *prompt, bool allowempty=false, bool dflt=false) |
| Generic "on/off" asker. More...
|
|
bool | ask_yes_no (const char *prompt, bool allowempty=false, bool dflt=false) |
| Generic "yes/no" asker. More...
|
|
double | ask_double (const char *prompt, bool allowempty=false, double dflt=0) |
|
float | ask_float (const char *prompt, bool allowempty=false, float dflt=0) |
|
uint32_t | ask_uint (const char *prompt, bool allowempty=false, uint32_t dflt=0) |
|
int32_t | ask_int (const char *prompt, bool allowempty=false, int32_t dflt=0) |
|
std::string | ask_string (const char *prompt, bool allowempty=false, const char *dflt="") |
|
void | ReadUserInput () |
|
void | UserInputLoop () |
|
tpVoidFunc | get_func (const char *cmnd) |
|
tsCmndFunc * | get_cmndfunc (const char *cmnd) |
|
void | printHelp (const char *cmnd) |
| Prints either a single command, all commands, or an error, depending on the help string. More...
|
|
void | printHelpGeneric (const tsCmndFunc *tcf) const |
| Prints generic formatted help for the specfied command and info. More...
|
|
void | printHelpAll () const |
|
This class forms the basis of ARM input operations, allowing the programmer to easily write a generic set of commands which will be performed as guided by a parent tpVoidFunc container method. By initializing the command map to translate the desired command into this function call, the new parent tpVoidFunc will automatically be called within the input thread when the user types the corresponding command. Please note that this map will NOT automatically generate the Help Menu in any way, and therefore the programmer must add the command and its description to the corresponding HelpMap. As a final note, to those unfamiliar with the standard map: this is a tree-based container, and string comparisons are based on an integral translation of each string. In other words, COMMAND differs from command, and again, this must be considered in both this and the help map.