The plugin module loading class. More...
#include <mia/core/module.hh>
Public Member Functions | |
CPluginModule (const char *path) | |
CPluginBase * | get_interface () const |
const std::string & | get_name () const |
~CPluginModule () | |
The plugin module loading class.
This class handles the loading of shared object modules and hides all the ugliness of platform dependency.
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 | ( | ) |
CPluginBase* CPluginModule::get_interface | ( | ) | const |
const std::string& CPluginModule::get_name | ( | ) | const |