NorMIT-nav  2023.01.05-dev+develop.0da12
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

◆ PluginFrameworkManager()

cx::PluginFrameworkManager::PluginFrameworkManager ( )

Definition at line 40 of file cxPluginFramework.cpp.

◆ ~PluginFrameworkManager()

cx::PluginFrameworkManager::~PluginFrameworkManager ( )

Definition at line 58 of file cxPluginFramework.cpp.

Member Function Documentation

◆ aboutToStop

void cx::PluginFrameworkManager::aboutToStop ( )
signal

◆ create()

static PluginFrameworkManagerPtr cx::PluginFrameworkManager::create ( )
inlinestatic

Definition at line 53 of file cxPluginFramework.h.

◆ getInstalledPluginFromSymbolicName()

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

Definition at line 421 of file cxPluginFramework.cpp.

◆ getPluginContext()

ctkPluginContext * cx::PluginFrameworkManager::getPluginContext ( )

Definition at line 207 of file cxPluginFramework.cpp.

◆ getPluginFramework()

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

Definition at line 212 of file cxPluginFramework.cpp.

◆ getPluginSymbolicNames()

QStringList cx::PluginFrameworkManager::getPluginSymbolicNames ( )

Definition at line 470 of file cxPluginFramework.cpp.

◆ getSearchPaths()

QStringList cx::PluginFrameworkManager::getSearchPaths ( ) const

Definition at line 202 of file cxPluginFramework.cpp.

◆ getStateFromSymbolicName()

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

Definition at line 168 of file cxPluginFramework.cpp.

◆ install()

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

Definition at line 264 of file cxPluginFramework.cpp.

◆ loadState()

void cx::PluginFrameworkManager::loadState ( )

Definition at line 112 of file cxPluginFramework.cpp.

◆ pluginPoolChanged

void cx::PluginFrameworkManager::pluginPoolChanged ( )
signal

◆ setSearchPaths()

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

Definition at line 177 of file cxPluginFramework.cpp.

◆ start() [1/2]

bool cx::PluginFrameworkManager::start ( )

Definition at line 285 of file cxPluginFramework.cpp.

◆ start() [2/2]

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

Definition at line 355 of file cxPluginFramework.cpp.

◆ stop() [1/2]

bool cx::PluginFrameworkManager::stop ( )

Definition at line 291 of file cxPluginFramework.cpp.

◆ stop() [2/2]

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

Definition at line 392 of file cxPluginFramework.cpp.

◆ uninstall()

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: