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. | 
Definition at line 29 of file CppPlugin.cpp.
      
  | 
  virtual | 
Virtual destructor.
Definition at line 34 of file CppPlugin.cpp.
      
  | 
  private | 
No copy constructor allowed.
| rhs | The other instance. | 
      
  | 
  virtualinherited | 
It return the information associated to the plugin.
Implements te::plugin::AbstractPlugin.
Definition at line 29 of file 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 Plugin.cpp.
      
  | 
  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().
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::ado::Module, terralib4::Module, te::gdal::Module, te::wcs::Module, te::wfs::Module, te::wms::Module, te::pgis::Module, te::qt::plugins::rp::Plugin, te::xerces::Module, te::qt::plugins::vp::Plugin, te::qt::plugins::gdal::Plugin, te::qt::plugins::ogr::Plugin, te::qt::plugins::terralib4::Plugin, te::qt::plugins::layout::Plugin, te::qt::plugins::layout2::Plugin, te::qt::plugins::slider::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, te::qt::plugins::wfs::Plugin, te::qt::plugins::wms::Plugin, and te::sqlite::Module.
Definition at line 44 of file Plugin.cpp.
      
  | 
  virtualinherited | 
Do nothing! Just set plugin as started.
Implements te::plugin::AbstractPlugin.
Reimplemented in te::ogr::Module, te::grib::Platform, te::ado::Module, terralib4::Module, te::gdal::Module, te::wcs::Module, te::wfs::Module, te::wms::Module, te::pgis::Module, te::qt::plugins::rp::Plugin, te::xerces::Module, te::qt::plugins::vp::Plugin, te::qt::plugins::gdal::Plugin, te::qt::plugins::ogr::Plugin, te::qt::plugins::terralib4::Plugin, te::qt::plugins::layout::Plugin, te::qt::plugins::layout2::Plugin, te::qt::plugins::slider::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, te::qt::plugins::wfs::Plugin, te::qt::plugins::wms::Plugin, and te::sqlite::Module.
Definition at line 39 of file Plugin.cpp.
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
Information about the plugin.
Definition at line 78 of file Plugin.h.
Referenced by te::plugin::Plugin::getInfo().