|
Electroneum
|
#include <console_handler.h>


Public Member Functions | |
| bool | start_handling (std::function< std::string(void)> prompt, const std::string &usage_string="", std::function< void(void)> exit_handler=NULL) |
| bool | start_handling (const std::string &prompt, const std::string &usage_string="", std::function< void(void)> exit_handler=NULL) |
| void | stop_handling () |
| bool | run_handling (std::function< std::string(void)> prompt, const std::string &usage_string, std::function< void(void)> exit_handler=NULL) |
| void | print_prompt () |
| Public Member Functions inherited from epee::command_handler | |
| std::string | get_usage () |
| std::pair< std::string, std::string > | get_documentation (const std::vector< std::string > &cmd) |
| void | set_handler (const std::string &cmd, const callback &hndlr, const std::string &usage="", const std::string &description="") |
| bool | process_command_vec (const std::vector< std::string > &cmd) |
| bool | process_command_str (const std::string &cmd) |
Additional Inherited Members | |
| Public Types inherited from epee::command_handler | |
| typedef boost::function< bool(const std::vector< std::string > &)> | callback |
| typedef std::map< std::string, std::pair< callback, std::pair< std::string, std::string > > > | lookup |
Definition at line 543 of file console_handler.h.
|
inline |
Definition at line 571 of file console_handler.h.
|
inline |
Definition at line 566 of file console_handler.h.


|
inline |
Definition at line 556 of file console_handler.h.

|
inline |
Definition at line 550 of file console_handler.h.


|
inline |
Definition at line 561 of file console_handler.h.