Example.... More...
#include <HelloWorld.h>
Public Member Functions | |
| const PluginInfo & | getInfo () const |
| It return the information associated to the plugin. More... | |
| bool | isStarted () const |
| It tells if the plugin was started or not. More... | |
| bool | operator< (const AbstractPlugin &rhs) const |
| This overloaded operator can be used to index the plugin in a set. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| HelloWorldPlugin (const te::plugin::PluginInfo &pluginInfo) | |
| It creates a new C++ plugin. More... | |
| ~HelloWorldPlugin () | |
| destructor. More... | |
Re-Implmentation from Plugin Interface | |
Re-Implmentation from Plugin Interface. | |
| void | startup () |
| This method will be called by TerraLib to startup some plugin's functionality. More... | |
| void | shutdown () |
| This method will be called by TerraLib to shutdown plugin's functionality. More... | |
Protected Attributes | |
| bool | m_initialized |
| A flag that indicates if the plugin was started or not. More... | |
| PluginInfo | m_pluginInfo |
| Information about the plugin. More... | |
| HelloWorldPlugin::HelloWorldPlugin | ( | const te::plugin::PluginInfo & | pluginInfo | ) |
It creates a new C++ plugin.
Definition at line 29 of file HelloWorld.cpp.
| HelloWorldPlugin::~HelloWorldPlugin | ( | ) |
destructor.
Definition at line 34 of file HelloWorld.cpp.
|
virtualinherited |
It return the information associated to the plugin.
Implements te::plugin::AbstractPlugin.
Definition at line 29 of file attic/src/plugin/Plugin.cpp.
References te::plugin::Plugin::m_pluginInfo.
|
virtualinherited |
It tells if the plugin was started or not.
Implements te::plugin::AbstractPlugin.
Definition at line 34 of file attic/src/plugin/Plugin.cpp.
References te::plugin::Plugin::m_initialized.
|
inherited |
This overloaded operator can be used to index the plugin in a set.
| rhs | The right-hand-side plugin. |
Definition at line 38 of file AbstractPlugin.cpp.
References te::plugin::AbstractPlugin::getInfo().
|
virtual |
This method will be called by TerraLib to shutdown plugin's functionality.
| Exception | It throws and exception if the plugin can not be shutdown. |
Reimplemented from te::plugin::Plugin.
Definition at line 42 of file HelloWorld.cpp.
References PLUGIN_CALL_BACK_IMPL.
|
virtual |
This method will be called by TerraLib to startup some plugin's functionality.
| Exception | It throws and exception if the plugin can not be started. |
Reimplemented from te::plugin::Plugin.
Definition at line 38 of file HelloWorld.cpp.
|
protectedinherited |
A flag that indicates if the plugin was started or not.
Definition at line 79 of file attic/src/plugin/Plugin.h.
Referenced by te::plugin::Plugin::isStarted(), Plugin::shutdown(), te::sqlite::Module::shutdown(), te::qt::plugins::geofile::Plugin::shutdown(), te::qt::plugins::mysql::Plugin::shutdown(), te::qt::plugins::sqlite::Plugin::shutdown(), te::plugin::Plugin::shutdown(), te::v8::plugin::Plugin::shutdown(), Plugin::startup(), te::sqlite::Module::startup(), te::qt::plugins::mysql::Plugin::startup(), te::qt::plugins::geofile::Plugin::startup(), te::qt::plugins::sqlite::Plugin::startup(), te::plugin::Plugin::startup(), and te::v8::plugin::Plugin::startup().
|
protectedinherited |
Information about the plugin.
Definition at line 78 of file attic/src/plugin/Plugin.h.
Referenced by te::plugin::Plugin::getInfo(), and te::sqlite::Module::startup().