CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 60 of file cxPluginFramework.h.

Constructor & Destructor Documentation

cx::PluginFrameworkManager::PluginFrameworkManager ( )

Definition at line 61 of file cxPluginFramework.cpp.

cx::PluginFrameworkManager::~PluginFrameworkManager ( )

Definition at line 79 of file cxPluginFramework.cpp.

Member Function Documentation

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

Definition at line 73 of file cxPluginFramework.h.

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

Definition at line 440 of file cxPluginFramework.cpp.

ctkPluginContext * cx::PluginFrameworkManager::getPluginContext ( )

Definition at line 227 of file cxPluginFramework.cpp.

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

Definition at line 232 of file cxPluginFramework.cpp.

QStringList cx::PluginFrameworkManager::getPluginSymbolicNames ( )

Definition at line 489 of file cxPluginFramework.cpp.

QStringList cx::PluginFrameworkManager::getSearchPaths ( ) const

Definition at line 222 of file cxPluginFramework.cpp.

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

Definition at line 188 of file cxPluginFramework.cpp.

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

Definition at line 282 of file cxPluginFramework.cpp.

void cx::PluginFrameworkManager::loadState ( )

Definition at line 133 of file cxPluginFramework.cpp.

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

Definition at line 197 of file cxPluginFramework.cpp.

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

Definition at line 381 of file cxPluginFramework.cpp.

bool cx::PluginFrameworkManager::start ( )

Definition at line 311 of file cxPluginFramework.cpp.

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

Definition at line 411 of file cxPluginFramework.cpp.

bool cx::PluginFrameworkManager::stop ( )

Definition at line 317 of file cxPluginFramework.cpp.

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

Definition at line 361 of file cxPluginFramework.cpp.


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