#include <omgmodellerwebservicesplugin.h>
Inheritance diagram for OmgModellerWebServicesPlugin:
Definition at line 42 of file omgmodellerwebservicesplugin.h.
Signals | |
void | error (QString) |
void | logMessageUpdated (QString theMessage) |
void | modelDone (QString theFileName) |
void | modelProgressUpdate (int theProgress) |
Public Member Functions | |
OmgModellerWebServicesPlugin (QObject *parent=0) | |
~OmgModellerWebServicesPlugin () | |
QString | createModel (OmgModel *theModel) |
void | projectModel (OmgModel *theModel) |
const QStringList | getAlgorithmList () |
const OmgAlgorithmSet | getAlgorithmSet () |
const QString | getLayers (QString theBaseDir) |
const QString | getName () |
wchar_t * | convertToWideChar (const char *p) |
soap * | getSoapConnection () |
Private Member Functions | |
Q_INTERFACES (OmgModellerPluginInterface) | |
bool | initialise () |
Private Attributes | |
int | mModelProgress |
int | mMapProgress |
|
Definition at line 43 of file omgmodellerwebservicesplugin.cpp. References initialise(). |
Here is the call graph for this function:
|
Definition at line 50 of file omgmodellerwebservicesplugin.cpp. |
|
A helper method to convert a std char array into a wchar array Definition at line 513 of file omgmodellerwebservicesplugin.cpp. Referenced by createModel(), and projectModel(). |
|
Create an initial model definition
Implements OmgModellerPluginInterface. Definition at line 61 of file omgmodellerwebservicesplugin.cpp. References convertToWideChar(), OmgPluginMessenger::emitModelCreationProgress(), OmgPluginMessenger::emitModelError(), OmgPluginMessenger::emitModelMessage(), getSoapConnection(), and SLEEP_INTERVAL. |
Here is the call graph for this function:
|
|
|
Get a list of the algorithm names. Use getAlgorithmId with one of the returned names to find out an algs id
Implements OmgModellerPluginInterface. Definition at line 405 of file omgmodellerwebservicesplugin.cpp. References getAlgorithmSet(), and OmgAlgorithmSet::nameList(). Referenced by OmgModellerWebServicesPluginTest::getAlgorithms(). |
Here is the call graph for this function:
|
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
Implements OmgModellerPluginInterface. Definition at line 414 of file omgmodellerwebservicesplugin.cpp. References Omgui::createTextFile(), OmgPluginMessenger::emitError(), OmgAlgorithmSet::fromXml(), getSoapConnection(), OmgAlgorithmSet::setDescription(), OmgAlgorithmSet::setName(), and Omgui::xmlEncodeAmpersands(). Referenced by getAlgorithmList(). |
Here is the call graph for this function:
|
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.
Implements OmgModellerPluginInterface. Definition at line 449 of file omgmodellerwebservicesplugin.cpp. References getSoapConnection(). Referenced by OmgModellerWebServicesPluginTest::getLayers(). |
Here is the call graph for this function:
|
Get the user friendly name for this plugin
Implements OmgModellerPluginInterface. Definition at line 86 of file omgmodellerwebservicesplugin.h. Referenced by OmgModellerWebServicesPluginTest::getName(). |
|
Definition at line 484 of file omgmodellerwebservicesplugin.cpp. Referenced by createModel(), getAlgorithmSet(), getLayers(), and projectModel(). |
|
Private method called by any ctor on initial start up. It will go and find the algorithm list etc. Definition at line 54 of file omgmodellerwebservicesplugin.cpp. Referenced by OmgModellerWebServicesPlugin(). |
|
Notifies any listeners of an updated log message from openmodeller.
|
|
Notifies any listeners that the currently running model is finished
|
|
Notifies any listeners how far the current model has progressed (progress is expressed as a percentage)
|
|
Project a model into a climate dataset. the model passed in as a parameter must have a valid model definition
Implements OmgModellerPluginInterface. Definition at line 208 of file omgmodellerwebservicesplugin.cpp. References convertToWideChar(), OmgPluginMessenger::emitModelError(), OmgPluginMessenger::emitModelMessage(), OmgPluginMessenger::emitModelProjectionProgress(), Omgui::getOutputFormatExtension(), getSoapConnection(), and SLEEP_INTERVAL. |
Here is the call graph for this function:
|
|
|
Definition at line 124 of file omgmodellerwebservicesplugin.h. |
|
Definition at line 123 of file omgmodellerwebservicesplugin.h. |