#include "interpreter-qobject.h"
Public Slots | |
void | execute (void) |
Initialize and execute the octave interpreter. More... | |
Signals | |
void | ready (void) |
void | shutdown_finished (int) |
Public Member Functions | |
interpreter_qobject (base_qobject &oct_qobj) | |
~interpreter_qobject (void)=default | |
void | interpreter_event (const fcn_callback &fcn) |
void | interpreter_event (const meth_callback &meth) |
void | interrupt (void) |
void | pause (void) |
qt_interpreter_events * | qt_link (void) |
void | resume (void) |
void | stop (void) |
Private Attributes | |
interpreter * | m_interpreter |
base_qobject & | m_octave_qobj |
Definition at line 39 of file interpreter-qobject.h.
interpreter_qobject::interpreter_qobject | ( | base_qobject & | oct_qobj | ) |
Definition at line 41 of file interpreter-qobject.cc.
|
default |
|
slot |
Initialize and execute the octave interpreter.
Definition at line 45 of file interpreter-qobject.cc.
References base_qobject::app_context(), event_manager::connect_link(), application::create_interpreter(), event_manager::enable(), interpreter::execute(), base_qobject::experimental_terminal_widget(), interpreter::get_event_manager(), interpreter::get_input_system(), base_qobject::get_qt_interpreter_events(), graphics_init(), interpreter::initialize(), interpreter::initialized(), event_manager::install_qt_event_handlers(), m_interpreter, m_octave_qobj, input_system::PS1(), input_system::PS2(), ready(), shutdown_finished(), and qt_application::start_gui_p().
void interpreter_qobject::interpreter_event | ( | const fcn_callback & | fcn | ) |
Definition at line 113 of file interpreter-qobject.cc.
References interpreter::get_event_manager(), m_interpreter, and event_manager::post_event().
Referenced by base_qobject::interpreter_event(), and resume().
void interpreter_qobject::interpreter_event | ( | const meth_callback & | meth | ) |
Definition at line 123 of file interpreter-qobject.cc.
References interpreter::get_event_manager(), m_interpreter, and event_manager::post_event().
void interpreter_qobject::interrupt | ( | void | ) |
Definition at line 133 of file interpreter-qobject.cc.
References interpreter::interrupt(), and m_interpreter.
Referenced by base_qobject::interpreter_interrupt().
void interpreter_qobject::pause | ( | void | ) |
Definition at line 144 of file interpreter-qobject.cc.
References base_qobject::experimental_terminal_widget(), m_interpreter, m_octave_qobj, and interpreter::pause().
Referenced by base_qobject::interpreter_pause().
qt_interpreter_events * interpreter_qobject::qt_link | ( | void | ) |
Definition at line 198 of file interpreter-qobject.cc.
References m_octave_qobj, and base_qobject::qt_link().
Referenced by main_window::adopt_editor_widget(), main_window::construct(), main_window::construct_octave_qt_link(), main_window::file_remove_proxy(), and main_window::handle_set_path_dialog_request().
|
signal |
Referenced by base_qobject::base_qobject(), execute(), and base_qobject::start_gui().
void interpreter_qobject::resume | ( | void | ) |
Definition at line 178 of file interpreter-qobject.cc.
References base_qobject::experimental_terminal_widget(), interpreter_event(), m_octave_qobj, and interpreter::resume().
Referenced by base_qobject::interpreter_resume().
|
signal |
Referenced by base_qobject::base_qobject(), and execute().
void interpreter_qobject::stop | ( | void | ) |
Definition at line 161 of file interpreter-qobject.cc.
References base_qobject::experimental_terminal_widget(), m_interpreter, m_octave_qobj, and interpreter::stop().
Referenced by base_qobject::interpreter_stop().
|
private |
Definition at line 97 of file interpreter-qobject.h.
Referenced by execute(), interpreter_event(), interrupt(), pause(), and stop().
|
private |