eVaf
eVaf::Plugins Namespace Reference

Library for managing loadable modules (plugins). More...

Namespaces

 Internal
 Internal implementation of the plugin manager library.
 

Classes

class  iPlugin
 Common interface for all the eVaf modules. More...
 
class  iPluginFactory
 Common plugin factory interface for eVaf modules. More...
 
class  PluginManager
 Plugin manager for eVaf applications. More...
 

Functions

QString expandPluginName (QString const &name)
 Expands plugin names for the selected platform. More...
 

Detailed Description

Library for managing loadable modules (plugins).

The Plugins library adds loadable modules (plugins) support to the eVaf application. A module is one external library (.so or .dll file) that implements one or more plugins. A plugin is an individual object that is created and initialized as one entirety.

Modules are loaded and plugins created by the plugin manager. Plugin manager uses the application's XML file to define which modules should be loaded and which plugins to be created.

Function Documentation

QString eVaf::Plugins::expandPluginName ( QString const &  name)
inline

Expands plugin names for the selected platform.

Parameters
nameName of the plugin
Returns
Expanded plugin name

This function expands the plugin name so that it becomes valid for the selected platform. For example, on Linux it adds the prefix "lib" to the beginning and extension ".so" to the end.

Definition at line 58 of file pluginmanager.h.