Loading...
Searching...
No Matches
te::qt::plugins::addressgeocoding::Plugin Class Reference

#include <Plugin.h>

Inheritance diagram for te::qt::plugins::addressgeocoding::Plugin:
te::core::CppPlugin te::core::AbstractPlugin

Signals

void triggered (te::qt::af::evt::Event *e)
 

Public Member Functions

const PluginInfo & info () const
 It returns the PluginInfo of the CppPlugin.
 
bool initialized () const
 It returns true or false if the CppPlugin was initialized.
 
 Plugin (const te::core::PluginInfo &pluginInfo)
 
void shutdown ()
 This method will be called by applicatons to shutdown plugin's functionality.
 
void startup ()
 This method will be called by applications to startup some plugin's functionality.
 
 ~Plugin ()
 

Protected Slots

void onActionActivated (bool checked)
 Slot function used when a action was selected.
 

Protected Member Functions

std::list< te::map::AbstractLayerPtrgetLayers ()
 Get the list of layers from app.
 
void unRegisterActions ()
 Function used to unregister all addressgeocoding actions.
 

Protected Attributes

QAction * m_action
 Address Geocoding Action.
 
bool m_initialized
 
PluginInfo m_pinfo
 

Detailed Description

Definition at line 55 of file Plugin.h.

Constructor & Destructor Documentation

◆ Plugin()

te::qt::plugins::addressgeocoding::Plugin::Plugin ( const te::core::PluginInfo pluginInfo)

◆ ~Plugin()

te::qt::plugins::addressgeocoding::Plugin::~Plugin ( )

Member Function Documentation

◆ getLayers()

std::list< te::map::AbstractLayerPtr > te::qt::plugins::addressgeocoding::Plugin::getLayers ( )
protected

Get the list of layers from app.

Returns
The list pf layer auto pointers

◆ info()

const PluginInfo & te::core::CppPlugin::info ( ) const
virtualinherited

It returns the PluginInfo of the CppPlugin.

Returns
The CppPlugin information

Implements te::core::AbstractPlugin.

◆ initialized()

bool te::core::CppPlugin::initialized ( ) const
virtualinherited

It returns true or false if the CppPlugin was initialized.

Returns
The current state of the CppPlugin

Implements te::core::AbstractPlugin.

◆ onActionActivated

void te::qt::plugins::addressgeocoding::Plugin::onActionActivated ( bool  checked)
protectedslot

Slot function used when a action was selected.

Parameters
checkedFlag used in case a toggle action.

◆ shutdown()

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

This method will be called by applicatons to shutdown plugin's functionality.

Exceptions
PluginShutdownExceptionIt may throws an exception.

Implements te::core::AbstractPlugin.

◆ startup()

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

This method will be called by applications to startup some plugin's functionality.

Exceptions
PluginStartupExceptionIt may throws an exception.

Implements te::core::AbstractPlugin.

◆ triggered

void te::qt::plugins::addressgeocoding::Plugin::triggered ( te::qt::af::evt::Event e)
signal

◆ unRegisterActions()

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

Function used to unregister all addressgeocoding actions.

Member Data Documentation

◆ m_action

QAction* te::qt::plugins::addressgeocoding::Plugin::m_action
protected

Address Geocoding Action.

Definition at line 99 of file Plugin.h.

◆ m_initialized

bool te::core::CppPlugin::m_initialized
protectedinherited

Definition at line 73 of file CppPlugin.h.

◆ m_pinfo

PluginInfo te::core::CppPlugin::m_pinfo
protectedinherited

Definition at line 72 of file CppPlugin.h.


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