Public Types | Public Member Functions | Private Attributes

ctkPluginFrameworkFactory Class Reference

#include <Libs/PluginFramework/ctkPluginFrameworkFactory.h>

Collaboration diagram for ctkPluginFrameworkFactory:
Collaboration graph

List of all members.

Public Types

typedef QHash< QString, QVariant > Properties

Public Member Functions

 ctkPluginFrameworkFactory (const Properties &initProps=Properties())
ctkPluginFrameworkgetFramework ()
 ~ctkPluginFrameworkFactory ()

Private Attributes

ctkPluginFrameworkContext *const fwCtx

Detailed Description

A factory for creating ctkPluginFramework instances.

Definition at line 38 of file ctkPluginFrameworkFactory.h.

Member Typedef Documentation

typedef QHash<QString, QVariant> ctkPluginFrameworkFactory::Properties

Definition at line 42 of file ctkPluginFrameworkFactory.h.

Constructor & Destructor Documentation

ctkPluginFrameworkFactory::ctkPluginFrameworkFactory ( const Properties initProps = Properties()  ) 

Create a new ctkPluginFrameworkFactory instance.

The Properties map is used to configure the ctkPluginFramework. The plugin framework instance created with getFramework() must interpret the following properties:

initProps The plugin framework configuration properties. The ctkPluginFramework instance created with getFramework() must use some reasonable default configuration if certain properties are not provided.

Definition at line 27 of file ctkPluginFrameworkFactory.cpp.

ctkPluginFrameworkFactory::~ctkPluginFrameworkFactory (  ) 

Definition at line 33 of file ctkPluginFrameworkFactory.cpp.

Member Function Documentation

ctkPluginFramework * ctkPluginFrameworkFactory::getFramework (  ) 

Create a new ctkPluginFramework instance.

A new, configured ctkPluginFramework instance. The plugin framework instance must be in the ctkPlugin::INSTALLED state.

Definition at line 38 of file ctkPluginFrameworkFactory.cpp.

Member Data Documentation

Definition at line 75 of file ctkPluginFrameworkFactory.h.

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