Config.h File Reference

Configuration flags for the TerraLib Plugin module. More...

Go to the source code of this file.

Macros

Plugin Specific Macros

Macros used by plugin module.

#define TE_PLUGIN_MODULE_NAME   "te.plugin"
 The module name (identifier). More...
 
#define PLUGIN_CALL_BACK_DECLARATION(PLUGIN_EXPORT_MACRO)   extern "C" PLUGIN_EXPORT_MACRO te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info);
 This macro should be used by C++ plugins in order to declare the exportable/callable DLL function. More...
 
#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. More...
 
#define TE_CPPPLUGINENGINE_CODE   "C++"
 The plugin engine name for C++ plugins. More...
 
#define TE_DEFAULT_PLUGINS_DIR   "share/terralib/plugins"
 The default look up plugin dir. More...
 
#define TE_DEFAULT_PLUGIN_EXTENSION   ".teplg"
 The default extension for plugins description files. More...
 
#define TE_AUTOMATICALLY_LOAD_DEFAULT_XML_PLUGIN   1
 If this flag is set to 1 the plugin module will start a default XML driver. More...
 
DLL/LIB Module

Flags for building TerraLib as a DLL or as a Static Library

#define TEPLUGINEXPORT
 You can use this macro in order to export/import classes and functions from this module. More...
 

Detailed Description

Configuration flags for the TerraLib Plugin module.

Definition in file Config.h.

Macro Definition Documentation

#define PLUGIN_CALL_BACK_DECLARATION (   PLUGIN_EXPORT_MACRO)    extern "C" PLUGIN_EXPORT_MACRO te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info);

This macro should be used by C++ plugins in order to declare the exportable/callable DLL function.

Definition at line 46 of file Config.h.

#define PLUGIN_CALL_BACK_IMPL (   PLUGIN_CLASS_NAME)
Value:
te::plugin::Plugin* CppPluginGetInstance(const te::plugin::PluginInfo& info) \
{ \
return new PLUGIN_CLASS_NAME(info); \
}
A base class for plugin types.
Definition: Plugin.h:50
The basic information about a plugin.
Definition: PluginInfo.h:61

This macro should be used by C++ plugins in order to declare the exportable/callable DLL function.

Definition at line 54 of file Config.h.

#define TE_AUTOMATICALLY_LOAD_DEFAULT_XML_PLUGIN   1

If this flag is set to 1 the plugin module will start a default XML driver.

Definition at line 86 of file Config.h.

#define TE_CPPPLUGINENGINE_CODE   "C++"

The plugin engine name for C++ plugins.

Definition at line 65 of file Config.h.

#define TE_DEFAULT_PLUGIN_EXTENSION   ".teplg"

The default extension for plugins description files.

Definition at line 79 of file Config.h.

#define TE_DEFAULT_PLUGINS_DIR   "share/terralib/plugins"

The default look up plugin dir.

Definition at line 72 of file Config.h.

#define TE_PLUGIN_MODULE_NAME   "te.plugin"

The module name (identifier).

Definition at line 39 of file Config.h.

#define TEPLUGINEXPORT

You can use this macro in order to export/import classes and functions from this module.

Note
If you want to compile TerraLib as DLL in Windows, remember to insert TEPLUGINDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEPLUGINSTATIC flag into the project list of defines.

Definition at line 120 of file Config.h.