Public Member Functions
CPluginModule Class Reference

The plugin module loading class. More...

#include <mia/core/module.hh>

Public Member Functions

 CPluginModule (const char *path)
 
CPluginBaseget_interface () const
 
const std::string & get_name () const
 
 ~CPluginModule ()
 

Detailed Description

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.

Constructor & Destructor Documentation

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 ( )

Member Function Documentation

CPluginBase* CPluginModule::get_interface ( ) const
Returns
the plug-in object implemented in the module or NULL, if the module does not proide such plug-in
const std::string& CPluginModule::get_name ( ) const
Returns
the file name of the module

The documentation for this class was generated from the following file: