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

#include "event-manager.h"

Public Types

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

Public Member Functions

 interpreter_events ()=default
 
 interpreter_events (const interpreter_events &)=default
 
virtual ~interpreter_events ()=default
 
virtual void append_history (const std::string &)
 
virtual void apply_preferences ()
 
virtual void clear_history ()
 
virtual void clear_workspace ()
 
virtual void close_gui ()
 
virtual bool confirm_shutdown ()
 
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 void display_exception (const execution_exception &ee, bool beep)
 
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 ()
 
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 void gui_status_update (const std::string &, const std::string &)
 
virtual bool have_dialogs () const
 
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 void interpreter_interrupted ()
 
virtual void interpreter_output (const 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 ()
 
virtual void pre_input_event ()
 
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_documentation (const std::string &)
 
virtual void set_history (const string_vector &)
 
virtual void set_workspace (bool, bool, const symbol_info_list &, bool)
 
virtual void show_command_history ()
 
virtual void show_community_news (int)
 
virtual bool show_documentation (const std::string &)
 
virtual void show_file_browser ()
 
virtual void show_preferences ()
 
virtual void show_release_notes ()
 
virtual void show_terminal_window ()
 
virtual void show_workspace ()
 
virtual void start_gui (bool=false)
 
virtual void unregister_documentation (const std::string &)
 
virtual void update_breakpoint (bool, const std::string &, int, const std::string &)
 
virtual void update_gui_lexer ()
 
virtual void update_path_dialog ()
 
virtual void update_prompt (const std::string &)
 

Detailed Description

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

Member Typedef Documentation

◆ filter_list

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

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

Constructor & Destructor Documentation

◆ interpreter_events() [1/2]

interpreter_events::interpreter_events ( )
default

◆ interpreter_events() [2/2]

interpreter_events::interpreter_events ( const interpreter_events )
default

◆ ~interpreter_events()

virtual interpreter_events::~interpreter_events ( )
virtualdefault

Member Function Documentation

◆ append_history()

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

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

◆ apply_preferences()

virtual void interpreter_events::apply_preferences ( )
inlinevirtual

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

◆ clear_history()

virtual void interpreter_events::clear_history ( )
inlinevirtual

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

◆ clear_workspace()

virtual void interpreter_events::clear_workspace ( )
inlinevirtual

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

◆ close_gui()

virtual void interpreter_events::close_gui ( )
inlinevirtual

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

◆ confirm_shutdown()

virtual bool interpreter_events::confirm_shutdown ( )
inlinevirtual

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

◆ copy_image_to_clipboard()

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

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

◆ debug_cd_or_addpath_error()

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

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

◆ directory_changed()

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

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

◆ display_exception()

void interpreter_events::display_exception ( const execution_exception ee,
bool  beep 
)
virtual

Definition at line 59 of file event-manager.cc.

◆ edit_file()

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

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

◆ edit_variable()

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

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

◆ enter_debugger_event()

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

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

◆ execute_command_in_terminal()

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

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

◆ execute_in_debugger_event()

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

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

◆ exit_debugger_event()

virtual void interpreter_events::exit_debugger_event ( )
inlinevirtual

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

◆ file_dialog()

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

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

◆ file_remove()

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

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

◆ file_renamed()

virtual void interpreter_events::file_renamed ( bool  )
inlinevirtual

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

◆ focus_window()

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

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

◆ get_named_icon()

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

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

◆ gui_preference()

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

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

◆ gui_status_update()

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

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

◆ have_dialogs()

virtual bool interpreter_events::have_dialogs ( ) const
inlinevirtual

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

◆ input_dialog()

virtual std::list<std::string> 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

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

◆ interpreter_interrupted()

virtual void interpreter_events::interpreter_interrupted ( )
inlinevirtual

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

◆ interpreter_output()

virtual void interpreter_events::interpreter_output ( const std::string &  )
inlinevirtual

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

◆ list_dialog()

virtual std::pair<std::list<int>, int> 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

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

◆ operator=()

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

◆ post_input_event()

virtual void interpreter_events::post_input_event ( )
inlinevirtual

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

◆ pre_input_event()

virtual void interpreter_events::pre_input_event ( )
inlinevirtual

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

◆ prompt_new_edit_file()

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

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

◆ question_dialog()

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

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

◆ register_documentation()

virtual void interpreter_events::register_documentation ( const std::string &  )
inlinevirtual

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

◆ set_history()

virtual void interpreter_events::set_history ( const string_vector )
inlinevirtual

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

◆ set_workspace()

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

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

◆ show_command_history()

virtual void interpreter_events::show_command_history ( )
inlinevirtual

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

◆ show_community_news()

virtual void interpreter_events::show_community_news ( int  )
inlinevirtual

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

◆ show_documentation()

virtual bool interpreter_events::show_documentation ( const std::string &  )
inlinevirtual

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

◆ show_file_browser()

virtual void interpreter_events::show_file_browser ( )
inlinevirtual

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

◆ show_preferences()

virtual void interpreter_events::show_preferences ( )
inlinevirtual

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

◆ show_release_notes()

virtual void interpreter_events::show_release_notes ( )
inlinevirtual

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

◆ show_terminal_window()

virtual void interpreter_events::show_terminal_window ( )
inlinevirtual

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

◆ show_workspace()

virtual void interpreter_events::show_workspace ( )
inlinevirtual

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

◆ start_gui()

virtual void interpreter_events::start_gui ( bool  = false)
inlinevirtual

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

◆ unregister_documentation()

virtual void interpreter_events::unregister_documentation ( const std::string &  )
inlinevirtual

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

◆ update_breakpoint()

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

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

◆ update_gui_lexer()

virtual void interpreter_events::update_gui_lexer ( )
inlinevirtual

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

◆ update_path_dialog()

virtual void interpreter_events::update_path_dialog ( )
inlinevirtual

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

◆ update_prompt()

virtual void interpreter_events::update_prompt ( const std::string &  )
inlinevirtual

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


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