All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
GeopsyCore::GeopsyCoreInterface Class Reference

Abstract interface for all Geopsy plugins. More...

#include <GeopsyCoreInterface.h>

Inheritance diagram for GeopsyCore::GeopsyCoreInterface:
GeopsyGui::GeopsyGuiInterface Plugin ArrayPlugin DampingPlugin HVPlugin NRPlugin PtMotionPlugin RefraPlugin StructureRatiosPlugin TFAPlugin ToolSeparator

List of all members.

Public Member Functions

virtual QString description () const
virtual const char * interfaceVersion () const =0
bool isValid () const
virtual void polish ()
virtual QString tag () const =0
virtual QString title () const =0
virtual ~GeopsyCoreInterface ()

Detailed Description

Abstract interface for all Geopsy plugins.

The constructor of a new plugin is the right place to add custom file formats. At the constructor time, the current data base and the signal cache are not initialized. Reimplement polish() if you need these two elements to be initialized.


Constructor & Destructor Documentation

{}

Member Function Documentation

QString GeopsyCore::GeopsyCoreInterface::description ( ) const [virtual]

Return a complete description of the plugin. By default, it returns a null string.

Reimplemented in Plugin.

  {
    return QString::null;
  }
const char * GeopsyCore::GeopsyCoreInterface::interfaceVersion ( ) const [pure virtual]

Returns the geopsycore version of the plugin (at compile time)

Implemented in ToolSeparator, StructureRatiosPlugin, HVPlugin, ArrayPlugin, DampingPlugin, NRPlugin, PtMotionPlugin, RefraPlugin, TFAPlugin, and Plugin.

Referenced by isValid(), and GeopsyCore::GeopsyPlugins::load().

Check if the plugin version is compatible with the current core

References QGpCoreTools::Version::compatible(), and interfaceVersion().

Referenced by GeopsyCore::GeopsyPlugins::getList().

  {
    static const Version vRef(GEOPSYCORE_VERSION);
    Version v(interfaceVersion());
    return v.compatible(vRef);
  }
virtual void GeopsyCore::GeopsyCoreInterface::polish ( ) [inline, virtual]
virtual QString GeopsyCore::GeopsyCoreInterface::tag ( ) const [pure virtual]
virtual QString GeopsyCore::GeopsyCoreInterface::title ( ) const [pure virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines