GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "singleton-cleanup.h"
Public Types | |
typedef void(* | fptr )(void) |
Public Member Functions | |
~singleton_cleanup_list (void) |
Static Public Member Functions | |
static void | add (fptr f) |
static void | cleanup (void) |
Protected Member Functions | |
singleton_cleanup_list (void) |
Private Member Functions | |
singleton_cleanup_list (const singleton_cleanup_list &) | |
void | do_add (fptr f) |
singleton_cleanup_list & | operator= (const singleton_cleanup_list &) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
static bool | instance_ok (void) |
Private Attributes | |
std::set< fptr > | fcn_list |
Static Private Attributes | |
static singleton_cleanup_list * | instance = 0 |
Definition at line 6 of file singleton-cleanup.h.
Definition at line 16 of file singleton-cleanup.h.
|
inlineprotected |
Definition at line 12 of file singleton-cleanup.h.
Referenced by instance_ok().
singleton_cleanup_list::~singleton_cleanup_list | ( | void | ) |
Definition at line 32 of file singleton-cleanup.cc.
References fcn_list.
|
private |
Definition at line 20 of file singleton-cleanup.h.
Referenced by ch_manager::create_instance(), symbol_table::scope_id_cache::create_instance(), octave_call_stack::create_instance(), gtk_manager::create_instance(), gh_manager::create_instance(), octave_errno::instance_ok(), oct_mach_info::instance_ok(), octave_rand::instance_ok(), bp_table::instance_ok(), octave_fftw_planner::instance_ok(), octave_value_typeinfo::instance_ok(), octave_dynamic_loader::instance_ok(), octave_sparse_params::instance_ok(), octave_env::instance_ok(), ft_manager::instance_ok(), octave_pager_stream::instance_ok(), octave_shlib_list::instance_ok(), resource_manager::instance_ok(), file_ops::instance_ok(), display_info::instance_ok(), octave_diary_stream::instance_ok(), dir_path::static_members::instance_ok(), octave_child_list::instance_ok(), command_editor::instance_ok(), octave_float_fftw_planner::instance_ok(), load_path::instance_ok(), and octave_stream_list::instance_ok().
Definition at line 26 of file singleton-cleanup.h.
Definition at line 34 of file singleton-cleanup.h.
Definition at line 38 of file singleton-cleanup.h.
Definition at line 44 of file singleton-cleanup.cc.
References current_liboctave_error_handler, instance, and singleton_cleanup_list().
|
private |
|
private |
Definition at line 36 of file singleton-cleanup.h.
Referenced by ~singleton_cleanup_list().
|
staticprivate |
Definition at line 30 of file singleton-cleanup.h.
Referenced by instance_ok().