Cube GUI Plugin User Guide  (CubeGUI 4.4.4, revision 18494)
How to develop a Cube GUI Plugin, road map and examples
Public Member Functions | List of all members
cubepluginapi::PluginInterface Class Referenceabstract

#include <PluginInterface.h>

Inheritance diagram for cubepluginapi::PluginInterface:
cubepluginapi::ContextFreePlugin cubepluginapi::CubePlugin

Public Member Functions

virtual void version (int &major, int &minor, int &bugfix) const =0
 sets the version number of the plugin. More...
 
virtual QString name () const =0
 returns the unique plugin name. Only one plugin with this name will beloaded. More...
 
virtual QString getHelpText () const =0
 returns a text to describe the plugin. It will be used by help menu of the Cube GUI. More...
 
QString versionLabel ()
 
virtual ~PluginInterface ()
 

Constructor & Destructor Documentation

virtual cubepluginapi::PluginInterface::~PluginInterface ( )
virtual

Member Function Documentation

virtual QString cubepluginapi::PluginInterface::getHelpText ( ) const
pure virtual
virtual QString cubepluginapi::PluginInterface::name ( ) const
pure virtual
virtual void cubepluginapi::PluginInterface::version ( int &  major,
int &  minor,
int &  bugfix 
) const
pure virtual

Each plugin has to set a version number. If several plugins with the same identifier (

See also
name()) exist, the one with the highest version number will be loaded.

Implemented in cubepluginapi::CubePlugin, and cubepluginapi::ContextFreePlugin.

QString cubepluginapi::PluginInterface::versionLabel ( )

Cube Writer Library    Copyright © 1998–2017 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming