#include <Module.h>
Public Member Functions | |
| const PluginInfo & | info () const |
| It returns the PluginInfo of the CppPlugin. More... | |
| bool | initialized () const |
| It returns true or false if the CppPlugin was initialized. More... | |
Initializer Methods | |
Constructor/Destructor. | |
| Module (const te::core::PluginInfo &pluginInfo) | |
| It creates a new C++ module. 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... | |
Static Public Attributes | |
| static const std::string | sm_booleanTypeName |
| The string literal representation for the boolean type. More... | |
| static const std::string | sm_byteArrayTypeName |
| The string literal representation for the byte array type. More... | |
| static const std::string | sm_charTypeName |
| The string literal representation for the char type. More... | |
| static const std::string | sm_dateTypeName |
| The string literal representation for the date type. More... | |
| static const std::string | sm_doubleTypeName |
| The string literal representation for the double type. More... | |
| static const std::string | sm_floatTypeName |
| The string literal representation for the float type. More... | |
| static const std::string | sm_geometryCollectionMTypeName |
| The string literal representation for ADO geometry collection with m geometry type. More... | |
| static const std::string | sm_geometryCollectionTypeName |
| The string literal representation for ADO geometry collection geometry type. More... | |
| static const std::string | sm_geometryTypeName |
| The string literal representation for ADO base geometry type. More... | |
| static const std::string | sm_int2TypeName |
| The string literal representation for the int2 type. More... | |
| static const std::string | sm_int8TypeName |
| The string literal representation for the int8 type. More... | |
| static const std::string | sm_intTypeName |
| The string literal representation for the int type. More... | |
| static const std::string | sm_lineStringMTypeName |
| The string literal representation for ADO line string with m geometry type. More... | |
| static const std::string | sm_lineStringTypeName |
| The string literal representation for ADO line string geometry type. More... | |
| static const std::string | sm_multiLineStringMTypeName |
| The string literal representation for ADO multi-linestring with m geometry type. More... | |
| static const std::string | sm_multiLineStringTypeName |
| The string literal representation for ADO multi-linestring geometry type. More... | |
| static const std::string | sm_multiPointMTypeName |
| The string literal representation for ADO multi-point with m geometry type. More... | |
| static const std::string | sm_multiPointTypeName |
| The string literal representation for ADO multi-point geometry type. More... | |
| static const std::string | sm_multiPolygonMTypeName |
| The string literal representation for ADO multi-polygon with m geometry type. More... | |
| static const std::string | sm_multiPolygonTypeName |
| The string literal representation for ADO multi-polygon geometry type. More... | |
| static const std::string | sm_numericTypeName |
| The string literal representation for the numeric type. More... | |
| static const std::string | sm_pointMTypeName |
| The string literal representation for ADO point geometry type. More... | |
| static const std::string | sm_pointTypeName |
| The string literal representation for ADO point geometry type. More... | |
| static const std::string | sm_polygonMTypeName |
| The string literal representation for ADO polygon with m geometry type. More... | |
| static const std::string | sm_polygonTypeName |
| The string literal representation for ADO polygon geometry type. More... | |
| static const std::string | sm_stringTypeName |
| The string literal representation for the string type. More... | |
| static const std::string | sm_timeStampTypeName |
| The string literal representation for the time stamp type. More... | |
| static const std::string | sm_timeStampTZTypeName |
| The string literal representation for the time stamp with time zone type. More... | |
| static const std::string | sm_timeTypeName |
| The string literal representation for the time type. More... | |
| static const std::string | sm_timeTZTypeName |
| The string literal representation for the time type. More... | |
| static const std::string | sm_unknownTypeName |
| The string literal representation for the unknown type. More... | |
| static const std::string | sm_varcharTypeName |
| The string literal representation for the varchar type. More... | |
Protected Attributes | |
| bool | m_initialized |
| PluginInfo | m_pinfo |
Definition at line 44 of file src/terralib/ado/Module.h.
| te::ado::Module::Module | ( | const te::core::PluginInfo & | pluginInfo | ) |
It creates a new C++ module.
Definition at line 42 of file src/terralib/ado/Module.cpp.
| te::ado::Module::~Module | ( | ) |
Destructor.
Definition at line 47 of file src/terralib/ado/Module.cpp.
|
virtualinherited |
It returns the PluginInfo of the CppPlugin.
Implements te::core::AbstractPlugin.
Definition at line 43 of file src/terralib/core/plugin/CppPlugin.cpp.
References te::core::CppPlugin::m_pinfo.
Referenced by te::qt::plugins::gdal::Plugin::openFileDialog(), te::qt::plugins::gdal::Plugin::openMultipleFilesDialog(), and te::qt::plugins::ogr::Plugin::showWindow().
|
virtualinherited |
It returns true or false if the CppPlugin was initialized.
Implements te::core::AbstractPlugin.
Definition at line 49 of file src/terralib/core/plugin/CppPlugin.cpp.
References te::core::CppPlugin::m_initialized.
|
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. |
Implements te::core::AbstractPlugin.
Definition at line 72 of file src/terralib/ado/Module.cpp.
References ADO_DRIVER_IDENTIFIER, te::common::Singleton< DataSourceManager >::getInstance(), te::core::CppPlugin::m_initialized, te::da::DataSourceFactory::remove(), TE_LOG_TRACE, TE_TR, and TERRALIB_PLUGIN_CALL_BACK_IMPL.
|
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. |
Implements te::core::AbstractPlugin.
Definition at line 51 of file src/terralib/ado/Module.cpp.
References te::da::DataSourceFactory::add(), te::ado::Build(), te::core::FindInTerraLibPath(), te::core::CppPlugin::m_initialized, te::serialize::xml::Read(), te::ado::Globals::sm_capabilities, te::ado::Globals::sm_queryDialect, TE_LOG_TRACE, and TE_TR.
|
protectedinherited |
Definition at line 73 of file src/terralib/core/plugin/CppPlugin.h.
Referenced by te::core::CppPlugin::initialized(), te::qt::plugins::wcs::Plugin::shutdown(), te::qt::plugins::pgis::Plugin::shutdown(), te::ce::Plugin::shutdown(), te::qt::plugins::ado::Plugin::shutdown(), te::ws::ogc::wcs::qtplugin::Plugin::shutdown(), te::qt::plugins::terralib4::Plugin::shutdown(), te::qt::plugins::wfs::Plugin::shutdown(), te::qt::plugins::cellspace::Plugin::shutdown(), te::qt::plugins::ogr::Plugin::shutdown(), te::qt::plugins::pgisRaster::Plugin::shutdown(), te::qt::plugins::addressgeocoding::Plugin::shutdown(), te::qt::plugins::wms::Plugin::shutdown(), te::qt::plugins::attributefill::Plugin::shutdown(), te::qt::plugins::gdal::Plugin::shutdown(), te::qt::plugins::st::Plugin::shutdown(), te::ws::ogc::wms::qtplugin::Plugin::shutdown(), te::qt::plugins::terramobile::Plugin::shutdown(), te::qt::plugins::mnt::Plugin::shutdown(), te::qt::plugins::tv::Plugin::shutdown(), te::wms::Module::shutdown(), te::wfs::Module::shutdown(), te::qt::plugins::sa::Plugin::shutdown(), te::wcs::Module::shutdown(), terralib4::Module::shutdown(), te::qt::plugins::vp::Plugin::shutdown(), shutdown(), te::qt::plugins::wtss::Plugin::shutdown(), te::qt::plugins::edit::Plugin::shutdown(), te::ws::ogc::wms::da::Module::shutdown(), te::qt::plugins::rp::Plugin::shutdown(), te::ws::ogc::wcs::da::Module::shutdown(), te::qt::plugins::pgis::Plugin::startup(), te::qt::plugins::wcs::Plugin::startup(), te::ce::Plugin::startup(), te::qt::plugins::ado::Plugin::startup(), te::ws::ogc::wcs::qtplugin::Plugin::startup(), te::qt::plugins::terralib4::Plugin::startup(), te::qt::plugins::wfs::Plugin::startup(), te::qt::plugins::cellspace::Plugin::startup(), te::qt::plugins::ogr::Plugin::startup(), te::qt::plugins::pgisRaster::Plugin::startup(), te::qt::plugins::addressgeocoding::Plugin::startup(), te::qt::plugins::wms::Plugin::startup(), te::qt::plugins::gdal::Plugin::startup(), te::qt::plugins::attributefill::Plugin::startup(), te::wms::Module::startup(), te::wfs::Module::startup(), te::wcs::Module::startup(), te::ws::ogc::wms::qtplugin::Plugin::startup(), te::qt::plugins::st::Plugin::startup(), terralib4::Module::startup(), te::qt::plugins::terramobile::Plugin::startup(), startup(), te::qt::plugins::tv::Plugin::startup(), te::qt::plugins::mnt::Plugin::startup(), te::qt::plugins::sa::Plugin::startup(), te::qt::plugins::vp::Plugin::startup(), te::qt::plugins::wtss::Plugin::startup(), te::ws::ogc::wcs::da::Module::startup(), te::ws::ogc::wms::da::Module::startup(), te::qt::plugins::edit::Plugin::startup(), and te::qt::plugins::rp::Plugin::startup().
|
protectedinherited |
Definition at line 72 of file src/terralib/core/plugin/CppPlugin.h.
Referenced by te::core::CppPlugin::info().
|
static |
The string literal representation for the boolean type.
Definition at line 94 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the byte array type.
Definition at line 98 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the char type.
Definition at line 95 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the date type.
Definition at line 87 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the double type.
Definition at line 93 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the float type.
Definition at line 92 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO geometry collection with m geometry type.
Definition at line 106 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO geometry collection geometry type.
Definition at line 105 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO base geometry type.
Definition at line 113 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the int2 type.
Definition at line 83 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the int8 type.
Definition at line 85 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the int type.
Definition at line 84 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO line string with m geometry type.
Definition at line 102 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO line string geometry type.
Definition at line 101 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO multi-linestring with m geometry type.
Definition at line 110 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO multi-linestring geometry type.
Definition at line 109 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO multi-point with m geometry type.
Definition at line 108 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO multi-point geometry type.
Definition at line 107 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO multi-polygon with m geometry type.
Definition at line 112 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO multi-polygon geometry type.
Definition at line 111 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the numeric type.
Definition at line 86 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO point geometry type.
Definition at line 100 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO point geometry type.
Definition at line 99 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO polygon with m geometry type.
Definition at line 104 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for ADO polygon geometry type.
Definition at line 103 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the string type.
Definition at line 97 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the time stamp type.
Definition at line 90 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the time stamp with time zone type.
Definition at line 91 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the time type.
Definition at line 88 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the time type.
Definition at line 89 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the unknown type.
Definition at line 82 of file src/terralib/ado/Module.h.
|
static |
The string literal representation for the varchar type.
Definition at line 96 of file src/terralib/ado/Module.h.