Public Types | Public Member Functions

ctkPluginFrameworkFactory Class Reference

#include <Libs/PluginFramework/ctkPluginFrameworkFactory.h>

List of all members.

Public Types

typedef QHash< QString, QVariant > Properties

Public Member Functions

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

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:

Parameters:
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.

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

Definition at line 38 of file ctkPluginFrameworkFactory.cpp.


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