CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | Static Public Attributes | List of all members
ctkMetaTypeService Struct Referenceabstract

#include <Libs/PluginFramework/service/metatype/ctkMetaTypeService.h>

Public Member Functions

virtual ctkMetaTypeInformationPtr getMetaTypeInformation (const QSharedPointer< ctkPlugin > &plugin)=0
 
virtual ~ctkMetaTypeService ()
 

Static Public Attributes

static const QString METATYPE_DOCUMENTS_LOCATION
 

Detailed Description

The MetaType Service can be used to obtain meta type information for a plugin. The MetaType Service will examine the specified plugin for meta type documents to create the returned ctkMetaTypeInformation object.

If the specified plugin does not contain any meta type documents, then a ctkMetaTypeInformation object will be returned that wraps any ctkManagedService or ctkManagedServiceFactory services registered by the specified plugin that implement ctkMetaTypeProvider. Thus the MetaType Service can be used to retrieve meta type information for plugins which contain meta type documents or which provide their own ctkMetaTypeProvider objects.

Definition at line 44 of file ctkMetaTypeService.h.

Constructor & Destructor Documentation

◆ ~ctkMetaTypeService()

virtual ctkMetaTypeService::~ctkMetaTypeService ( )
inlinevirtual

Definition at line 46 of file ctkMetaTypeService.h.

Member Function Documentation

◆ getMetaTypeInformation()

virtual ctkMetaTypeInformationPtr ctkMetaTypeService::getMetaTypeInformation ( const QSharedPointer< ctkPlugin > &  plugin)
pure virtual

Return the MetaType information for the specified plugin.

Parameters
pluginThe plugin for which meta type information is requested.
Returns
A ctkMetaTypeInformation object for the specified plugin.

Member Data Documentation

◆ METATYPE_DOCUMENTS_LOCATION

const QString ctkMetaTypeService::METATYPE_DOCUMENTS_LOCATION
static

Location of meta type documents. The MetaType Service will process each entry in the meta type documents directory.

Definition at line 60 of file ctkMetaTypeService.h.


The documentation for this struct was generated from the following file: