SNode.C
|
#include <DynamicLoader.h>
Classes | |
struct | Library |
Public Member Functions | |
DynamicLoader ()=delete | |
~DynamicLoader ()=delete | |
Static Public Member Functions | |
static void * | dlRegisterHandle (void *handle, const std::string &libFile) |
static void | dlCloseDelayed (void *handle) |
static int | dlClose (void *handle) |
static void * | dlSym (void *handle, const std::string &symbol) |
static char * | dlError () |
Static Private Member Functions | |
static int | dlClose (const Library &library) |
static int | realExecDlClose (const Library &library) |
static void | execDlCloseDeleyed () |
static void | execDlCloseAll () |
Static Private Attributes | |
static std::map< void *, Library > | dlOpenedLibraries |
static std::list< void * > | closeHandles |
Friends | |
class | EventLoop |
class | EventMultiplexer |
Definition at line 57 of file DynamicLoader.h.
|
delete |
|
delete |
|
staticprivate |
Definition at line 119 of file DynamicLoader.cpp.
References dlError(), core::DynamicLoader::Library::fileName, and realExecDlClose().
Referenced by dlClose(), execDlCloseAll(), and execDlCloseDeleyed().
|
static |
Definition at line 89 of file DynamicLoader.cpp.
References dlClose(), and dlOpenedLibraries.
Referenced by web::websocket::SubProtocolFactorySelector< web::websocket::SubProtocolFactory< web::websocket::client::SubProtocol > >::load().
|
static |
Definition at line 71 of file DynamicLoader.cpp.
References closeHandles, dlOpenedLibraries, and core::DynamicLoader::Library::fileName.
Referenced by web::http::SocketContextUpgradeFactorySelector< SocketContextUpgradeFactoryT >::unload(), and web::websocket::SubProtocolFactorySelector< SubProtocolFactoryT >::unload().
|
static |
Definition at line 111 of file DynamicLoader.cpp.
References core::system::dlerror().
Referenced by dlClose(), and dlRegisterHandle().
|
static |
Definition at line 57 of file DynamicLoader.cpp.
References dlError(), dlOpenedLibraries, core::DynamicLoader::Library::fileName, and core::DynamicLoader::Library::handle.
|
static |
Definition at line 107 of file DynamicLoader.cpp.
References core::system::dlsym().
Referenced by web::websocket::SubProtocolFactorySelector< SubProtocolFactoryT >::load().
|
staticprivate |
Definition at line 147 of file DynamicLoader.cpp.
References closeHandles, dlClose(), and dlOpenedLibraries.
Referenced by core::EventLoop::free().
|
staticprivate |
Definition at line 132 of file DynamicLoader.cpp.
References closeHandles, dlClose(), and dlOpenedLibraries.
Referenced by core::EventMultiplexer::releaseExpiredResources().
|
staticprivate |
Definition at line 115 of file DynamicLoader.cpp.
References core::system::dlclose(), and core::DynamicLoader::Library::handle.
Referenced by dlClose().
|
friend |
Definition at line 86 of file DynamicLoader.h.
|
friend |
Definition at line 87 of file DynamicLoader.h.
|
staticprivate |
Definition at line 84 of file DynamicLoader.h.
Referenced by dlCloseDelayed(), execDlCloseAll(), and execDlCloseDeleyed().
|
staticprivate |
Definition at line 83 of file DynamicLoader.h.
Referenced by dlClose(), dlCloseDelayed(), dlRegisterHandle(), execDlCloseAll(), and execDlCloseDeleyed().