GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "dynamic-ld.h"
Public Member Functions | |
virtual | ~octave_dynamic_loader (void) |
Static Public Member Functions | |
static octave_function * | load_mex (const std::string &fcn_name, const std::string &file_name=std::string(), bool relative=false) |
static octave_function * | load_oct (const std::string &fcn_name, const std::string &file_name=std::string(), bool relative=false) |
static bool | remove_mex (const std::string &fcn_name, octave_shlib &shl) |
static bool | remove_oct (const std::string &fcn_name, octave_shlib &shl) |
Protected Member Functions | |
octave_dynamic_loader (void) |
Static Protected Member Functions | |
static std::string | mex_f77_mangler (const std::string &name) |
static std::string | mex_mangler (const std::string &name) |
static std::string | mex_uscore_mangler (const std::string &name) |
static std::string | name_mangler (const std::string &name) |
static std::string | name_uscore_mangler (const std::string &name) |
Private Member Functions | |
octave_dynamic_loader (const octave_dynamic_loader &) | |
octave_function * | do_load_mex (const std::string &fcn_name, const std::string &file_name=std::string(), bool relative=false) |
octave_function * | do_load_oct (const std::string &fcn_name, const std::string &file_name=std::string(), bool relative=false) |
bool | do_remove_mex (const std::string &fcn_name, octave_shlib &shl) |
bool | do_remove_oct (const std::string &fcn_name, octave_shlib &shl) |
octave_dynamic_loader & | operator= (const octave_dynamic_loader &) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
static bool | instance_ok (void) |
Static Private Attributes | |
static bool | doing_load = false |
static octave_dynamic_loader * | instance = 0 |
Definition at line 32 of file dynamic-ld.h.
|
inlineprotected |
Definition at line 37 of file dynamic-ld.h.
Referenced by instance_ok().
|
inlinevirtual |
Definition at line 41 of file dynamic-ld.h.
|
private |
Definition at line 67 of file dynamic-ld.h.
Referenced by instance_ok().
|
private |
Definition at line 311 of file dynamic-ld.cc.
References Matrix::append(), clear(), doing_load, error(), error_state, octave_shlib_list::find_file(), octave_shlib::is_out_of_date(), mex_f77_mangler(), mex_mangler(), mex_uscore_mangler(), octave_shlib::open(), action_container::protect_var(), and octave_shlib::search().
Referenced by load_mex().
|
private |
Definition at line 251 of file dynamic-ld.cc.
References Matrix::append(), clear(), doing_load, error(), error_state, f, octave_shlib_list::find_file(), octave_shlib::is_out_of_date(), name_mangler(), name_uscore_mangler(), octave_shlib::open(), action_container::protect_var(), and octave_shlib::search().
Referenced by load_oct().
|
private |
Definition at line 398 of file dynamic-ld.cc.
References doing_load, octave_shlib::number_of_functions_loaded(), octave_shlib_list::remove(), and octave_shlib::remove().
Referenced by remove_mex().
|
private |
Definition at line 378 of file dynamic-ld.cc.
References doing_load, octave_shlib::number_of_functions_loaded(), octave_shlib_list::remove(), and octave_shlib::remove().
Referenced by remove_oct().
Definition at line 205 of file dynamic-ld.cc.
References singleton_cleanup_list::add(), cleanup_instance(), error(), instance, and octave_dynamic_loader().
Referenced by load_mex(), load_oct(), remove_mex(), and remove_oct().
|
static |
Definition at line 427 of file dynamic-ld.cc.
References do_load_mex(), instance, and instance_ok().
|
static |
Definition at line 418 of file dynamic-ld.cc.
References do_load_oct(), instance, and instance_ok().
|
staticprotected |
Definition at line 474 of file dynamic-ld.cc.
References F77_FUNC(), and STRINGIFY.
Referenced by do_load_mex().
|
staticprotected |
Definition at line 462 of file dynamic-ld.cc.
Referenced by do_load_mex().
|
staticprotected |
Definition at line 468 of file dynamic-ld.cc.
Referenced by do_load_mex().
|
staticprotected |
Definition at line 450 of file dynamic-ld.cc.
Referenced by do_load_oct().
|
staticprotected |
Definition at line 456 of file dynamic-ld.cc.
Referenced by do_load_oct().
|
private |
|
static |
Definition at line 443 of file dynamic-ld.cc.
References do_remove_mex(), instance, and instance_ok().
Referenced by octave_mex_function::~octave_mex_function().
|
static |
Definition at line 436 of file dynamic-ld.cc.
References do_remove_oct(), instance, and instance_ok().
Referenced by octave_dld_function::~octave_dld_function().
|
staticprivate |
Definition at line 85 of file dynamic-ld.h.
Referenced by do_load_mex(), do_load_oct(), do_remove_mex(), and do_remove_oct().
|
staticprivate |
Definition at line 65 of file dynamic-ld.h.
Referenced by instance_ok(), load_mex(), load_oct(), remove_mex(), and remove_oct().