#include <Iguana/Utilities/classlib/utils/SharedLibrary.h>
Public Types | |
typedef void * | Data |
typedef void(* | Function )(void) |
typedef Callback1< const LibraryInfo & > | InfoHandler |
Public Member Functions | |
void | abandon (void) |
Data | data (const std::string &name, bool mangle=true) const |
Function | function (const std::string &name, bool mangle=true) const |
void | release (void) |
Static Public Member Functions | |
static std::string | libname (const std::string &name) |
static SharedLibrary * | load (const std::string &name) |
static void | loaded (const InfoHandler &handler) |
static void | path (const std::string &path) |
static std::string | path (void) |
static SharedLibrary * | self (void) |
static std::string | symname (const std::string &name) |
Protected Member Functions | |
SharedLibrary (void *handle) | |
~SharedLibrary (void) | |
Private Member Functions | |
SharedLibrary & | operator= (const SharedLibrary &) |
SharedLibrary (const SharedLibrary &) | |
Private Attributes | |
void * | m_handle |
Classes | |
struct | LibraryInfo |
Information about a currently loaded shared library. More... |
Definition at line 20 of file SharedLibrary.h.
typedef void* lat::SharedLibrary::Data |
Definition at line 23 of file SharedLibrary.h.
typedef void(* lat::SharedLibrary::Function)(void) |
typedef Callback1<const LibraryInfo &> lat::SharedLibrary::InfoHandler |
Definition at line 38 of file SharedLibrary.h.
lat::SharedLibrary::SharedLibrary | ( | void * | handle | ) | [protected] |
lat::SharedLibrary::~SharedLibrary | ( | void | ) | [protected] |
lat::SharedLibrary::SharedLibrary | ( | const SharedLibrary & | ) | [private] |
Referenced by IgModule::unload().
static std::string lat::SharedLibrary::libname | ( | const std::string & | name | ) | [static] |
static SharedLibrary* lat::SharedLibrary::load | ( | const std::string & | name | ) | [static] |
static void lat::SharedLibrary::loaded | ( | const InfoHandler & | handler | ) | [static] |
Referenced by IgQtAppDebugLibrariesInfo::update().
SharedLibrary& lat::SharedLibrary::operator= | ( | const SharedLibrary & | ) | [private] |
static void lat::SharedLibrary::path | ( | const std::string & | path | ) | [static] |
static std::string lat::SharedLibrary::path | ( | void | ) | [static] |
Referenced by IgPluginManager::get().
Referenced by IgModule::unload().
static SharedLibrary* lat::SharedLibrary::self | ( | void | ) | [static] |
static std::string lat::SharedLibrary::symname | ( | const std::string & | name | ) | [static] |
void* lat::SharedLibrary::m_handle [private] |
Definition at line 60 of file SharedLibrary.h.