The TerraLib OGR driver is a plugin. More...
#include <Module.h>
Public Member Functions | |
| const PluginInfo & | getInfo () const |
| It return the information associated to the plugin. More... | |
| bool | isStarted () const |
| It tells if the plugin was started or not. More... | |
| Module (const te::plugin::PluginInfo &pluginInfo) | |
| Plugin constructor. More... | |
| bool | operator< (const AbstractPlugin &rhs) const |
| This overloaded operator can be used to index the plugin in a set. More... | |
| void | shutdown () |
| It finalizes all TerraLib OGR driver support. More... | |
| void | startup () |
| It initializes all TerraLib OGR driver support. More... | |
| ~Module () | |
| Destructor. More... | |
Protected Attributes | |
| bool | m_initialized |
| A flag that indicates if the plugin was started or not. More... | |
| PluginInfo | m_pluginInfo |
| Information about the plugin. More... | |
| te::ogr::Module::Module | ( | const te::plugin::PluginInfo & | pluginInfo | ) |
Plugin constructor.
| pInfo | Basic information provided to initialize this module through the plugin API. |
Definition at line 46 of file Module.cpp.
| te::ogr::Module::~Module | ( | ) |
Destructor.
Definition at line 51 of file Module.cpp.
|
virtualinherited |
It return the information associated to the plugin.
Implements te::plugin::AbstractPlugin.
Definition at line 29 of file Plugin.cpp.
References te::plugin::Plugin::m_pluginInfo.
|
virtualinherited |
It tells if the plugin was started or not.
Implements te::plugin::AbstractPlugin.
Definition at line 34 of file Plugin.cpp.
|
inherited |
This overloaded operator can be used to index the plugin in a set.
| rhs | The right-hand-side plugin. |
Definition at line 38 of file AbstractPlugin.cpp.
References te::plugin::AbstractPlugin::getInfo().
|
virtual |
It finalizes all TerraLib OGR driver support.
| Exception | It may throws an exception. |
Reimplemented from te::plugin::Plugin.
Definition at line 76 of file Module.cpp.
References te::common::Singleton< DataSourceManager >::getInstance(), OGR_DRIVER_IDENTIFIER, te::da::DataSourceFactory::remove(), te::ogr::DataSource::setDialect(), TE_LOG_TRACE, and TR_OGR.
|
virtual |
It initializes all TerraLib OGR driver support.
The initialization includes:
| Exception | It may throws an exception. |
Reimplemented from te::plugin::Plugin.
Definition at line 55 of file Module.cpp.
References te::da::DataSourceFactory::add(), te::ogr::Build(), OGR_DRIVER_IDENTIFIER, TE_ADD_TEXT_DOMAIN, TE_LOG_TRACE, TE_OGR_TEXT_DOMAIN, TE_OGR_TEXT_DOMAIN_DIR, and TR_OGR.
|
protectedinherited |
|
protectedinherited |
Information about the plugin.
Definition at line 78 of file Plugin.h.
Referenced by te::plugin::Plugin::getInfo().