Fraxinus  18.10
An IGT application
cx::PluginFrameworkManager Class Reference

#include <cxPluginFramework.h>

Inheritance diagram for cx::PluginFrameworkManager:

Signals

void pluginPoolChanged ()
 
void aboutToStop ()
 

Public Member Functions

 PluginFrameworkManager ()
 
 ~PluginFrameworkManager ()
 
void install (const QString &symbolicName)
 
void uninstall (const QString &symbolicName)
 
bool start (const QString &symbolicName, ctkPlugin::StartOptions options=ctkPlugin::START_ACTIVATION_POLICY)
 
bool stop (const QString &symbolicName, ctkPlugin::StopOptions options=0)
 
bool start ()
 
bool stop ()
 
ctkPluginContext * getPluginContext ()
 
QSharedPointer< ctkPluginFramework > getPluginFramework ()
 
void setSearchPaths (const QStringList &searchPath)
 
QStringList getSearchPaths () const
 
QStringList getPluginSymbolicNames ()
 
QSharedPointer< ctkPlugin > getInstalledPluginFromSymbolicName (QString symbolicName)
 
ctkPlugin::State getStateFromSymbolicName (QString name)
 
void loadState ()
 

Static Public Member Functions

static PluginFrameworkManagerPtr create ()
 

Detailed Description

Manages a ctkPluginFramework instance.

This is a customized version of the ctk singleton ctkPluginFrameworkLauncher.

Definition at line 40 of file cxPluginFramework.h.

Constructor & Destructor Documentation

cx::PluginFrameworkManager::PluginFrameworkManager ( )

Definition at line 40 of file cxPluginFramework.cpp.

cx::PluginFrameworkManager::~PluginFrameworkManager ( )

Definition at line 58 of file cxPluginFramework.cpp.

Member Function Documentation

void cx::PluginFrameworkManager::aboutToStop ( )
signal
static PluginFrameworkManagerPtr cx::PluginFrameworkManager::create ( )
inlinestatic

Definition at line 53 of file cxPluginFramework.h.

QSharedPointer< ctkPlugin > cx::PluginFrameworkManager::getInstalledPluginFromSymbolicName ( QString  symbolicName)

Definition at line 421 of file cxPluginFramework.cpp.

ctkPluginContext * cx::PluginFrameworkManager::getPluginContext ( )

Definition at line 207 of file cxPluginFramework.cpp.

QSharedPointer< ctkPluginFramework > cx::PluginFrameworkManager::getPluginFramework ( )

Definition at line 212 of file cxPluginFramework.cpp.

QStringList cx::PluginFrameworkManager::getPluginSymbolicNames ( )

Definition at line 470 of file cxPluginFramework.cpp.

QStringList cx::PluginFrameworkManager::getSearchPaths ( ) const

Definition at line 202 of file cxPluginFramework.cpp.

ctkPlugin::State cx::PluginFrameworkManager::getStateFromSymbolicName ( QString  name)

Definition at line 168 of file cxPluginFramework.cpp.

void cx::PluginFrameworkManager::install ( const QString &  symbolicName)

Definition at line 264 of file cxPluginFramework.cpp.

void cx::PluginFrameworkManager::loadState ( )

Definition at line 112 of file cxPluginFramework.cpp.

void cx::PluginFrameworkManager::pluginPoolChanged ( )
signal
void cx::PluginFrameworkManager::setSearchPaths ( const QStringList &  searchPath)

Definition at line 177 of file cxPluginFramework.cpp.

bool cx::PluginFrameworkManager::start ( const QString &  symbolicName,
ctkPlugin::StartOptions  options = ctkPlugin::START_ACTIVATION_POLICY 
)

Definition at line 355 of file cxPluginFramework.cpp.

bool cx::PluginFrameworkManager::start ( )

Definition at line 285 of file cxPluginFramework.cpp.

bool cx::PluginFrameworkManager::stop ( const QString &  symbolicName,
ctkPlugin::StopOptions  options = 0 
)

Definition at line 392 of file cxPluginFramework.cpp.

bool cx::PluginFrameworkManager::stop ( )

Definition at line 291 of file cxPluginFramework.cpp.

void cx::PluginFrameworkManager::uninstall ( const QString &  symbolicName)

Definition at line 335 of file cxPluginFramework.cpp.


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