ctkPluginFrameworkContext Class Reference

#include <Libs/PluginFramework/ctkPluginFrameworkContext_p.h>

Collaboration diagram for ctkPluginFrameworkContext:
Collaboration graph

List of all members.

Public Member Functions

void checkOurPlugin (ctkPlugin *plugin) const
 ctkPluginFrameworkContext (const ctkPluginFrameworkFactory::Properties &initProps)
int getId () const
void init ()
QDebug log () const
void resolvePlugin (ctkPluginPrivate *plugin)
void uninit ()

Public Attributes

int id
ctkPluginFrameworkListeners listeners
ctkPluginFrameworkFactory::Properties props
ctkServices services
ctkPluginStorage storage
ctkPluginFramework systemPlugin

Static Public Attributes

static QMutex globalFwLock
static int globalId = 1

Private Member Functions

void checkRequirePlugin (ctkPluginPrivate *plugin)

Private Attributes

QSet< ctkPluginPrivate * > tempResolved

Detailed Description

Definition at line 38 of file ctkPluginFrameworkContext_p.h.

Constructor & Destructor Documentation

ctkPluginFrameworkContext::ctkPluginFrameworkContext ( const ctkPluginFrameworkFactory::Properties initProps  ) 

Contruct a framework context

Definition at line 33 of file ctkPluginFrameworkContext.cpp.

Member Function Documentation

void ctkPluginFrameworkContext::checkOurPlugin ( ctkPlugin plugin  )  const

Check that the plugin belongs to this framework instance.

Definition at line 101 of file ctkPluginFrameworkContext.cpp.

void ctkPluginFrameworkContext::checkRequirePlugin ( ctkPluginPrivate plugin  )  [private]

Definition at line 140 of file ctkPluginFrameworkContext.cpp.

int ctkPluginFrameworkContext::getId (  )  const

Definition at line 96 of file ctkPluginFrameworkContext.cpp.

void ctkPluginFrameworkContext::init (  ) 

Initialize the framework

Definition at line 47 of file ctkPluginFrameworkContext.cpp.

QDebug ctkPluginFrameworkContext::log (  )  const

Log message for debugging framework

Definition at line 110 of file ctkPluginFrameworkContext.cpp.

void ctkPluginFrameworkContext::resolvePlugin ( ctkPluginPrivate plugin  ) 

Check that the plugin specified can resolve all its Require-ctkPlugin constraints.

plugin ctkPlugin to check, must be in INSTALLED state

Definition at line 117 of file ctkPluginFrameworkContext.cpp.

void ctkPluginFrameworkContext::uninit (  ) 

Undo as much as possible of what init() does.

Definition at line 81 of file ctkPluginFrameworkContext.cpp.

Member Data Documentation

global lock.

Definition at line 75 of file ctkPluginFrameworkContext_p.h.

Id to use for next instance of plugin framework.

Definition at line 80 of file ctkPluginFrameworkContext_p.h.

Framework id.

Definition at line 70 of file ctkPluginFrameworkContext_p.h.

All listeners in this framework.

Definition at line 50 of file ctkPluginFrameworkContext_p.h.

All plugins in this framework.

Definition at line 45 of file ctkPluginFrameworkContext_p.h.

Definition at line 82 of file ctkPluginFrameworkContext_p.h.

All registered services in this framework.

Definition at line 55 of file ctkPluginFrameworkContext_p.h.

ctkPlugin storage

Definition at line 65 of file ctkPluginFrameworkContext_p.h.

System plugin

Definition at line 60 of file ctkPluginFrameworkContext_p.h.

Definition at line 137 of file ctkPluginFrameworkContext_p.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1