![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Factory class to create new front-ends. More...
#include <Libs/CommandLineModules/Core/ctkCmdLineModuleFrontendFactory.h>
Public Member Functions | |
virtual ctkCmdLineModuleFrontend * | create (const ctkCmdLineModuleReference &moduleRef)=0 |
Creates front-end instances. More... | |
virtual QString | description () const =0 |
Get the description for this factory. More... | |
virtual QString | name () const =0 |
Get the name of this factory. More... | |
virtual | ~ctkCmdLineModuleFrontendFactory () |
Factory class to create new front-ends.
Front-end implementors are advised to create and export a sub-class of this class to unify the creation process of front-ends.
Definition at line 40 of file ctkCmdLineModuleFrontendFactory.h.
|
virtual |
|
pure virtual |
Creates front-end instances.
moduleRef | The module reference for which to create a front-end. |
Implemented in ctkCmdLineModuleFrontendFactoryQtWebKit, and ctkCmdLineModuleFrontendFactoryQtGui.
|
pure virtual |
Get the description for this factory.
Implemented in ctkCmdLineModuleFrontendFactoryQtWebKit, and ctkCmdLineModuleFrontendFactoryQtGui.
|
pure virtual |
Get the name of this factory.
Implemented in ctkCmdLineModuleFrontendFactoryQtWebKit, and ctkCmdLineModuleFrontendFactoryQtGui.