GNU Octave  4.0.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 13152 of file graphics.h.

Member Typedef Documentation

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

Definition at line 13414 of file graphics.h.

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

Definition at line 13411 of file graphics.h.

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

Definition at line 13408 of file graphics.h.

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

Definition at line 13413 of file graphics.h.

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

Definition at line 13410 of file graphics.h.

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

Definition at line 13406 of file graphics.h.

Constructor & Destructor Documentation

gh_manager::gh_manager ( void  )
protected

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

static void gh_manager::cleanup_instance ( void  )
inlinestatic

Definition at line 13179 of file graphics.h.

Referenced by create_instance().

static void gh_manager::close_all_figures ( void  )
inlinestatic

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

static void gh_manager::close_all_figures ( void  )
inlinestatic

Definition at line 13378 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 5998 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 6254 of file graphics.in.h.

graphics_handle gh_manager::do_current_figure ( void  ) const
inlineprivate

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

Matrix gh_manager::do_figure_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 13488 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 2423 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 6197 of file graphics.in.h.

graphics_object gh_manager::do_get_object ( const graphics_handle h)
inlineprivate

Definition at line 13455 of file graphics.h.

References octave_handle::ok().

Matrix gh_manager::do_handle_list ( bool  show_hidden)
inlineprivate

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

Matrix gh_manager::do_handle_list ( bool  show_hidden)
inlineprivate

Definition at line 13470 of file graphics.h.

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

void gh_manager::do_lock ( void  )
inlineprivate

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

void gh_manager::do_lock ( void  )
inlineprivate

Definition at line 13529 of file graphics.h.

References octave_mutex::lock().

graphics_handle gh_manager::do_lookup ( double  val)
inlineprivate

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

graphics_handle gh_manager::do_lookup ( double  val)
inlineprivate

Definition at line 13448 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
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 9320 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 9638 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 9646 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 9312 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 2512 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 9492 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 6273 of file graphics.in.h.

bool gh_manager::do_try_lock ( void  )
inlineprivate

Definition at line 13531 of file graphics.h.

References octave_mutex::try_lock().

void gh_manager::do_unlock ( void  )
inlineprivate

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

void gh_manager::do_unlock ( void  )
inlineprivate

Definition at line 13533 of file graphics.h.

References octave_mutex::unlock().

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

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

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

Definition at line 13360 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 6043 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 6063 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 13321 of file graphics.h.

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

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

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

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

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

Definition at line 13288 of file graphics.h.

Referenced by F__go_figure_handles__(), and Fdrawnow().

static int gh_manager::flush_events ( void  )
inlinestatic

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

static int gh_manager::flush_events ( void  )
inlinestatic

Definition at line 13355 of file graphics.h.

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

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

static graphics_handle gh_manager::get_handle ( bool  integer_figure_handle)
inlinestatic

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

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

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

static graphics_object gh_manager::get_object ( double  val)
inlinestatic

Definition at line 13212 of file graphics.h.

References lookup().

Referenced by QtHandles::__init__(), adopt(), figure::properties::adopt(), base_graphics_object::build_user_defaults_map(), calc_dimensions(), 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(), set_event::execute(), QtHandles::ContextMenu::executeAt(), F__calc_dimensions__(), F__get__(), F__go_axes_init__(), F__go_figure__(), F__image_pixel_size__(), F__zoom__(), Faddlistener(), Faddproperty(), Fdellistener(), Fdrawnow(), Fget(), base_graphics_toolkit::finalize(), finalize_r(), Freset(), Fset(), Fwaitfor(), G__osmesa_print__(), 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(), QtHandles::hasUiControlChildren(), QtHandles::hasUiMenuChildren(), 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(), base_property::set(), axes::properties::set_defaults(), 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(), text::properties::update_fontunits(), hggroup::properties::update_limits(), axes::properties::update_title_position(), base_properties::update_uicontextmenu(), 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(), 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 13217 of file graphics.h.

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

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

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

Definition at line 13262 of file graphics.h.

Referenced by F__go_handles__().

static bool gh_manager::instance_ok ( void  )
inlinestatic

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

static bool gh_manager::instance_ok ( void  )
inlinestatic

Definition at line 13162 of file graphics.h.

References error().

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

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

static void gh_manager::lock ( void  )
inlinestatic

Definition at line 13268 of file graphics.h.

Referenced by do_process_events(), and Fdrawnow().

static graphics_handle gh_manager::lookup ( double  val)
inlinestatic

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

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

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

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

Definition at line 13236 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 5965 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 5992 of file graphics.in.h.

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

Definition at line 13250 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 6071 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 6079 of file graphics.in.h.

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

Definition at line 13337 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 6085 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 6092 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 5986 of file graphics.in.h.

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

Definition at line 13244 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 5936 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 13194 of file graphics.h.

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

static void gh_manager::restore_gcbo ( void  )
inlinestaticprivate

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

static void gh_manager::restore_gcbo ( void  )
inlinestaticprivate

Definition at line 13552 of file graphics.h.

References do_restore_gcbo().

Referenced by do_execute_callback().

static bool gh_manager::try_lock ( void  )
inlinestatic

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

static bool gh_manager::try_lock ( void  )
inlinestatic

Definition at line 13274 of file graphics.h.

static void gh_manager::unlock ( void  )
inlinestatic

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

static void gh_manager::unlock ( void  )
inlinestatic

Definition at line 13282 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 13439 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 13433 of file graphics.h.

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

Definition at line 13427 of file graphics.h.

Referenced by do_pop_figure(), and do_push_figure().

octave_mutex gh_manager::graphics_lock
private

Definition at line 13430 of file graphics.h.

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

Definition at line 13420 of file graphics.h.

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

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

Referenced by create_instance().

double gh_manager::next_handle
private

Definition at line 13423 of file graphics.h.


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