The TerraLib PostGIS 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... | |
~Module () | |
Destructor. More... | |
Re-Implmentation from Plugin Interface | |
Re-Implementation from Plugin Interface. | |
void | startup () |
This method will be called by TerraLib to startup some plugin's functionality. More... | |
void | shutdown () |
This method will be called by TerraLib to shutdown plugin's functionality. 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::pgis::Module::Module | ( | const te::plugin::PluginInfo & | pluginInfo | ) |
Plugin constructor.
pInfo | Basic information provided to initialize this module through the plugin API. |
Definition at line 42 of file Module.cpp.
te::pgis::Module::~Module | ( | ) |
Destructor.
Definition at line 47 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 |
This method will be called by TerraLib to shutdown plugin's functionality.
Exception | It throws an exception if the plugin can not be shutdown. |
Reimplemented from te::plugin::Plugin.
Definition at line 72 of file Module.cpp.
References te::common::Singleton< DataSourceManager >::getInstance(), PGIS_DRIVER_IDENTIFIER, te::da::DataSourceFactory::remove(), TE_LOG_TRACE, and TE_TR.
|
virtual |
This method will be called by TerraLib to startup some plugin's functionality.
Exception | It throws an exception if the plugin can not be started. |
Reimplemented from te::plugin::Plugin.
Definition at line 51 of file Module.cpp.
References te::da::DataSourceFactory::add(), te::pgis::Build(), te::common::FindInTerraLibPath(), te::serialize::xml::Read(), te::pgis::Globals::sm_capabilities, te::pgis::Globals::sm_queryDialect, TE_LOG_TRACE, and TE_TR.
|
protectedinherited |
|
protectedinherited |
Information about the plugin.
Definition at line 78 of file Plugin.h.
Referenced by te::plugin::Plugin::getInfo().