eVaf
eVaf::Plugins::Internal::Module Class Reference

One external module implementing the iPluginFactory or the iPlugin interfaces. More...

#include <Plugins/pluginmanager_p.h>

Public Member Functions

iPlugincreate (QString const &name)
 Creates the requested iPlugin interface object. More...
 
bool isLoaded () const
 Returns true if the module is loaded. More...
 
bool load ()
 Loads the module. More...
 
 Module (QString const &name)
 Ctr. More...
 
QString const & name () const
 The name of the module. More...
 
void unload ()
 Unloads the module. More...
 
 ~Module ()
 Dtr. More...
 

Detailed Description

One external module implementing the iPluginFactory or the iPlugin interfaces.

This class is a wrapper around the external module.

Definition at line 101 of file pluginmanager_p.h.

Constructor & Destructor Documentation

eVaf::Plugins::Internal::Module::Module ( QString const &  name)

Ctr.

Parameters
nameName of the module
eVaf::Plugins::Internal::Module::~Module ( )

Dtr.

Member Function Documentation

iPlugin* eVaf::Plugins::Internal::Module::create ( QString const &  name)

Creates the requested iPlugin interface object.

Parameters
nameName of the interface
Returns
The iPlugin interface object or 0 if failed
bool eVaf::Plugins::Internal::Module::isLoaded ( ) const
inline

Returns true if the module is loaded.

Definition at line 115 of file pluginmanager_p.h.

bool eVaf::Plugins::Internal::Module::load ( )

Loads the module.

Returns
True; false if failed
QString const& eVaf::Plugins::Internal::Module::name ( ) const
inline

The name of the module.

Definition at line 118 of file pluginmanager_p.h.

void eVaf::Plugins::Internal::Module::unload ( )

Unloads the module.


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