#include "octave.h"
Public Member Functions | |
application (const cmdline_options &opts=cmdline_options()) | |
application (int argc, char **argv) | |
virtual | ~application () |
virtual interpreter & | create_interpreter () |
virtual void | delete_interpreter () |
virtual int | execute ()=0 |
virtual int | execute_interpreter () |
bool | experimental_terminal_widget () const |
void | forced_interactive (bool arg) |
virtual bool | gui_running () const |
virtual void | gui_running (bool) |
bool | have_eval_option_code () const |
bool | have_script_file () const |
virtual void | initialize_interpreter () |
void | intern_argv (const string_vector &args) |
bool | interpreter_initialized () |
bool | interpreter_is_initialized () const |
bool | is_octave_program () const |
virtual bool | multi_threaded () const |
cmdline_options | options () const |
void | program_invocation_name (const std::string &nm) |
void | program_name (const std::string &nm) |
void | set_program_names (const std::string &pname) |
int | sys_argc () const |
char ** | sys_argv () const |
Static Public Member Functions | |
static application * | app () |
static string_vector | argv () |
static bool | forced_interactive () |
static bool | is_gui_running () |
static bool | is_multi_threaded () |
static std::string | program_invocation_name () |
static std::string | program_name () |
Protected Attributes | |
string_vector | m_argv |
bool | m_have_eval_option_code = false |
bool | m_have_script_file = false |
std::unique_ptr< interpreter > | m_interpreter |
bool | m_is_octave_program = false |
cmdline_options | m_options |
std::string | m_program_invocation_name |
std::string | m_program_name |
application::application | ( | const cmdline_options & | opts = cmdline_options () | ) |
|
inlinestatic |
Definition at line 316 of file octave.h.
Referenced by Fcmdline_options().
|
inlinestatic |
|
virtual |
Definition at line 356 of file octave.cc.
References m_interpreter.
Referenced by cli_application::execute().
|
virtual |
Definition at line 378 of file octave.cc.
References m_interpreter.
|
pure virtual |
Implemented in cli_application.
|
virtual |
Definition at line 372 of file octave.cc.
References m_interpreter.
bool application::experimental_terminal_widget | ( | ) | const |
Definition at line 343 of file octave.cc.
References cmdline_options::experimental_terminal_widget(), and m_options.
|
static |
Definition at line 335 of file octave.cc.
References cmdline_options::forced_interactive(), and m_options.
Referenced by Frmdir(), raw_mode(), output_system::sync(), tree_evaluator::visit_statement(), and error_system::vwarning().
|
inline |
Definition at line 310 of file octave.h.
Referenced by interpreter::interpreter().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 275 of file octave.h.
Referenced by interpreter::execute().
|
inline |
Definition at line 277 of file octave.h.
Referenced by interpreter::execute().
|
virtual |
Definition at line 365 of file octave.cc.
References m_interpreter.
void application::intern_argv | ( | const string_vector & | args | ) |
Definition at line 318 of file octave.cc.
References m_argv, string_vector::numel(), and string_vector::resize().
Referenced by interpreter::interpreter().
bool application::interpreter_is_initialized | ( | ) | const |
Definition at line 350 of file octave.cc.
References m_interpreter.
|
inlinestatic |
Definition at line 333 of file octave.h.
Referenced by F__event_manager_gui_preference__(), Fdesktop(), event_manager::file_remove(), event_manager::file_renamed(), Fisguirunning(), and event_manager::update_path_dialog().
|
inlinestatic |
Definition at line 338 of file octave.h.
Referenced by F__is_multi_threaded__().
|
inline |
Definition at line 279 of file octave.h.
Referenced by interpreter::interpreter().
|
inlinevirtual |
|
inline |
Definition at line 273 of file octave.h.
Referenced by interpreter::interpreter(), interpreter::execute(), interpreter::experimental_terminal_widget(), Fcmdline_options(), interpreter::initialize(), interpreter::initialize_history(), and interpreter::initialize_load_path().
|
inlinestatic |
Definition at line 318 of file octave.h.
Referenced by Fprogram_invocation_name().
|
inline |
|
inlinestatic |
Definition at line 323 of file octave.h.
Referenced by Fprogram_name().
|
inline |
void application::set_program_names | ( | const std::string & | pname | ) |
Definition at line 308 of file octave.cc.
References m_program_invocation_name, and m_program_name.
|
protected |
Definition at line 366 of file octave.h.
Referenced by intern_argv().
|
protected |
|
protected |
Definition at line 382 of file octave.h.
Referenced by create_interpreter(), delete_interpreter(), execute_interpreter(), initialize_interpreter(), and interpreter_is_initialized().
|
protected |
Definition at line 368 of file octave.h.
Referenced by experimental_terminal_widget(), and forced_interactive().
|
protected |
Definition at line 357 of file octave.h.
Referenced by set_program_names().
|
protected |
Definition at line 360 of file octave.h.
Referenced by set_program_names().