GNU Octave  3.8.0
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 12585 of file graphics.h.

Member Typedef Documentation

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

Definition at line 12847 of file graphics.h.

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

Definition at line 12844 of file graphics.h.

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

Definition at line 12841 of file graphics.h.

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

Definition at line 12846 of file graphics.h.

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

Definition at line 12843 of file graphics.h.

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

Definition at line 12839 of file graphics.h.

Constructor & Destructor Documentation

gh_manager::gh_manager ( void  )
protected

Definition at line 7996 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 5506 of file graphics.in.h.

static void gh_manager::cleanup_instance ( void  )
inlinestatic

Definition at line 12612 of file graphics.h.

Referenced by create_instance().

static void gh_manager::close_all_figures ( void  )
inlinestatic

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

static void gh_manager::close_all_figures ( void  )
inlinestatic

Definition at line 12811 of file graphics.h.

Referenced by do_octave_atexit().

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 5583 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 5839 of file graphics.in.h.

graphics_handle gh_manager::do_current_figure ( void  ) const
inlineprivate

Definition at line 12945 of file graphics.h.

References is_handle_visible().

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 5815 of file graphics.in.h.

Matrix gh_manager::do_figure_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 12921 of file graphics.h.

References is_handle_visible(), and octave_handle::value().

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 2235 of file graphics.cc.

References ceil(), and make_handle_fraction().

graphics_object gh_manager::do_get_object ( const graphics_handle h)
inlineprivate

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

graphics_object gh_manager::do_get_object ( const graphics_handle h)
inlineprivate

Definition at line 12888 of file graphics.h.

References octave_handle::ok().

Matrix gh_manager::do_handle_list ( bool  show_hidden)
inlineprivate

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

Matrix gh_manager::do_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 12903 of file graphics.h.

References is_handle_visible(), and octave_handle::value().

void gh_manager::do_lock ( void  )
inlineprivate

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

void gh_manager::do_lock ( void  )
inlineprivate

Definition at line 12962 of file graphics.h.

graphics_handle gh_manager::do_lookup ( double  val)
inlineprivate

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

graphics_handle gh_manager::do_lookup ( double  val)
inlineprivate

Definition at line 12881 of file graphics.h.

References xisnan().

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

Definition at line 8050 of file graphics.cc.

References handle_map, and graphics_object::initialize().

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 8075 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 8393 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 8401 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 8067 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

Definition at line 2324 of file graphics.cc.

References ceil(), error(), make_handle_fraction(), and octave_handle::value().

void gh_manager::do_restore_gcbo ( void  )
private
void gh_manager::do_restore_gcbo ( void  )
private

Definition at line 8247 of file graphics.cc.

References callback_objects, and xset_gcbo().

bool gh_manager::do_try_lock ( void  )
inlineprivate

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

bool gh_manager::do_try_lock ( void  )
inlineprivate

Definition at line 12964 of file graphics.h.

void gh_manager::do_unlock ( void  )
inlineprivate

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

void gh_manager::do_unlock ( void  )
inlineprivate

Definition at line 12966 of file graphics.h.

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

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

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

Definition at line 12793 of file graphics.h.

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

Definition at line 5628 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 5648 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 12754 of file graphics.h.

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

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

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

Definition at line 12727 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 5615 of file graphics.in.h.

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

Definition at line 12721 of file graphics.h.

Referenced by F__go_figure_handles__(), and Fdrawnow().

static int gh_manager::flush_events ( void  )
inlinestatic

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

static int gh_manager::flush_events ( void  )
inlinestatic

Definition at line 12788 of file graphics.h.

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

Definition at line 5515 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 5508 of file graphics.in.h.

static graphics_handle gh_manager::get_handle ( bool  integer_figure_handle)
inlinestatic

Definition at line 12614 of file graphics.h.

Referenced by do_make_graphics_handle().

static graphics_object gh_manager::get_object ( double  val)
inlinestatic

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

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

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

static graphics_object gh_manager::get_object ( double  val)
inlinestatic

Definition at line 12645 of file graphics.h.

References lookup().

Referenced by adopt(), calc_dimensions(), axes::properties::calc_tightbox(), convert_cdata(), convert_text_position(), 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_post_callback(), opengl_renderer::draw(), set_event::execute(), F__calc_dimensions__(), F__get__(), F__go_axes_init__(), F__go_figure__(), F__image_pixel_size__(), Faddlistener(), Faddproperty(), Fdellistener(), Fdrawnow(), Fget(), base_graphics_toolkit::finalize(), finalize_r(), Freset(), Fset(), Fwaitfor(), graphics_object::get_ancestor(), axes::properties::get_boundingbox(), uicontrol::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(), get_property_from_handle(), base_properties::get_toolkit(), base_graphics_toolkit::initialize(), initialize_r(), is_figure(), base_properties::mark_modified(), base_properties::override_defaults(), figure::properties::remove_child(), reparent(), screen_size_pixels(), base_property::set(), figure::properties::set_integerhandle(), base_properties::set_parent(), set_property_in_handle(), axes::properties::set_text_child(), base_graphics_toolkit::update(), base_properties::update_autopos(), base_properties::update_axis_limits(), base_graphics_object::update_axis_limits(), base_properties::update_boundingbox(), hggroup::properties::update_limits(), axes::properties::update_title_position(), axes::properties::update_units(), uicontrol::properties::update_units(), uipanel::properties::update_units(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), waitfor_listener(), xcreatefcn(), xget(), xinitialize(), xset(), and xset_gcbo().

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

Definition at line 12650 of file graphics.h.

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

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

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

Definition at line 12695 of file graphics.h.

Referenced by F__go_handles__().

static bool gh_manager::instance_ok ( void  )
inlinestatic

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

static bool gh_manager::instance_ok ( void  )
inlinestatic

Definition at line 12595 of file graphics.h.

References error().

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

Definition at line 5693 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 5595 of file graphics.in.h.

static void gh_manager::lock ( void  )
inlinestatic

Definition at line 12701 of file graphics.h.

Referenced by do_process_events(), and Fdrawnow().

static graphics_handle gh_manager::lookup ( double  val)
inlinestatic

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

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

Definition at line 5533 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 5563 of file graphics.in.h.

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

Definition at line 12669 of file graphics.h.

Referenced by F__go_figure__().

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 5550 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 5577 of file graphics.in.h.

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

Definition at line 12683 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 5656 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

Definition at line 12762 of file graphics.h.

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

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

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

Definition at line 12770 of file graphics.h.

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 5670 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

Definition at line 12776 of file graphics.h.

static int gh_manager::process_events ( void  )
inlinestatic

Definition at line 5677 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 5571 of file graphics.in.h.

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

Definition at line 12677 of file graphics.h.

Referenced by F__go_figure__(), and 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 5521 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 12627 of file graphics.h.

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

static void gh_manager::restore_gcbo ( void  )
inlinestaticprivate

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

static void gh_manager::restore_gcbo ( void  )
inlinestaticprivate

Definition at line 12985 of file graphics.h.

Referenced by do_execute_callback().

static bool gh_manager::try_lock ( void  )
inlinestatic

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

static bool gh_manager::try_lock ( void  )
inlinestatic

Definition at line 12707 of file graphics.h.

static void gh_manager::unlock ( void  )
inlinestatic

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

static void gh_manager::unlock ( void  )
inlinestatic

Definition at line 12715 of file graphics.h.

Referenced by do_process_events(), and Fdrawnow().

Member Data Documentation

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

Definition at line 12872 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 12866 of file graphics.h.

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

Definition at line 12860 of file graphics.h.

Referenced by do_pop_figure(), and do_push_figure().

octave_mutex gh_manager::graphics_lock
private

Definition at line 12863 of file graphics.h.

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

Definition at line 12853 of file graphics.h.

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

Definition at line 12850 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 12837 of file graphics.h.

Referenced by create_instance().

double gh_manager::next_handle
private

Definition at line 12856 of file graphics.h.


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