27 #include "../common/Logger.h"
28 #include "../common/Translator.h"
29 #include "../dataaccess/datasource/DataSourceManager.h"
36 : te::plugin::CppPlugin(pluginInfo)
56 if(sm_gribInitialized)
66 sm_gribInitialized =
true;
71 if(!sm_gribInitialized)
77 sm_gribInitialized =
false;
The basic information about a plugin.
void startup()
This method will be called by TerraLib to startup some plugin's functionality.
static void finalize()
It finalizes all TerraLib GRIB driver support.
This is the concrete factory for GRIB.
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...
#define TE_GRIB_TEXT_DOMAIN_DIR
It contains the translation catalog directory.
#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...
A utility class to initialize and terminate TerraLib GRIB driver support.
static void initialize()
It initializes all TerraLib GRIB driver support.
#define TE_ADD_TEXT_DOMAIN(domain, domaindir, codeset)
It adds the given text domain located at domain-dir with the given codeset to the multilingual system...
#define TE_GRIB_TEXT_DOMAIN
It contains the name of the text domain used in the translation of messages in TerraLib MyDriver driv...
static bool sm_gribInitialized
A flag that indicates if the GRIB driver is initialized or not.
A utility class to initialize and terminate TerraLib GRIB driver support.
void shutdown()
This method will be called by TerraLib to shutdown plugin's functionality.
Platform(const te::plugin::PluginInfo &pluginInfo)
It creates a new C++ module.
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory DataSou...