#include <CommandShell.h>
Public Member Functions | |
CommandShell (const std::string &prompt_str, const std::string &service_name, CommandInterpreterPtr &, PropertiesPtr &) | |
~CommandShell () | |
int | run () |
bool | silent () |
bool | test_mode () |
void | set_namespace (const String &ns) |
void | set_line_command_mode (bool val) |
Static Public Member Functions | |
static void | add_options (PropertiesDesc &) |
Static Public Attributes | |
static String | ms_history_file = "" |
Private Member Functions | |
char * | rl_gets () |
Static Private Member Functions | |
static const wchar_t * | prompt (EditLine *el) |
Private Attributes | |
CommandInterpreterPtr | m_interp_ptr |
PropertiesPtr | m_props |
NotifierPtr | m_notifier_ptr |
String | m_accum |
bool | m_verbose |
bool | m_batch_mode {} |
bool | m_silent {} |
bool | m_test_mode {} |
bool | m_no_prompt {} |
bool | m_line_command_mode {} |
bool | m_cont {} |
char * | m_line_read {} |
bool | m_notify {} |
bool | m_has_cmd_file {} |
bool | m_has_cmd_exec {} |
String | m_input_str |
std::string | m_prompt |
std::wstring | m_wprompt |
std::string | m_service_name |
String | m_cmd_str |
String | m_cmd_file |
String | m_namespace |
EditLine * | m_editline |
HistoryW * | m_history |
HistEventW | m_history_event |
TokenizerW * | m_tokenizer |
Static Private Attributes | |
static CommandShell * | ms_instance |
Definition at line 38 of file CommandShell.h.
CommandShell::CommandShell | ( | const std::string & | prompt_str, |
const std::string & | service_name, | ||
CommandInterpreterPtr & | interp_ptr, | ||
PropertiesPtr & | props | ||
) |
Definition at line 203 of file CommandShell.cc.
CommandShell::~CommandShell | ( | ) |
Definition at line 288 of file CommandShell.cc.
|
static |
Definition at line 388 of file CommandShell.cc.
|
staticprivate |
Definition at line 638 of file CommandShell.cc.
|
private |
Definition at line 299 of file CommandShell.cc.
int CommandShell::run | ( | ) |
Add commands to queue
Definition at line 404 of file CommandShell.cc.
|
inline |
Definition at line 50 of file CommandShell.h.
|
inline |
Definition at line 49 of file CommandShell.h.
|
inline |
Definition at line 47 of file CommandShell.h.
|
inline |
Definition at line 48 of file CommandShell.h.
|
private |
Definition at line 65 of file CommandShell.h.
|
private |
Definition at line 67 of file CommandShell.h.
|
private |
Definition at line 82 of file CommandShell.h.
|
private |
Definition at line 81 of file CommandShell.h.
|
private |
Definition at line 72 of file CommandShell.h.
|
private |
Definition at line 85 of file CommandShell.h.
|
private |
Definition at line 76 of file CommandShell.h.
|
private |
Definition at line 75 of file CommandShell.h.
|
private |
Definition at line 86 of file CommandShell.h.
|
private |
Definition at line 87 of file CommandShell.h.
|
private |
Definition at line 77 of file CommandShell.h.
|
private |
Definition at line 61 of file CommandShell.h.
|
private |
Definition at line 71 of file CommandShell.h.
|
private |
Definition at line 73 of file CommandShell.h.
|
private |
Definition at line 83 of file CommandShell.h.
|
private |
Definition at line 70 of file CommandShell.h.
|
private |
Definition at line 63 of file CommandShell.h.
|
private |
Definition at line 74 of file CommandShell.h.
|
private |
Definition at line 78 of file CommandShell.h.
|
private |
Definition at line 62 of file CommandShell.h.
|
private |
Definition at line 80 of file CommandShell.h.
|
private |
Definition at line 68 of file CommandShell.h.
|
private |
Definition at line 69 of file CommandShell.h.
|
private |
Definition at line 88 of file CommandShell.h.
|
private |
Definition at line 66 of file CommandShell.h.
|
private |
Definition at line 79 of file CommandShell.h.
|
static |
Definition at line 54 of file CommandShell.h.
|
staticprivate |
Definition at line 58 of file CommandShell.h.