#include <omgscraperplugininterface.h>
Inheritance diagram for OmgScraperPluginInterface:
Definition at line 36 of file omgscraperplugininterface.h.
Public Member Functions | |
virtual | ~OmgScraperPluginInterface () |
virtual bool | search (QString theTaxonName, QString theFileName)=0 |
void | setMinimumRecords (int theMinimum) |
virtual const QString | getName ()=0 |
virtual const QString | getLicense ()=0 |
virtual const OmgPluginMessenger * | getMessenger () |
Protected Types | |
typedef QVector< OmgLocality > | LocalityVector |
Protected Member Functions | |
OmgScraperPluginInterface () | |
void | createShapefile (QString theShapefileName) |
QString | createTextFile (QString theShapefileName) |
Protected Attributes | |
LocalityVector | mLocalityVector |
QString | mTaxonName |
QString | mFileName |
int | mMinimumRecords |
OmgPluginMessenger | mMessenger |
|
Definition at line 59 of file omgscraperplugininterface.h. |
|
Definition at line 31 of file omgscraperplugininterface.cpp. |
|
The default constructor is protected so that no besides inheriting classes can use it! Definition at line 59 of file omgscraperplugininterface.h. |
|
Definition at line 83 of file omgscraperplugininterface.cpp. References Omgui::localitiesToShapefile(), mLocalityVector, and mMinimumRecords. Referenced by OmgScraperGbif::localitiesRequestDone(), OmgScraperSplink::search(), and OmgScraperGbifRest::search(). |
Here is the call graph for this function:
|
Create an output text file.
Definition at line 49 of file omgscraperplugininterface.cpp. References OmgPluginMessenger::emitError(), OmgLocality::id(), OmgLocality::label(), OmgLocality::latitude(), OmgLocality::longitude(), mLocalityVector, mMessenger, and mMinimumRecords. Referenced by OmgScraperGbif::localitiesRequestDone(), OmgScraperSplink::search(), and OmgScraperGbifRest::search(). |
Here is the call graph for this function:
|
Implemented in OmgScraperGbif, OmgScraperGbifRest, and OmgScraperSplink. |
|
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 35 of file omgscraperplugininterface.cpp. References mMessenger. Referenced by OmgDataFetcherWizardProgressPage::search(). |
|
Implemented in OmgScraperGbif, OmgScraperGbifRest, and OmgScraperSplink. Referenced by OmgScraperPluginRegistry::OmgScraperPluginRegistry(), and OmgDataFetcherWizardProgressPage::search(). |
|
Implemented in OmgScraperGbif, OmgScraperGbifRest, and OmgScraperSplink. Referenced by OmgDataFetcherWizardProgressPage::search(). |
|
Definition at line 40 of file omgscraperplugininterface.cpp. References mMinimumRecords. Referenced by OmgDataFetcherWizardProgressPage::search(). |
|
Definition at line 63 of file omgscraperplugininterface.h. |
|
Definition at line 61 of file omgscraperplugininterface.h. Referenced by createShapefile(), and createTextFile(). |
|
The plugin messenger instance associated with this plugin Definition at line 72 of file omgscraperplugininterface.h. Referenced by createTextFile(), and getMessenger(). |
|
Definition at line 64 of file omgscraperplugininterface.h. Referenced by createShapefile(), createTextFile(), and setMinimumRecords(). |
|
Definition at line 62 of file omgscraperplugininterface.h. |