All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::plugins::vp::Plugin Class Reference

#include <Plugin.h>

Inheritance diagram for te::qt::plugins::vp::Plugin:
te::plugin::Plugin te::plugin::AbstractPlugin

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...
 
 Plugin (const te::plugin::PluginInfo &pluginInfo)
 
void shutdown ()
 Do nothing! Just set plugin as stopped. More...
 
void startup ()
 Do nothing! Just set plugin as started. More...
 
 ~Plugin ()
 Virtual destructor. More...
 

Protected Member Functions

void registerActions ()
 Function used to register all raster processing actions. More...
 
void unRegisterActions ()
 Function used to unregister all raster processing actions. More...
 

Protected Attributes

AggregationActionm_aggregation
 Aggregation Operation Action. More...
 
BufferActionm_buffer
 Buffer Operation Action. More...
 
GeometricOpActionm_geometricOp
 Geometric Operation. More...
 
bool m_initialized
 A flag that indicates if the plugin was started or not. More...
 
IntersectionActionm_intersection
 Intersection Operation Action. More...
 
LineToPolygonActionm_lineToPolygon
 Line to Polygon Operation Action. More...
 
MultipartToSinglepartActionm_multipart2singlepart
 Intersection Operation Action. More...
 
PluginInfo m_pluginInfo
 Information about the plugin. More...
 
PolygonToLineActionm_polygonToLine
 Polygon to Line Operation Action. More...
 
QMenu * m_vpMenu
 VP Main Menu registered. More...
 

Detailed Description

Definition at line 54 of file Plugin.h.

Constructor & Destructor Documentation

te::qt::plugins::vp::Plugin::Plugin ( const te::plugin::PluginInfo pluginInfo)

Definition at line 66 of file Plugin.cpp.

te::qt::plugins::vp::Plugin::~Plugin ( )
virtual

Virtual destructor.

Reimplemented from te::plugin::Plugin.

Definition at line 71 of file Plugin.cpp.

Member Function Documentation

const te::plugin::PluginInfo & te::plugin::Plugin::getInfo ( ) const
virtualinherited

It return the information associated to the plugin.

Returns
The information associated to the plugin.

Implements te::plugin::AbstractPlugin.

Definition at line 29 of file Plugin.cpp.

References te::plugin::Plugin::m_pluginInfo.

bool te::plugin::Plugin::isStarted ( ) const
virtualinherited

It tells if the plugin was started or not.

Returns
True if the plugin is started and false otherwise (it is shutdown).

Implements te::plugin::AbstractPlugin.

Definition at line 34 of file Plugin.cpp.

bool te::plugin::AbstractPlugin::operator< ( const AbstractPlugin rhs) const
inherited

This overloaded operator can be used to index the plugin in a set.

Parameters
rhsThe right-hand-side plugin.
Returns
True if this plugin name is lexcographical less than the rhs plugin name.

Definition at line 38 of file AbstractPlugin.cpp.

References te::plugin::AbstractPlugin::getInfo().

void te::qt::plugins::vp::Plugin::registerActions ( )
protected

Function used to register all raster processing actions.

Definition at line 145 of file Plugin.cpp.

References te::qt::af::AddActionToCustomToolbars().

void te::qt::plugins::vp::Plugin::shutdown ( )
virtual

Do nothing! Just set plugin as stopped.

Reimplemented from te::plugin::Plugin.

Definition at line 125 of file Plugin.cpp.

References TE_LOG_TRACE, and TE_TR.

void te::qt::plugins::vp::Plugin::startup ( )
virtual

Do nothing! Just set plugin as started.

Reimplemented from te::plugin::Plugin.

Definition at line 75 of file Plugin.cpp.

References te::common::uri::urisyn::decode(), te::common::Singleton< ApplicationController >::getInstance(), TE_LOG_TRACE, and TE_TR.

void te::qt::plugins::vp::Plugin::unRegisterActions ( )
protected

Function used to unregister all raster processing actions.

Definition at line 166 of file Plugin.cpp.

Member Data Documentation

AggregationAction* te::qt::plugins::vp::Plugin::m_aggregation
protected

Aggregation Operation Action.

Definition at line 84 of file Plugin.h.

BufferAction* te::qt::plugins::vp::Plugin::m_buffer
protected

Buffer Operation Action.

Definition at line 85 of file Plugin.h.

GeometricOpAction* te::qt::plugins::vp::Plugin::m_geometricOp
protected

Geometric Operation.

Definition at line 86 of file Plugin.h.

bool te::plugin::Plugin::m_initialized
protectedinherited

A flag that indicates if the plugin was started or not.

Definition at line 79 of file Plugin.h.

IntersectionAction* te::qt::plugins::vp::Plugin::m_intersection
protected

Intersection Operation Action.

Definition at line 87 of file Plugin.h.

LineToPolygonAction* te::qt::plugins::vp::Plugin::m_lineToPolygon
protected

Line to Polygon Operation Action.

Definition at line 88 of file Plugin.h.

MultipartToSinglepartAction* te::qt::plugins::vp::Plugin::m_multipart2singlepart
protected

Intersection Operation Action.

Definition at line 89 of file Plugin.h.

PluginInfo te::plugin::Plugin::m_pluginInfo
protectedinherited

Information about the plugin.

Definition at line 78 of file Plugin.h.

Referenced by te::plugin::Plugin::getInfo().

PolygonToLineAction* te::qt::plugins::vp::Plugin::m_polygonToLine
protected

Polygon to Line Operation Action.

Definition at line 90 of file Plugin.h.

QMenu* te::qt::plugins::vp::Plugin::m_vpMenu
protected

VP Main Menu registered.

Definition at line 82 of file Plugin.h.


The documentation for this class was generated from the following files: