Computer Assited Medical Intervention Tool Kit
version 4.1
|
Common abstract class to generate extensions. More...
#include <ExtensionGenerator.h>
Inherited by ActionExtensionGenerator, ComponentExtensionGenerator, and LibraryGenerator.
Public Member Functions | |
ExtensionGenerator (QString actionExtensionsDirectory, QString licence="", QString extensionType="NONE") | |
virtual void | generateExtension () |
~ExtensionGenerator () | |
Protected Member Functions | |
virtual void | setExtensionsDirectory (QString extensionsDirectory) |
virtual void | generateExtensionCMakeLists (QString directory) |
Helpers methods. More... | |
virtual void | generateActionOrComponent (QString directory)=0 |
virtual void | writeCFile (QString directory)=0 |
virtual void | writeHFile (QString directory)=0 |
virtual void | generateTestDataFiles (QString directory, QString testDataDirName)=0 |
Protected Attributes | |
QVector< DependencyGenerator *> | dependencyGenerators |
QString | description |
QString | extensionsDirectory |
Absolute path to the extensions directory. More... | |
QString | extensionType |
Extension type: Action or Component extension. More... | |
QString | licence |
QString | name |
Name of the extension. More... | |
Common abstract class to generate extensions.
ExtensionGenerator::ExtensionGenerator | ( | QString | actionExtensionsDirectory, |
QString | licence = "" , |
||
QString | extensionType = "NONE" |
||
) |
ExtensionGenerator::~ExtensionGenerator | ( | ) |
|
protectedpure virtual |
Implemented in ComponentExtensionGenerator, LibraryGenerator, and ActionExtensionGenerator.
|
virtual |
References testDataDirName.
|
protectedvirtual |
Helpers methods.
Reimplemented in LibraryGenerator.
References description, DependencyGenerator::getCepLibsString(), DependencyGenerator::getExternalLibsString(), DependencyGenerator::getNeededActionsString(), and DependencyGenerator::getNeededComponentsString().
|
protectedpure virtual |
Implemented in ComponentExtensionGenerator, LibraryGenerator, and ActionExtensionGenerator.
|
protectedvirtual |
|
protectedpure virtual |
Implemented in ComponentExtensionGenerator, LibraryGenerator, and ActionExtensionGenerator.
|
protectedpure virtual |
Implemented in ComponentExtensionGenerator, LibraryGenerator, and ActionExtensionGenerator.
|
protected |
|
protected |
|
protected |
Absolute path to the extensions directory.
|
protected |
Extension type: Action or Component extension.
|
protected |
Referenced by ActionExtensionGenerator::ActionExtensionGenerator(), ComponentExtensionGenerator::ComponentExtensionGenerator(), ActionExtensionGenerator::createFromDom(), ComponentExtensionGenerator::createFromDom(), LibraryGenerator::LibraryGenerator(), ActionExtensionGenerator::writeCFile(), ComponentExtensionGenerator::writeCFile(), ActionExtensionGenerator::writeHFile(), and ComponentExtensionGenerator::writeHFile().
|
protected |
Name of the extension.
Referenced by ActionExtensionGenerator::createFromDom(), LibraryGenerator::createFromDom(), ComponentExtensionGenerator::createFromDom(), LibraryGenerator::generateExtensionCMakeLists(), ActionExtensionGenerator::writeCFile(), ComponentExtensionGenerator::writeCFile(), ActionExtensionGenerator::writeHFile(), and ComponentExtensionGenerator::writeHFile().