GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
gh_manager Class Reference

#include "graphics.h"

Collaboration diagram for gh_manager:
Collaboration graph
[legend]

Classes

class  auto_lock
 

Static Public Member Functions

static void cleanup_instance (void)
 
static void cleanup_instance (void)
 
static void close_all_figures (void)
 
static void close_all_figures (void)
 
static void create_instance (void)
 
static void create_instance (void)
 
static graphics_handle current_figure (void)
 
static graphics_handle current_figure (void)
 
static void enable_event_processing (bool enable=true)
 
static void enable_event_processing (bool enable=true)
 
static void execute_callback (const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
 
static void execute_callback (const graphics_handle &h, const octave_value &cb, const octave_value &data=Matrix())
 
static void execute_callback (const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
 
static void execute_callback (const graphics_handle &h, const octave_value &cb, const octave_value &data=Matrix())
 
static void execute_listener (const graphics_handle &h, const octave_value &l)
 
static void execute_listener (const graphics_handle &h, const octave_value &l)
 
static Matrix figure_handle_list (bool show_hidden=false)
 
static Matrix figure_handle_list (bool show_hidden=false)
 
static int flush_events (void)
 
static int flush_events (void)
 
static void free (const graphics_handle &h)
 
static void free (const graphics_handle &h)
 
static graphics_handle get_handle (bool integer_figure_handle)
 
static graphics_handle get_handle (bool integer_figure_handle)
 
static graphics_object get_object (double val)
 
static graphics_object get_object (const graphics_handle &h)
 
static graphics_object get_object (double val)
 
static graphics_object get_object (const graphics_handle &h)
 
static Matrix handle_list (bool show_hidden=false)
 
static Matrix handle_list (bool show_hidden=false)
 
static bool instance_ok (void)
 
static bool instance_ok (void)
 
static bool is_handle_visible (const graphics_handle &h)
 
static bool is_handle_visible (const graphics_handle &h)
 
static void lock (void)
 
static void lock (void)
 
static graphics_handle lookup (double val)
 
static graphics_handle lookup (const octave_value &val)
 
static graphics_handle lookup (double val)
 
static graphics_handle lookup (const octave_value &val)
 
static graphics_handle make_figure_handle (double val, bool do_notify_toolkit=true)
 
static graphics_handle make_figure_handle (double val, bool do_notify_toolkit=true)
 
static graphics_handle make_graphics_handle (const std::string &go_name, const graphics_handle &parent, bool integer_figure_handle=false, bool do_createfcn=true, bool do_notify_toolkit=true)
 
static graphics_handle make_graphics_handle (const std::string &go_name, const graphics_handle &parent, bool integer_figure_handle=false, bool do_createfcn=true, bool do_notify_toolkit=true)
 
static void pop_figure (const graphics_handle &h)
 
static void pop_figure (const graphics_handle &h)
 
static void post_callback (const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
 
static void post_callback (const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
 
static void post_function (graphics_event::event_fcn fcn, void *data=0)
 
static void post_function (graphics_event::event_fcn fcn, void *data=0)
 
static void post_set (const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)
 
static void post_set (const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)
 
static int process_events (void)
 
static int process_events (void)
 
static void push_figure (const graphics_handle &h)
 
static void push_figure (const graphics_handle &h)
 
static void renumber_figure (const graphics_handle &old_gh, const graphics_handle &new_gh)
 
static void renumber_figure (const graphics_handle &old_gh, const graphics_handle &new_gh)
 
static bool try_lock (void)
 
static bool try_lock (void)
 
static void unlock (void)
 
static void unlock (void)
 

Protected Member Functions

 gh_manager (void)
 
 gh_manager (void)
 

Private Types

typedef std::list
< graphics_handle >
::const_iterator 
const_figure_list_iterator
 
typedef std::list
< graphics_handle >
::const_iterator 
const_figure_list_iterator
 
typedef std::set
< graphics_handle >
::const_iterator 
const_free_list_iterator
 
typedef std::set
< graphics_handle >
::const_iterator 
const_free_list_iterator
 
typedef std::map
< graphics_handle,
graphics_object >
::const_iterator 
const_iterator
 
typedef std::map
< graphics_handle,
graphics_object >
::const_iterator 
const_iterator
 
typedef std::list
< graphics_handle >::iterator 
figure_list_iterator
 
typedef std::list
< graphics_handle >::iterator 
figure_list_iterator
 
typedef std::set
< graphics_handle >::iterator 
free_list_iterator
 
typedef std::set
< graphics_handle >::iterator 
free_list_iterator
 
typedef std::map
< graphics_handle,
graphics_object >::iterator 
iterator
 
typedef std::map
< graphics_handle,
graphics_object >::iterator 
iterator
 

Private Member Functions

void do_close_all_figures (void)
 
void do_close_all_figures (void)
 
graphics_handle do_current_figure (void) const
 
graphics_handle do_current_figure (void) const
 
void do_enable_event_processing (bool enable=true)
 
void do_enable_event_processing (bool enable=true)
 
void do_execute_callback (const graphics_handle &h, const octave_value &cb, const octave_value &data)
 
void do_execute_callback (const graphics_handle &h, const octave_value &cb, const octave_value &data)
 
void do_execute_listener (const graphics_handle &h, const octave_value &l)
 
void do_execute_listener (const graphics_handle &h, const octave_value &l)
 
Matrix do_figure_handle_list (bool show_hidden)
 
Matrix do_figure_handle_list (bool show_hidden)
 
void do_free (const graphics_handle &h)
 
void do_free (const graphics_handle &h)
 
graphics_handle do_get_handle (bool integer_figure_handle)
 
graphics_handle do_get_handle (bool integer_figure_handle)
 
graphics_object do_get_object (const graphics_handle &h)
 
graphics_object do_get_object (const graphics_handle &h)
 
Matrix do_handle_list (bool show_hidden)
 
Matrix do_handle_list (bool show_hidden)
 
void do_lock (void)
 
void do_lock (void)
 
graphics_handle do_lookup (double val)
 
graphics_handle do_lookup (double val)
 
graphics_handle do_make_figure_handle (double val, bool do_notify_toolkit)
 
graphics_handle do_make_figure_handle (double val, bool do_notify_toolkit)
 
graphics_handle do_make_graphics_handle (const std::string &go_name, const graphics_handle &p, bool integer_figure_handle, bool do_createfcn, bool do_notify_toolkit)
 
graphics_handle do_make_graphics_handle (const std::string &go_name, const graphics_handle &p, bool integer_figure_handle, bool do_createfcn, bool do_notify_toolkit)
 
void do_pop_figure (const graphics_handle &h)
 
void do_pop_figure (const graphics_handle &h)
 
void do_post_callback (const graphics_handle &h, const std::string &name, const octave_value &data)
 
void do_post_callback (const graphics_handle &h, const std::string &name, const octave_value &data)
 
void do_post_event (const graphics_event &e)
 
void do_post_event (const graphics_event &e)
 
void do_post_function (graphics_event::event_fcn fcn, void *fcn_data)
 
void do_post_function (graphics_event::event_fcn fcn, void *fcn_data)
 
void do_post_set (const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)
 
void do_post_set (const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)
 
int do_process_events (bool force=false)
 
int do_process_events (bool force=false)
 
void do_push_figure (const graphics_handle &h)
 
void do_push_figure (const graphics_handle &h)
 
void do_renumber_figure (const graphics_handle &old_gh, const graphics_handle &new_gh)
 
void do_renumber_figure (const graphics_handle &old_gh, const graphics_handle &new_gh)
 
void do_restore_gcbo (void)
 
void do_restore_gcbo (void)
 
bool do_try_lock (void)
 
bool do_try_lock (void)
 
void do_unlock (void)
 
void do_unlock (void)
 

Static Private Member Functions

static void restore_gcbo (void)
 
static void restore_gcbo (void)
 

Private Attributes

std::list< graphics_objectcallback_objects
 
int event_processing
 
std::list< graphics_eventevent_queue
 
std::list< graphics_handlefigure_list
 
octave_mutex graphics_lock
 
std::set< graphics_handlehandle_free_list
 
std::map< graphics_handle,
graphics_object
handle_map
 
double next_handle
 

Static Private Attributes

static gh_managerinstance = 0
 

Detailed Description

Definition at line 13738 of file graphics.h.

Member Typedef Documentation

Definition at line 6306 of file graphics.in.h.

Definition at line 13995 of file graphics.h.

Definition at line 6303 of file graphics.in.h.

Definition at line 13992 of file graphics.h.

Definition at line 6300 of file graphics.in.h.

Definition at line 13989 of file graphics.h.

Definition at line 6305 of file graphics.in.h.

Definition at line 13994 of file graphics.h.

Definition at line 6302 of file graphics.in.h.

Definition at line 13991 of file graphics.h.

Definition at line 6298 of file graphics.in.h.

Definition at line 13987 of file graphics.h.

Constructor & Destructor Documentation

gh_manager::gh_manager ( void  )
protected

Definition at line 9244 of file graphics.cc.

References gtk_manager::default_toolkit(), and handle_map.

Referenced by create_instance().

gh_manager::gh_manager ( void  )
protected

Member Function Documentation

static void gh_manager::cleanup_instance ( void  )
inlinestatic

Definition at line 6072 of file graphics.in.h.

static void gh_manager::cleanup_instance ( void  )
inlinestatic

Definition at line 13761 of file graphics.h.

Referenced by create_instance().

static void gh_manager::close_all_figures ( void  )
inlinestatic

Definition at line 6270 of file graphics.in.h.

static void gh_manager::close_all_figures ( void  )
inlinestatic

Definition at line 13959 of file graphics.h.

static void gh_manager::create_instance ( void  )
static
void gh_manager::create_instance ( void  )
static
static graphics_handle gh_manager::current_figure ( void  )
inlinestatic

Definition at line 6149 of file graphics.in.h.

static graphics_handle gh_manager::current_figure ( void  )
inlinestatic
void gh_manager::do_close_all_figures ( void  )
private
void gh_manager::do_close_all_figures ( void  )
private
graphics_handle gh_manager::do_current_figure ( void  ) const
inlineprivate

Definition at line 6401 of file graphics.in.h.

graphics_handle gh_manager::do_current_figure ( void  ) const
inlineprivate

Definition at line 14090 of file graphics.h.

References is_handle_visible(), and retval.

void gh_manager::do_enable_event_processing ( bool  enable = true)
private
void gh_manager::do_enable_event_processing ( bool  enable = true)
private
void gh_manager::do_execute_callback ( const graphics_handle h,
const octave_value cb,
const octave_value data 
)
private
void gh_manager::do_execute_callback ( const graphics_handle h,
const octave_value cb,
const octave_value data 
)
private
void gh_manager::do_execute_listener ( const graphics_handle h,
const octave_value l 
)
private
void gh_manager::do_execute_listener ( const graphics_handle h,
const octave_value l 
)
private
Matrix gh_manager::do_figure_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 6381 of file graphics.in.h.

Matrix gh_manager::do_figure_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 14070 of file graphics.h.

References is_handle_visible(), octave_value::resize(), and retval.

void gh_manager::do_free ( const graphics_handle h)
private
void gh_manager::do_free ( const graphics_handle h)
private
graphics_handle gh_manager::do_get_handle ( bool  integer_figure_handle)
private
graphics_handle gh_manager::do_get_handle ( bool  integer_figure_handle)
private

Definition at line 2459 of file graphics.cc.

References octave::math::ceil(), make_handle_fraction(), p, and retval.

graphics_object gh_manager::do_get_object ( const graphics_handle h)
inlineprivate

Definition at line 6348 of file graphics.in.h.

graphics_object gh_manager::do_get_object ( const graphics_handle h)
inlineprivate

Definition at line 14037 of file graphics.h.

References octave_handle::ok().

Matrix gh_manager::do_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 6363 of file graphics.in.h.

Matrix gh_manager::do_handle_list ( bool  show_hidden)
inlineprivate
void gh_manager::do_lock ( void  )
inlineprivate

Definition at line 6414 of file graphics.in.h.

void gh_manager::do_lock ( void  )
inlineprivate

Definition at line 14103 of file graphics.h.

References octave_mutex::lock().

graphics_handle gh_manager::do_lookup ( double  val)
inlineprivate

Definition at line 6340 of file graphics.in.h.

graphics_handle gh_manager::do_lookup ( double  val)
inlineprivate

Definition at line 14029 of file graphics.h.

References octave::math::isnan().

graphics_handle gh_manager::do_make_figure_handle ( double  val,
bool  do_notify_toolkit 
)
private
graphics_handle gh_manager::do_make_figure_handle ( double  val,
bool  do_notify_toolkit 
)
private
graphics_handle gh_manager::do_make_graphics_handle ( const std::string go_name,
const graphics_handle p,
bool  integer_figure_handle,
bool  do_createfcn,
bool  do_notify_toolkit 
)
private
graphics_handle gh_manager::do_make_graphics_handle ( const std::string go_name,
const graphics_handle p,
bool  integer_figure_handle,
bool  do_createfcn,
bool  do_notify_toolkit 
)
private
void gh_manager::do_pop_figure ( const graphics_handle h)
private
void gh_manager::do_pop_figure ( const graphics_handle h)
private

Definition at line 9352 of file graphics.cc.

References figure_list.

Referenced by do_push_figure().

void gh_manager::do_post_callback ( const graphics_handle h,
const std::string name,
const octave_value data 
)
private
void gh_manager::do_post_callback ( const graphics_handle h,
const std::string name,
const octave_value data 
)
private
void gh_manager::do_post_event ( const graphics_event e)
private
void gh_manager::do_post_event ( const graphics_event e)
private
void gh_manager::do_post_function ( graphics_event::event_fcn  fcn,
void *  fcn_data 
)
private
void gh_manager::do_post_function ( graphics_event::event_fcn  fcn,
void *  fcn_data 
)
private

Definition at line 9703 of file graphics.cc.

References graphics_event::create_function_event(), and do_post_event().

void gh_manager::do_post_set ( const graphics_handle h,
const std::string name,
const octave_value value,
bool  notify_toolkit = true 
)
private
void gh_manager::do_post_set ( const graphics_handle h,
const std::string name,
const octave_value value,
bool  notify_toolkit = true 
)
private

Definition at line 9711 of file graphics.cc.

References graphics_event::create_set_event(), and do_post_event().

int gh_manager::do_process_events ( bool  force = false)
private
int gh_manager::do_process_events ( bool  force = false)
private
void gh_manager::do_push_figure ( const graphics_handle h)
private
void gh_manager::do_push_figure ( const graphics_handle h)
private

Definition at line 9344 of file graphics.cc.

References do_pop_figure(), and figure_list.

void gh_manager::do_renumber_figure ( const graphics_handle old_gh,
const graphics_handle new_gh 
)
private
void gh_manager::do_renumber_figure ( const graphics_handle old_gh,
const graphics_handle new_gh 
)
private
void gh_manager::do_restore_gcbo ( void  )
private
void gh_manager::do_restore_gcbo ( void  )
private

Definition at line 9522 of file graphics.cc.

References callback_objects, and xset_gcbo().

Referenced by restore_gcbo().

bool gh_manager::do_try_lock ( void  )
inlineprivate

Definition at line 6416 of file graphics.in.h.

bool gh_manager::do_try_lock ( void  )
inlineprivate

Definition at line 14105 of file graphics.h.

References octave_mutex::try_lock().

void gh_manager::do_unlock ( void  )
inlineprivate

Definition at line 6418 of file graphics.in.h.

void gh_manager::do_unlock ( void  )
inlineprivate

Definition at line 14107 of file graphics.h.

References octave_mutex::unlock().

static void gh_manager::enable_event_processing ( bool  enable = true)
inlinestatic

Definition at line 6252 of file graphics.in.h.

static void gh_manager::enable_event_processing ( bool  enable = true)
inlinestatic

Definition at line 13941 of file graphics.h.

Referenced by QtHandles::__init__(), and QtHandles::__shutdown__().

static void gh_manager::execute_callback ( const graphics_handle h,
const std::string name,
const octave_value data = Matrix () 
)
inlinestatic

Definition at line 6194 of file graphics.in.h.

static void gh_manager::execute_callback ( const graphics_handle h,
const octave_value cb,
const octave_value data = Matrix () 
)
inlinestatic

Definition at line 6213 of file graphics.in.h.

static void gh_manager::execute_callback ( const graphics_handle h,
const std::string name,
const octave_value data = Matrix () 
)
inlinestatic
static void gh_manager::execute_callback ( const graphics_handle h,
const octave_value cb,
const octave_value data = Matrix () 
)
inlinestatic

Definition at line 13902 of file graphics.h.

static void gh_manager::execute_listener ( const graphics_handle h,
const octave_value l 
)
inlinestatic

Definition at line 6187 of file graphics.in.h.

static void gh_manager::execute_listener ( const graphics_handle h,
const octave_value l 
)
inlinestatic

Definition at line 13876 of file graphics.h.

Referenced by base_property::run_listeners().

static Matrix gh_manager::figure_handle_list ( bool  show_hidden = false)
inlinestatic

Definition at line 6181 of file graphics.in.h.

static Matrix gh_manager::figure_handle_list ( bool  show_hidden = false)
inlinestatic

Definition at line 13870 of file graphics.h.

Referenced by Fdrawnow().

static int gh_manager::flush_events ( void  )
inlinestatic

Definition at line 6247 of file graphics.in.h.

static int gh_manager::flush_events ( void  )
inlinestatic

Definition at line 13936 of file graphics.h.

static void gh_manager::free ( const graphics_handle h)
inlinestatic

Definition at line 6081 of file graphics.in.h.

static void gh_manager::free ( const graphics_handle h)
inlinestatic
static graphics_handle gh_manager::get_handle ( bool  integer_figure_handle)
inlinestatic

Definition at line 6074 of file graphics.in.h.

static graphics_handle gh_manager::get_handle ( bool  integer_figure_handle)
inlinestatic

Definition at line 13763 of file graphics.h.

Referenced by do_make_graphics_handle(), and figure::properties::set_integerhandle().

static graphics_object gh_manager::get_object ( double  val)
inlinestatic

Definition at line 6105 of file graphics.in.h.

static graphics_object gh_manager::get_object ( const graphics_handle h)
inlinestatic

Definition at line 6110 of file graphics.in.h.

static graphics_object gh_manager::get_object ( double  val)
inlinestatic

Definition at line 13794 of file graphics.h.

References lookup().

Referenced by QtHandles::__init__(), adopt(), figure::properties::adopt(), base_graphics_object::build_user_defaults_map(), axes::properties::calc_tightbox(), QtHandles::Container::canvas(), QtHandles::Canvas::canvasAutoAxes(), QtHandles::Canvas::canvasKeyPressEvent(), QtHandles::Canvas::canvasMouseMoveEvent(), QtHandles::Canvas::canvasMousePressEvent(), QtHandles::Canvas::canvasMouseReleaseEvent(), QtHandles::Canvas::canvasToggleAxes(), QtHandles::Canvas::canvasToggleGrid(), QtHandles::Canvas::canvasWheelEvent(), convert_cdata(), convert_text_position(), QtHandles::ObjectFactory::createObject(), delete_graphics_object(), axes::properties::delete_text_child(), do_cleanup_waitfor_listener(), children_property::do_delete_children(), do_execute_callback(), children_property::do_get_children(), do_make_graphics_handle(), do_post_callback(), QtHandles::GLCanvas::draw(), octave::opengl_renderer::draw(), octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_axes_z_grid(), set_event::execute(), QtHandles::ContextMenu::executeAt(), F__zoom__(), Fdrawnow(), Fget(), base_graphics_toolkit::finalize(), finalize_r(), for(), Freset(), G__osmesa_print__(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), get_children_limits(), base_graphics_object::get_default(), figure::get_default(), axes::get_default(), uitoolbar::get_default(), axes::properties::get_extent(), uicontrol::properties::get_extent(), base_graphics_object::get_factory_default(), text::properties::get_fontsize_points(), get_graphics_object_type(), base_properties::get_toolkit(), QtHandles::hasUiControlChildren(), QtHandles::hasUiMenuChildren(), if(), base_graphics_toolkit::initialize(), initialize_r(), is_figure(), base_properties::mark_modified(), QtHandles::Object::object(), base_properties::override_defaults(), QtHandles::Object::parentObject(), QtHandles::Canvas::print(), QtHandles::Utils::properties(), figure::properties::remove_child(), reparent(), base_graphics_object::reset_default_properties(), screen_size_pixels(), QtHandles::Canvas::select_object(), base_property::set(), axes::properties::set_defaults(), figure::properties::set_integerhandle(), base_properties::set_parent(), uibuttongroup::properties::set_selectedobject(), axes::properties::set_text_child(), QtHandles::ButtonControl::update(), QtHandles::ButtonGroup::update(), base_graphics_toolkit::update(), base_properties::update_autopos(), base_properties::update_axis_limits(), base_graphics_object::update_axis_limits(), base_properties::update_boundingbox(), text::properties::update_fontunits(), axes::properties::update_label_color(), hggroup::properties::update_limits(), axes::properties::update_title_position(), base_properties::update_uicontextmenu(), axes::properties::update_units(), uicontrol::properties::update_units(), uibuttongroup::properties::update_units(), uipanel::properties::update_units(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), QtHandles::Figure::updateBoundingBoxHelper(), QtHandles::Canvas::updateCurrentPoint(), base_graphics_object::value_as_string(), base_graphics_object::values_as_string(), base_graphics_object::values_as_struct(), waitfor_listener(), xcreatefcn(), xget(), xinitialize(), xreset_default_properties(), xset(), xset_gcbo(), and uicontextmenu::~uicontextmenu().

static graphics_object gh_manager::get_object ( const graphics_handle h)
inlinestatic

Definition at line 13799 of file graphics.h.

static Matrix gh_manager::handle_list ( bool  show_hidden = false)
inlinestatic

Definition at line 6155 of file graphics.in.h.

static Matrix gh_manager::handle_list ( bool  show_hidden = false)
inlinestatic

Definition at line 13844 of file graphics.h.

static bool gh_manager::instance_ok ( void  )
inlinestatic

Definition at line 6059 of file graphics.in.h.

static bool gh_manager::instance_ok ( void  )
inlinestatic

Definition at line 13748 of file graphics.h.

References error(), and retval.

static bool gh_manager::is_handle_visible ( const graphics_handle h)
inlinestatic

Definition at line 6258 of file graphics.in.h.

static bool gh_manager::is_handle_visible ( const graphics_handle h)
inlinestatic
static void gh_manager::lock ( void  )
inlinestatic

Definition at line 6161 of file graphics.in.h.

static void gh_manager::lock ( void  )
inlinestatic

Definition at line 13850 of file graphics.h.

Referenced by Fdrawnow().

static graphics_handle gh_manager::lookup ( double  val)
inlinestatic

Definition at line 6094 of file graphics.in.h.

static graphics_handle gh_manager::lookup ( const octave_value val)
inlinestatic

Definition at line 6099 of file graphics.in.h.

static graphics_handle gh_manager::lookup ( double  val)
inlinestatic
static graphics_handle gh_manager::lookup ( const octave_value val)
inlinestatic
static graphics_handle gh_manager::make_figure_handle ( double  val,
bool  do_notify_toolkit = true 
)
inlinestatic

Definition at line 6129 of file graphics.in.h.

static graphics_handle gh_manager::make_figure_handle ( double  val,
bool  do_notify_toolkit = true 
)
inlinestatic

Definition at line 13818 of file graphics.h.

static graphics_handle gh_manager::make_graphics_handle ( const std::string go_name,
const graphics_handle parent,
bool  integer_figure_handle = false,
bool  do_createfcn = true,
bool  do_notify_toolkit = true 
)
inlinestatic

Definition at line 6116 of file graphics.in.h.

static graphics_handle gh_manager::make_graphics_handle ( const std::string go_name,
const graphics_handle parent,
bool  integer_figure_handle = false,
bool  do_createfcn = true,
bool  do_notify_toolkit = true 
)
inlinestatic
static void gh_manager::pop_figure ( const graphics_handle h)
inlinestatic

Definition at line 6143 of file graphics.in.h.

static void gh_manager::pop_figure ( const graphics_handle h)
inlinestatic

Definition at line 13832 of file graphics.h.

Referenced by root_figure::properties::remove_child().

static void gh_manager::post_callback ( const graphics_handle h,
const std::string name,
const octave_value data = Matrix () 
)
inlinestatic

Definition at line 6221 of file graphics.in.h.

static void gh_manager::post_callback ( const graphics_handle h,
const std::string name,
const octave_value data = Matrix () 
)
inlinestatic
static void gh_manager::post_function ( graphics_event::event_fcn  fcn,
void *  data = 0 
)
inlinestatic

Definition at line 6229 of file graphics.in.h.

static void gh_manager::post_function ( graphics_event::event_fcn  fcn,
void *  data = 0 
)
inlinestatic

Definition at line 13918 of file graphics.h.

Referenced by QtHandles::Figure::updateBoundingBox().

static void gh_manager::post_set ( const graphics_handle h,
const std::string name,
const octave_value value,
bool  notify_toolkit = true 
)
inlinestatic

Definition at line 6235 of file graphics.in.h.

static void gh_manager::post_set ( const graphics_handle h,
const std::string name,
const octave_value value,
bool  notify_toolkit = true 
)
inlinestatic
static int gh_manager::process_events ( void  )
inlinestatic

Definition at line 6242 of file graphics.in.h.

static int gh_manager::process_events ( void  )
inlinestatic
static void gh_manager::push_figure ( const graphics_handle h)
inlinestatic

Definition at line 6137 of file graphics.in.h.

static void gh_manager::push_figure ( const graphics_handle h)
inlinestatic

Definition at line 13826 of file graphics.h.

Referenced by root_figure::properties::set_currentfigure().

static void gh_manager::renumber_figure ( const graphics_handle old_gh,
const graphics_handle new_gh 
)
inlinestatic

Definition at line 6087 of file graphics.in.h.

static void gh_manager::renumber_figure ( const graphics_handle old_gh,
const graphics_handle new_gh 
)
inlinestatic

Definition at line 13776 of file graphics.h.

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

static void gh_manager::restore_gcbo ( void  )
inlinestaticprivate

Definition at line 6437 of file graphics.in.h.

static void gh_manager::restore_gcbo ( void  )
inlinestaticprivate

Definition at line 14126 of file graphics.h.

References do_restore_gcbo().

Referenced by do_execute_callback().

static bool gh_manager::try_lock ( void  )
inlinestatic

Definition at line 6167 of file graphics.in.h.

static bool gh_manager::try_lock ( void  )
inlinestatic

Definition at line 13856 of file graphics.h.

static void gh_manager::unlock ( void  )
inlinestatic

Definition at line 6175 of file graphics.in.h.

static void gh_manager::unlock ( void  )
inlinestatic

Definition at line 13864 of file graphics.h.

Referenced by Fdrawnow().

Member Data Documentation

std::list< graphics_object > gh_manager::callback_objects
private
int gh_manager::event_processing
private

Definition at line 14020 of file graphics.h.

Referenced by do_enable_event_processing(), and do_process_events().

std::list< graphics_event > gh_manager::event_queue
private

Definition at line 14014 of file graphics.h.

std::list< graphics_handle > gh_manager::figure_list
private

Definition at line 14008 of file graphics.h.

Referenced by do_pop_figure(), and do_push_figure().

octave_mutex gh_manager::graphics_lock
private

Definition at line 14011 of file graphics.h.

std::set< graphics_handle > gh_manager::handle_free_list
private

Definition at line 14001 of file graphics.h.

std::map< graphics_handle, graphics_object > gh_manager::handle_map
private

Definition at line 13998 of file graphics.h.

Referenced by do_make_figure_handle(), do_make_graphics_handle(), and gh_manager().

static gh_manager * gh_manager::instance = 0
staticprivate

Definition at line 13985 of file graphics.h.

Referenced by create_instance().

double gh_manager::next_handle
private

Definition at line 14004 of file graphics.h.


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