GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
dynamic_loader Class Reference

#include "dynamic-ld.h"

Public Member Functions

 dynamic_loader ()=delete
 
 dynamic_loader (interpreter &interp)
 
virtual ~dynamic_loader ()=default
 
octave_functionload_mex (const std::string &fcn_name, const std::string &file_name="", bool relative=false)
 
octave_functionload_oct (const std::string &fcn_name, const std::string &file_name="", bool relative=false)
 
bool remove_mex (const std::string &fcn_name, dynamic_library &shl)
 
bool remove_oct (const std::string &fcn_name, dynamic_library &shl)
 

Detailed Description

Definition at line 42 of file dynamic-ld.h.

Constructor & Destructor Documentation

◆ dynamic_loader() [1/2]

dynamic_loader::dynamic_loader ( )
delete

◆ dynamic_loader() [2/2]

dynamic_loader::dynamic_loader ( interpreter interp)
inline

Definition at line 80 of file dynamic-ld.h.

◆ ~dynamic_loader()

virtual dynamic_loader::~dynamic_loader ( )
virtualdefault

Member Function Documentation

◆ load_mex()

octave_function * dynamic_loader::load_mex ( const std::string &  fcn_name,
const std::string &  file_name = "",
bool  relative = false 
)

◆ load_oct()

octave_function * dynamic_loader::load_oct ( const std::string &  fcn_name,
const std::string &  file_name = "",
bool  relative = false 
)

◆ remove_mex()

bool dynamic_loader::remove_mex ( const std::string &  fcn_name,
dynamic_library shl 
)

Definition at line 287 of file dynamic-ld.cc.

References remove_oct().

◆ remove_oct()

bool dynamic_loader::remove_oct ( const std::string &  fcn_name,
dynamic_library shl 
)

Definition at line 267 of file dynamic-ld.cc.

References dynamic_library::number_of_functions_loaded(), and dynamic_library::remove().

Referenced by remove_mex().


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