src/terralib/core/plugin/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 src/terralib/core/plugin/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.
The base class for C++ plugins.

Definition at line 82 of file src/terralib/core/plugin/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 at line 98 of file src/terralib/core/plugin/CppPlugin.h.

#define TERRALIB_CPP_PLUGIN_SHUTDOWN   void shutdown()

Definition at line 95 of file src/terralib/core/plugin/CppPlugin.h.

#define TERRALIB_CPP_PLUGIN_STARTUP   void startup()

Definition at line 92 of file src/terralib/core/plugin/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.
#define TERRALIB_PLUGIN_EXPORT_MACRO
The base class for C++ plugins.

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

Definition at line 109 of file src/terralib/core/plugin/CppPlugin.h.

Referenced by te::qt::plugins::edit::Plugin::getLayerExplorer(), te::qt::plugins::wtss::Plugin::onCloseTool(), te::ce::Plugin::onCodeEditorActionClicked(), te::qt::plugins::tv::Plugin::onTimeDockTriggered(), te::qt::plugins::pgisRaster::Plugin::openDataSourceSelector(), te::qt::plugins::gdal::Plugin::openMultipleFilesDialog(), te::qt::plugins::terralib4::Plugin::showWindow(), te::qt::plugins::ogr::Plugin::showWindow(), te::qt::plugins::pgis::Plugin::shutdown(), te::qt::plugins::wcs::Plugin::shutdown(), te::qt::plugins::ado::Plugin::shutdown(), te::ws::ogc::wcs::qtplugin::Plugin::shutdown(), te::wms::Module::shutdown(), te::wcs::Module::shutdown(), te::wfs::Module::shutdown(), terralib4::Module::shutdown(), te::ado::Module::shutdown(), te::ws::ogc::wcs::da::Module::shutdown(), te::ws::ogc::wms::da::Module::shutdown(), te::qt::plugins::cellspace::Plugin::unRegisterActions(), te::qt::plugins::attributefill::Plugin::unRegisterActions(), te::qt::plugins::terramobile::Plugin::unRegisterActions(), te::qt::plugins::mnt::Plugin::unRegisterActions(), te::qt::plugins::sa::Plugin::unRegisterActions(), te::qt::plugins::vp::Plugin::unRegisterActions(), te::qt::plugins::addressgeocoding::Plugin::unRegisterActions(), te::qt::plugins::rp::Plugin::unRegisterActions(), te::qt::plugins::wfs::Plugin::updateDelegate(), te::qt::plugins::wms::Plugin::updateDelegate(), te::ws::ogc::wms::qtplugin::Plugin::updateDelegate(), and te::qt::plugins::st::Plugin::updateDelegate().

#define TERRALIB_PLUGIN_EXPORT_MACRO

Definition at line 105 of file src/terralib/core/plugin/CppPlugin.h.