Portabe Dynamic Link Library Loader.
More...
#include <mia/core/dlloader.hh>
Portabe Dynamic Link Library Loader.
This class provides a portable way to load dynamic link libraries.
Definition at line 36 of file dlloader.hh.
CDLLoader::CDLLoader |
( |
const char * |
name, |
|
|
int |
flags |
|
) |
| |
Constructor that loads the DLL. If the Library \a name is not found,
the constructor will throw a \a std::runtime_error .
- Parameters
-
name | name of the library |
flags | flags used during loading (only used in UNIX) |
CDLLoader::~CDLLoader |
( |
) | |
|
Destructor; currently it does nothing (should unload the library), but currently it is not ensured that the code is not referenced from some plug-in.
void* CDLLoader::get_function |
( |
const char * |
name) | |
const |
Get a function address based on its name
- Parameters
-
name | of the function to look up |
- Returns
- pointer to the function or 0
const std::string& CDLLoader::get_name |
( |
) | |
const |
The documentation for this class was generated from the following file: