The plugin module loading class.
More...
#include <mia/core/module.hh>
The plugin module loading class.
This class handles the loading of shared object modules and hides all the ugliness of platform dependency.
Definition at line 48 of file module.hh.
§ CPluginModule()
CPluginModule::CPluginModule |
( |
const char * |
path | ) |
|
Constructor that takes the path to the module, tries to open it, and will throw an invalid_argument exception, if the module can not be loaded
§ ~CPluginModule()
CPluginModule::~CPluginModule |
( |
| ) |
|
§ get_interface()
- Returns
- the plug-in object implemented in the module or NULL, if the module does not proide such plug-in
§ get_name()
const std::string& CPluginModule::get_name |
( |
| ) |
const |
- Returns
- the file name of the module
§ set_keep_library()
void CPluginModule::set_keep_library |
( |
| ) |
|
§ set_unload_library()
void CPluginModule::set_unload_library |
( |
| ) |
|
tell the DLL loader that it should unload this library when the modules is destroyed
The documentation for this class was generated from the following file: