An abstract interface for Plugins written in C++. More...
#include <CppPlugin.h>
Public Member Functions | |
CppPlugin (const PluginInfo &info) | |
It creates a new C++ plugin. More... | |
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... | |
virtual void | shutdown () |
Do nothing! Just set plugin as stopped. More... | |
virtual void | startup () |
Do nothing! Just set plugin as started. More... | |
virtual | ~CppPlugin () |
Virtual destructor. 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... | |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
CppPlugin (const CppPlugin &rhs) | |
No copy constructor allowed. More... | |
CppPlugin & | operator= (const CppPlugin &rhs) |
No assignment operator allowed. More... | |
An abstract interface for Plugins written in C++.
Remember to implement the startup and shutdown methods from the base class: Plugin.
Definition at line 48 of file CppPlugin.h.
te::plugin::CppPlugin::CppPlugin | ( | const PluginInfo & | info | ) |
It creates a new C++ plugin.
info | Information about a C++ plugin. |
|
virtual |
Virtual destructor.
|
private |
No copy constructor allowed.
rhs | The other instance. |
|
virtualinherited |
It return the information associated to the plugin.
Implements te::plugin::AbstractPlugin.
|
virtualinherited |
It tells if the plugin was started or not.
Implements te::plugin::AbstractPlugin.
|
inherited |
This overloaded operator can be used to index the plugin in a set.
rhs | The right-hand-side plugin. |
No assignment operator allowed.
rhs | The other instance. |
|
virtualinherited |
Do nothing! Just set plugin as stopped.
Implements te::plugin::AbstractPlugin.
Reimplemented in te::ogr::Module, te::grib::Platform, te::qt::plugins::rp::Plugin, te::ado::Module, terralib4::Module, te::gdal::Module, te::qt::plugins::sa::Plugin, te::wcs::Module, te::wfs::Module, te::wms::Module, te::qt::plugins::vp::Plugin, te::pgis::Module, te::qt::plugins::mnt::Plugin, te::qt::plugins::edit::Plugin, te::qt::plugins::terramobile::Plugin, te::qt::plugins::st::Plugin, te::qt::plugins::attributefill::Plugin, te::qt::plugins::wms::Plugin, te::xerces::Module, te::qt::plugins::addressgeocoding::Plugin, te::qt::plugins::gdal::Plugin, te::qt::plugins::cellspace::Plugin, te::qt::plugins::ogr::Plugin, te::qt::plugins::terralib4::Plugin, te::qt::plugins::wfs::Plugin, te::qt::plugins::ado::Plugin, te::qt::plugins::geofile::Plugin, te::qt::plugins::mysql::Plugin, te::qt::plugins::pgis::Plugin, te::qt::plugins::sqlite::Plugin, te::qt::plugins::wcs::Plugin, and te::sqlite::Module.
|
virtualinherited |
Do nothing! Just set plugin as started.
Implements te::plugin::AbstractPlugin.
Reimplemented in te::qt::plugins::rp::Plugin, te::ogr::Module, te::qt::plugins::sa::Plugin, te::grib::Platform, te::qt::plugins::vp::Plugin, te::ado::Module, te::qt::plugins::mnt::Plugin, te::qt::plugins::edit::Plugin, te::qt::plugins::terramobile::Plugin, terralib4::Module, te::gdal::Module, te::qt::plugins::st::Plugin, te::wcs::Module, te::wfs::Module, te::wms::Module, te::pgis::Module, te::qt::plugins::attributefill::Plugin, te::qt::plugins::wms::Plugin, te::qt::plugins::addressgeocoding::Plugin, te::qt::plugins::gdal::Plugin, te::qt::plugins::cellspace::Plugin, te::qt::plugins::ogr::Plugin, te::qt::plugins::terralib4::Plugin, te::qt::plugins::wfs::Plugin, te::xerces::Module, te::qt::plugins::ado::Plugin, te::qt::plugins::geofile::Plugin, te::qt::plugins::mysql::Plugin, te::qt::plugins::pgis::Plugin, te::qt::plugins::sqlite::Plugin, te::qt::plugins::wcs::Plugin, and te::sqlite::Module.
|
protectedinherited |
|
protectedinherited |