![]() |
NEURON
|
A singleton class handling access to the pybind_wrap_api struct. More...
#include <pyembed.hpp>
Public Member Functions | |
EmbeddedPythonLoader (const EmbeddedPythonLoader &)=delete | |
void | operator= (const EmbeddedPythonLoader &)=delete |
const pybind_wrap_api & | api () |
Get a pointer to the pybind_wrap_api struct. More... | |
~EmbeddedPythonLoader () | |
Static Public Member Functions | |
static EmbeddedPythonLoader & | get_instance () |
Construct (if not already done) and get the only instance of this class. More... | |
Private Member Functions | |
bool | have_wrappers () |
void | load_libraries () |
void | populate_symbols () |
void | unload () |
EmbeddedPythonLoader () | |
Private Attributes | |
pybind_wrap_api | wrappers |
void * | pylib_handle = nullptr |
void * | pybind_wrapper_handle = nullptr |
A singleton class handling access to the pybind_wrap_api struct.
This class manages the runtime loading of the libpython so/dylib file and the python binding wrapper library and provides access to the API wrapper struct that can be used to access the pybind11 embedded python functionality.
Definition at line 22 of file pyembed.hpp.
|
delete |
|
inline |
Definition at line 47 of file pyembed.hpp.
|
inlineprivate |
Definition at line 62 of file pyembed.hpp.
const pybind_wrap_api & nmodl::pybind_wrappers::EmbeddedPythonLoader::api | ( | ) |
Get a pointer to the pybind_wrap_api struct.
Get access to the container struct for the pointers to the functions in the wrapper library.
Definition at line 136 of file pyembed.cpp.
|
inlinestatic |
Construct (if not already done) and get the only instance of this class.
Definition at line 29 of file pyembed.hpp.
|
private |
Definition at line 30 of file pyembed.cpp.
|
private |
Definition at line 67 of file pyembed.cpp.
|
delete |
|
private |
Definition at line 106 of file pyembed.cpp.
|
private |
Definition at line 125 of file pyembed.cpp.
|
private |
Definition at line 55 of file pyembed.hpp.
|
private |
Definition at line 54 of file pyembed.hpp.
|
private |
Definition at line 52 of file pyembed.hpp.