Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
All Classes Functions Enumerations Pages
Public Member Functions | List of all members
Ilwis::Module Class Reference

#include <module.h>

Inheritance diagram for Ilwis::Module:

Public Member Functions

 Module (QObject *parent, const QString &name, const QString &ivers, const QString &vers)
 
QString getInterfaceVersion () const
 
QString name () const
 
QString version () const
 
QString getNameAndVersion () const
 
virtual void prepare ()
 

Detailed Description

the baseclass for all plugins in Ilwis

All plugins in Ilwis are derived from this class. The QT plugin loader uses this class to identify the plugins

Member Function Documentation

QString Module::getInterfaceVersion ( ) const

This method identifies the interface version of the plug-in

version and interface version are different concepts. A new version of a plug-in might have the same interface version but a different version number.

Returns
QString version id
QString Module::getNameAndVersion ( ) const

returns name and version combined of the module

convenience function as the combination of these two is used to uniquely identify the module

Returns
QString Module::name ( ) const

returns the name of the module

Returns
name
void Module::prepare ( )
virtual

prepare initialization routine of the module

*overruled in deravatives. Usually operations, creation methods for factories and other global accessible functions are transferred here to the system context. It depends on the module

QString Module::version ( ) const

returns the version of the module

Returns
version

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