GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::interpreter_events Class Reference

#include "event-manager.h"

Inheritance diagram for octave::interpreter_events:

Public Types

typedef std::list< std::pair< std::string, std::string > > filter_list
 

Public Member Functions

 interpreter_events (const interpreter_events &)=default
 
 interpreter_events (void)=default
 
virtual ~interpreter_events (void)=default
 
virtual void append_history (const std::string &)
 
virtual void apply_preferences (void)
 
virtual void clear_history (void)
 
virtual void clear_workspace (void)
 
virtual bool confirm_shutdown (void)
 
virtual bool copy_image_to_clipboard (const std::string &)
 
virtual int debug_cd_or_addpath_error (const std::string &, const std::string &, bool)
 
virtual void directory_changed (const std::string &)
 
virtual bool edit_file (const std::string &)
 
virtual void edit_variable (const std::string &, const octave_value &)
 
virtual void enter_debugger_event (const std::string &, const std::string &, int)
 
virtual void execute_command_in_terminal (const std::string &)
 
virtual void execute_in_debugger_event (const std::string &, int)
 
virtual void exit_debugger_event (void)
 
virtual std::list< std::string > file_dialog (const filter_list &, const std::string &, const std::string &, const std::string &, const std::string &)
 
virtual void file_remove (const std::string &, const std::string &)
 
virtual void file_renamed (bool)
 
virtual void focus_window (const std::string)
 
virtual uint8NDArray get_named_icon (const std::string &)
 
virtual std::string gui_preference (const std::string &, const std::string &)
 
virtual std::list< std::string > input_dialog (const std::list< std::string > &, const std::string &, const std::list< float > &, const std::list< float > &, const std::list< std::string > &)
 
virtual std::pair< std::list< int >, int > list_dialog (const std::list< std::string > &, const std::string &, int, int, const std::list< int > &, const std::string &, const std::list< std::string > &, const std::string &, const std::string &)
 
interpreter_eventsoperator= (const interpreter_events &)=default
 
virtual void post_input_event (void)
 
virtual void pre_input_event (void)
 
virtual bool prompt_new_edit_file (const std::string &)
 
virtual std::string question_dialog (const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, const std::string &)
 
virtual void register_doc (const std::string &)
 
virtual void set_history (const string_vector &)
 
virtual void set_workspace (bool, bool, const octave::symbol_info_list &, bool)
 
virtual void show_doc (const std::string &)
 
virtual void show_preferences (void)
 
virtual void unregister_doc (const std::string &)
 
virtual void update_breakpoint (bool, const std::string &, int, const std::string &)
 
virtual void update_path_dialog (void)
 

Detailed Description

Definition at line 76 of file event-manager.h.

Member Typedef Documentation

◆ filter_list

typedef std::list<std::pair<std::string, std::string> > octave::interpreter_events::filter_list

Definition at line 90 of file event-manager.h.

Constructor & Destructor Documentation

◆ interpreter_events() [1/2]

octave::interpreter_events::interpreter_events ( void  )
default

◆ interpreter_events() [2/2]

octave::interpreter_events::interpreter_events ( const interpreter_events )
default

◆ ~interpreter_events()

virtual octave::interpreter_events::~interpreter_events ( void  )
virtualdefault

Member Function Documentation

◆ append_history()

virtual void octave::interpreter_events::append_history ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 219 of file event-manager.h.

◆ apply_preferences()

virtual void octave::interpreter_events::apply_preferences ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 136 of file event-manager.h.

◆ clear_history()

virtual void octave::interpreter_events::clear_history ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 221 of file event-manager.h.

◆ clear_workspace()

virtual void octave::interpreter_events::clear_workspace ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 215 of file event-manager.h.

◆ confirm_shutdown()

virtual bool octave::interpreter_events::confirm_shutdown ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 150 of file event-manager.h.

◆ copy_image_to_clipboard()

virtual bool octave::interpreter_events::copy_image_to_clipboard ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 183 of file event-manager.h.

◆ debug_cd_or_addpath_error()

virtual int octave::interpreter_events::debug_cd_or_addpath_error ( const std::string &  ,
const std::string &  ,
bool   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 158 of file event-manager.h.

◆ directory_changed()

virtual void octave::interpreter_events::directory_changed ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 201 of file event-manager.h.

◆ edit_file()

virtual bool octave::interpreter_events::edit_file ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 140 of file event-manager.h.

◆ edit_variable()

virtual void octave::interpreter_events::edit_variable ( const std::string &  ,
const octave_value  
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 143 of file event-manager.h.

◆ enter_debugger_event()

virtual void octave::interpreter_events::enter_debugger_event ( const std::string &  ,
const std::string &  ,
int   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 228 of file event-manager.h.

◆ execute_command_in_terminal()

virtual void octave::interpreter_events::execute_command_in_terminal ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 192 of file event-manager.h.

◆ execute_in_debugger_event()

virtual void octave::interpreter_events::execute_in_debugger_event ( const std::string &  ,
int   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 234 of file event-manager.h.

◆ exit_debugger_event()

virtual void octave::interpreter_events::exit_debugger_event ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 236 of file event-manager.h.

◆ file_dialog()

virtual std::list<std::string> octave::interpreter_events::file_dialog ( const filter_list ,
const std::string &  ,
const std::string &  ,
const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 93 of file event-manager.h.

◆ file_remove()

virtual void octave::interpreter_events::file_remove ( const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 204 of file event-manager.h.

◆ file_renamed()

virtual void octave::interpreter_events::file_renamed ( bool  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 207 of file event-manager.h.

◆ focus_window()

virtual void octave::interpreter_events::focus_window ( const std::string  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 188 of file event-manager.h.

◆ get_named_icon()

virtual uint8NDArray octave::interpreter_events::get_named_icon ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 167 of file event-manager.h.

◆ gui_preference()

virtual std::string octave::interpreter_events::gui_preference ( const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 172 of file event-manager.h.

◆ input_dialog()

virtual std::list<std::string> octave::interpreter_events::input_dialog ( const std::list< std::string > &  ,
const std::string &  ,
const std::list< float > &  ,
const std::list< float > &  ,
const std::list< std::string > &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 103 of file event-manager.h.

◆ list_dialog()

virtual std::pair<std::list<int>, int> octave::interpreter_events::list_dialog ( const std::list< std::string > &  ,
const std::string &  ,
int  ,
int  ,
const std::list< int > &  ,
const std::string &  ,
const std::list< std::string > &  ,
const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 113 of file event-manager.h.

◆ operator=()

interpreter_events& octave::interpreter_events::operator= ( const interpreter_events )
default

◆ post_input_event()

virtual void octave::interpreter_events::post_input_event ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 225 of file event-manager.h.

◆ pre_input_event()

virtual void octave::interpreter_events::pre_input_event ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 223 of file event-manager.h.

◆ prompt_new_edit_file()

virtual bool octave::interpreter_events::prompt_new_edit_file ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 152 of file event-manager.h.

◆ question_dialog()

virtual std::string octave::interpreter_events::question_dialog ( const std::string &  ,
const std::string &  ,
const std::string &  ,
const std::string &  ,
const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 125 of file event-manager.h.

◆ register_doc()

virtual void octave::interpreter_events::register_doc ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 194 of file event-manager.h.

◆ set_history()

virtual void octave::interpreter_events::set_history ( const string_vector )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 217 of file event-manager.h.

◆ set_workspace()

virtual void octave::interpreter_events::set_workspace ( bool  ,
bool  ,
const octave::symbol_info_list ,
bool   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 210 of file event-manager.h.

◆ show_doc()

virtual void octave::interpreter_events::show_doc ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 138 of file event-manager.h.

◆ show_preferences()

virtual void octave::interpreter_events::show_preferences ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 134 of file event-manager.h.

◆ unregister_doc()

virtual void octave::interpreter_events::unregister_doc ( const std::string &  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 196 of file event-manager.h.

◆ update_breakpoint()

virtual void octave::interpreter_events::update_breakpoint ( bool  ,
const std::string &  ,
int  ,
const std::string &   
)
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 239 of file event-manager.h.

◆ update_path_dialog()

virtual void octave::interpreter_events::update_path_dialog ( void  )
inlinevirtual

Reimplemented in octave::qt_interpreter_events.

Definition at line 132 of file event-manager.h.


The documentation for this class was generated from the following file: