CppPlugin.h File Reference

A base class for C++ plugins in TerraLib. More...

#include "AbstractPlugin.h"

Go to the source code of this file.

Classes

class  te::core::CppPlugin
 The base class for C++ plugins. More...
 

Namespaces

 te
 URI C++ Library.
 
 te::core
 

Macros

#define TERRALIB_CPP_PLUGIN_BEGIN(plugin_class_name)
 
#define TERRALIB_CPP_PLUGIN_END(plugin_class_name)
 
#define TERRALIB_CPP_PLUGIN_SHUTDOWN   void shutdown()
 
#define TERRALIB_CPP_PLUGIN_STARTUP   void startup()
 
#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. More...
 
#define TERRALIB_PLUGIN_EXPORT_MACRO
 

Typedefs

typedef CppPlugin *(* te::core::te_get_plugin_fnct_t) (const PluginInfo &pinfo)
 The type of function for plugin's entry point. More...
 

Detailed Description

A base class for C++ plugins in TerraLib.

Author
Gilberto Ribeiro de Queiroz
Matheus Cavassan Zaglia

Definition in file CppPlugin.h.

Macro Definition Documentation

#define TERRALIB_CPP_PLUGIN_BEGIN (   plugin_class_name)
Value:
class plugin_class_name : public te::core::CppPlugin \
{ \
public: \
\
plugin_class_name(const te::core::PluginInfo& pinfo) \
{ \
}
Basic information about a plugin.
Definition: PluginInfo.h:63
The base class for C++ plugins.
Definition: CppPlugin.h:46

Definition at line 82 of file CppPlugin.h.

#define TERRALIB_CPP_PLUGIN_END (   plugin_class_name)
Value:
}; \
#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...
Definition: CppPlugin.h:109

Definition at line 98 of file CppPlugin.h.

#define TERRALIB_CPP_PLUGIN_SHUTDOWN   void shutdown()

Definition at line 95 of file CppPlugin.h.

#define TERRALIB_CPP_PLUGIN_STARTUP   void startup()

Definition at line 92 of file CppPlugin.h.

#define TERRALIB_PLUGIN_CALL_BACK_IMPL (   PLUGIN_CLASS_NAME)
Value:
extern "C" TERRALIB_PLUGIN_EXPORT_MACRO te::core::CppPlugin* te_cpp_plugin_get_instance(const te::core::PluginInfo& pinfo); \
\
te::core::CppPlugin* te_cpp_plugin_get_instance(const te::core::PluginInfo& pinfo) \
{ \
return new PLUGIN_CLASS_NAME(pinfo); \
}
Basic information about a plugin.
Definition: PluginInfo.h:63
#define TERRALIB_PLUGIN_EXPORT_MACRO
Definition: CppPlugin.h:105
The base class for C++ plugins.
Definition: CppPlugin.h:46

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

Definition at line 109 of file CppPlugin.h.

#define TERRALIB_PLUGIN_EXPORT_MACRO

Definition at line 105 of file CppPlugin.h.