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

#include "gtk-manager.h"

Collaboration diagram for octave::gtk_manager:

Public Member Functions

 gtk_manager (void)
 
 ~gtk_manager (void)
 
Cell available_toolkits_list (void) const
 
std::string default_toolkit (void) const
 
graphics_toolkit find_toolkit (const std::string &name) const
 
graphics_toolkit get_toolkit (void) const
 
void load_toolkit (const graphics_toolkit &tk)
 
Cell loaded_toolkits_list (void) const
 
void register_toolkit (const std::string &name)
 
void unload_all_toolkits (void)
 
void unload_toolkit (const std::string &name)
 
void unregister_toolkit (const std::string &name)
 

Private Attributes

std::set< std::string > available_toolkits
 
std::string dtk
 
std::map< std::string, graphics_toolkitloaded_toolkits
 

Detailed Description

Definition at line 40 of file gtk-manager.h.

Constructor & Destructor Documentation

◆ gtk_manager()

octave::gtk_manager::gtk_manager ( void  )
inline

Definition at line 44 of file gtk-manager.h.

◆ ~gtk_manager()

octave::gtk_manager::~gtk_manager ( void  )
inline

Definition at line 46 of file gtk-manager.h.

References unload_all_toolkits().

Member Function Documentation

◆ available_toolkits_list()

Cell octave::gtk_manager::available_toolkits_list ( void  ) const
inline

Definition at line 77 of file gtk-manager.h.

References available_toolkits, and m.

Referenced by Favailable_graphics_toolkits().

◆ default_toolkit()

std::string octave::gtk_manager::default_toolkit ( void  ) const
inline

Definition at line 115 of file gtk-manager.h.

References dtk.

Referenced by gh_manager::gh_manager(), and default_graphics_toolkit().

◆ find_toolkit()

graphics_toolkit octave::gtk_manager::find_toolkit ( const std::string &  name) const
inline

Definition at line 67 of file gtk-manager.h.

References loaded_toolkits, and name.

Referenced by figure::properties::set___graphics_toolkit__().

◆ get_toolkit()

graphics_toolkit octave::gtk_manager::get_toolkit ( void  ) const

Definition at line 39 of file gtk-manager.cc.

References available_toolkits, dtk, error(), octave::feval(), loaded_toolkits, and retval.

◆ load_toolkit()

void octave::gtk_manager::load_toolkit ( const graphics_toolkit tk)
inline

◆ loaded_toolkits_list()

Cell octave::gtk_manager::loaded_toolkits_list ( void  ) const
inline

Definition at line 88 of file gtk-manager.h.

References loaded_toolkits, and m.

Referenced by Floaded_graphics_toolkits().

◆ register_toolkit()

void octave::gtk_manager::register_toolkit ( const std::string &  name)

Definition at line 74 of file gtk-manager.cc.

References available_toolkits, dtk, and name.

Referenced by Fregister_graphics_toolkit(), and octave::graphics_init().

◆ unload_all_toolkits()

void octave::gtk_manager::unload_all_toolkits ( void  )
inline

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

References loaded_toolkits, name, and unload_toolkit().

Referenced by ~gtk_manager(), and octave::interpreter::shutdown().

◆ unload_toolkit()

void octave::gtk_manager::unload_toolkit ( const std::string &  name)
inline

Definition at line 62 of file gtk-manager.h.

References loaded_toolkits, and name.

Referenced by unload_all_toolkits().

◆ unregister_toolkit()

void octave::gtk_manager::unregister_toolkit ( const std::string &  name)

Definition at line 85 of file gtk-manager.cc.

References available_toolkits, dtk, and name.

Member Data Documentation

◆ available_toolkits

std::set<std::string> octave::gtk_manager::available_toolkits
private

◆ dtk

std::string octave::gtk_manager::dtk
private

Definition at line 120 of file gtk-manager.h.

Referenced by default_toolkit(), get_toolkit(), register_toolkit(), and unregister_toolkit().

◆ loaded_toolkits

std::map<std::string, graphics_toolkit> octave::gtk_manager::loaded_toolkits
private

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