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

#include "gtk-manager.h"

Collaboration diagram for 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 > m_available_toolkits
 
std::string m_dtk
 
std::map< std::string, graphics_toolkitm_loaded_toolkits
 

Detailed Description

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

Constructor & Destructor Documentation

◆ gtk_manager()

gtk_manager::gtk_manager ( void  )
inline

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

◆ ~gtk_manager()

gtk_manager::~gtk_manager ( void  )
inline

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

Member Function Documentation

◆ available_toolkits_list()

Cell gtk_manager::available_toolkits_list ( void  ) const
inline

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

References m.

◆ default_toolkit()

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

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

◆ find_toolkit()

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

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

◆ get_toolkit()

graphics_toolkit gtk_manager::get_toolkit ( void  ) const

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

References error(), feval(), m_available_toolkits, m_dtk, and m_loaded_toolkits.

◆ load_toolkit()

void gtk_manager::load_toolkit ( const graphics_toolkit tk)
inline

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

References graphics_toolkit::get_name().

Referenced by F__init_gnuplot__(), and graphics_init().

◆ loaded_toolkits_list()

Cell gtk_manager::loaded_toolkits_list ( void  ) const
inline

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

References m.

◆ register_toolkit()

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

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

References m_available_toolkits, and m_dtk.

Referenced by graphics_init().

◆ unload_all_toolkits()

void gtk_manager::unload_all_toolkits ( void  )
inline

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

Referenced by interpreter::shutdown().

◆ unload_toolkit()

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

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

◆ unregister_toolkit()

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

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

References m_available_toolkits, and m_dtk.

Member Data Documentation

◆ m_available_toolkits

std::set<std::string> gtk_manager::m_available_toolkits
private

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

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

◆ m_dtk

std::string gtk_manager::m_dtk
private

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

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

◆ m_loaded_toolkits

std::map<std::string, graphics_toolkit> gtk_manager::m_loaded_toolkits
private

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

Referenced by get_toolkit().


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