27 #include "../BuildConfig.h" 28 #include "../core/logger/Logger.h" 29 #include "../core/translator/Translator.h" 30 #include "../dataaccess/datasource/DataSourceFactory.h" 31 #include "../dataaccess/datasource/DataSourceManager.h" 32 #include "../maptools/serialization/xml/Layer.h" 37 #ifdef TERRALIB_MOD_XML_ENABLED 38 #include "./serialization/xml/Layer.h" 42 #include <gdal_priv.h> 45 #include <boost/functional/factory.hpp> 46 #include <boost/bind.hpp> 49 :
te::core::CppPlugin(pluginInfo)
66 #ifdef TERRALIB_MOD_XML_ENABLED te::map::AbstractLayer * LayerReader(te::xml::Reader &reader)
Basic information about a plugin.
Module(const te::core::PluginInfo &pluginInfo)
Plugin constructor.
#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.
static void remove(const std::string &dsType)
it finalizes the GDAL factory support.
#define TE_WMS_DRIVER_IDENTIFIER
void LayerWriter(const te::map::AbstractLayer *alayer, te::xml::AbstractWriter &writer)
static T & getInstance()
It returns a reference to the singleton instance.
te::da::DataSource * Build(const te::core::URI &uri)
boost::function< te::map::AbstractLayer *(te::xml::Reader &)> LayerReadFnctType
#define TERRALIB_PLUGIN_CALL_BACK_IMPL(PLUGIN_CLASS_NAME)
This macro should be used by C++ plugins in order to declare the exportable/callable DLL function...
#define TE_LOG_TRACE(message)
Use this tag in order to log a message to the TerraLib default logger with the TRACE level...
static void add(const std::string &dsType, FactoryFnctType f)
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