#include <omgmodellerplugininterface.h>
Inheritance diagram for OmgModellerPluginInterface:
Definition at line 40 of file omgmodellerplugininterface.h.
Public Member Functions | |
virtual | ~OmgModellerPluginInterface () |
virtual QString | createModel (OmgModel *thepModel)=0 |
virtual void | projectModel (OmgModel *thepModel)=0 |
virtual const QStringList | getAlgorithmList ()=0 |
virtual const OmgAlgorithmSet | getAlgorithmSet ()=0 |
virtual const QString | getLayers (QString theBaseDir)=0 |
virtual const QString | getName ()=0 |
virtual const OmgPluginMessenger * | getMessenger () |
virtual const QString | getModelDefinition (QString theModelXml) |
Protected Member Functions | |
OmgModellerPluginInterface () | |
Protected Attributes | |
OmgPluginMessenger | mMessenger |
|
Definition at line 25 of file omgmodellerplugininterface.cpp. |
|
The default constructor is protected so that no besides inheriting classes can use it! Definition at line 99 of file omgmodellerplugininterface.h. |
|
Create an initial model definition
Implemented in OmgModellerLocalPlugin, and OmgModellerWebServicesPlugin. Referenced by OmgLocalitiesModelTest::rowsAndColumns(), OmgModelTest::run(), and OmgExperiment::run(). |
|
Get a list of the algorithm names. Use getAlgorithmId with one of the returned names to find out an algs id
Implemented in OmgModellerLocalPlugin, and OmgModellerWebServicesPlugin. |
|
Get a collection of algorithm objects in the form of an AgorithmSet. The collection represents every algorithm that is available from the plugin implementing this interface
Implemented in OmgModellerLocalPlugin, and OmgModellerWebServicesPlugin. Referenced by OmgAlgorithmSet::getFromActivePlugin(). |
|
Get a list of layers by recursively searching a directory heirachy and testing if each file is a gdal loadable file or not. The actual implementation of how this is done is up to the plugin - remote services may have a preconfigured list of available layers that is simply returned without any filesystem scanning.
Implemented in OmgModellerLocalPlugin, and OmgModellerWebServicesPlugin. Referenced by OmgLayerSelector::buildTree(). |
|
Get a pointer to the plugin messenger instance associated with this plugin. The pluginmessenger is used to relay signals between the application using the plugin and the plugin itself. Ideally we would just make the plugin interface inherit qobject and implement the signals directly in the interface, but this approach only works on mac and linux at the moment so we resort to this slightly more cumbersome appraoch.
Definition at line 29 of file omgmodellerplugininterface.cpp. References mMessenger. Referenced by OmgLayerSelector::buildTree(), OmgModellerWebServicesPluginTest::initTestCase(), and OmgModelTest::run(). |
|
Parse a model returned from the modelling backend and extract the <model/> from the algorithm
Definition at line 34 of file omgmodellerplugininterface.cpp. |
|
Get the name of this plugin instance - useful for displaying the plugin name in guis etc
Implemented in OmgModellerLocalPlugin, and OmgModellerWebServicesPlugin. Referenced by OmgModellerPluginRegistry::OmgModellerPluginRegistry(), OmgLocalitiesModelTest::rowsAndColumns(), OmgModelTest::run(), and OmgExperimentTest::run(). |
|
Project a model into a climate dataset. the model passed in as a parameter must have a valid model definition
Implemented in OmgModellerLocalPlugin, and OmgModellerWebServicesPlugin. Referenced by OmgModelTest::run(), and OmgExperiment::run(). |
|
The plugin messenger instance associated with this plugin Definition at line 99 of file omgmodellerplugininterface.h. Referenced by getMessenger(). |