27 #include "terralib_config.h"
28 #include "../common/Logger.h"
29 #include "../common/Translator.h"
30 #include "../dataaccess/datasource/DataSourceFactory.h"
31 #include "../dataaccess/datasource/DataSourceManager.h"
32 #include "../maptools/serialization/xml/Layer.h"
33 #include "../plugin/PluginInfo.h"
38 #ifdef TERRALIB_MOD_XML_ENABLED
39 #include "./serialization/xml/Layer.h"
43 #include <gdal_priv.h>
46 #include <boost/functional/factory.hpp>
47 #include <boost/bind.hpp>
50 : te::plugin::Plugin(pluginInfo)
67 #ifdef TERRALIB_MOD_XML_ENABLED
89 m_initialized =
false;
te::map::AbstractLayer * LayerReader(te::xml::Reader &reader)
#define TE_LOG_TRACE(msg)
Use this tag in order to log a message to a specified logger with the TRACE level.
#define TE_WMS_DRIVER_IDENTIFIER
#define TE_TR(message)
It marks a string in order to get translated.
void startup()
This method will be called by TerraLib to startup some plugin's functionality.
Configuration flags for the TerraLib WMS module.
void LayerWriter(const te::map::AbstractLayer *alayer, te::xml::AbstractWriter &writer)
te::da::DataSource * Build()
#define PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
static Layer & getInstance()
It returns a reference to the singleton instance.
boost::function< te::map::AbstractLayer *(te::xml::Reader &)> LayerReadFnctType
The TerraLib WMS driver as a plugin.
A factory for data sources.
Module(const te::plugin::PluginInfo &pluginInfo)
Plugin constructor.
static void add(const std::string &dsType, FactoryFnctType f)
The basic information about a plugin.
static void remove(const std::string &dsType)
void shutdown()
This method will be called by TerraLib to shutdown plugin's functionality.
boost::function< void(const te::map::AbstractLayer *, te::xml::AbstractWriter &)> LayerWriteFnctType