Common abstract class to generate extensions. More...
#include <ExtensionGenerator.h>
Public Member Functions | |
ExtensionGenerator (QString actionExtensionsDirectory, QString licence="", QString extensionType="NONE") | |
virtual void | generateExtension () |
virtual | ~ExtensionGenerator () |
Protected Member Functions | |
void | setExtensionsDirectory (QString extensionsDirectory) |
virtual void | generateExtensionCMakeLists (QString directory) |
Helpers methods. More... | |
virtual void | generateExtensionClass (QString directory)=0 |
generate an action, a component of a viewer More... | |
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" |
||
) |
|
virtual |
|
virtual |
References testDataDirName.
|
protectedpure virtual |
generate an action, a component of a viewer
Implemented in ViewerExtensionGenerator, LibraryGenerator, ComponentExtensionGenerator, and ActionExtensionGenerator.
|
protectedvirtual |
Helpers methods.
Reimplemented in LibraryGenerator.
References description, DependencyGenerator::getCepLibsString(), DependencyGenerator::getExternalLibsString(), DependencyGenerator::getNeededActionsString(), DependencyGenerator::getNeededComponentsString(), and DependencyGenerator::getNeededViewersString().
|
protectedpure virtual |
Implemented in ViewerExtensionGenerator, LibraryGenerator, ComponentExtensionGenerator, and ActionExtensionGenerator.
|
protected |
|
protectedpure virtual |
Implemented in ViewerExtensionGenerator, LibraryGenerator, ComponentExtensionGenerator, and ActionExtensionGenerator.
|
protectedpure virtual |
Implemented in ViewerExtensionGenerator, LibraryGenerator, ComponentExtensionGenerator, and ActionExtensionGenerator.
|
protected |
Referenced by LibraryGenerator::generateExtensionCMakeLists().
|
protected |
|
protected |
Absolute path to the extensions directory.
|
protected |
Extension type: Action or Component extension.
|
protected |
|
protected |
Name of the extension.
Referenced by LibraryGenerator::generateExtensionCMakeLists(), ActionExtensionGenerator::writeCFile(), ComponentExtensionGenerator::writeCFile(), ViewerExtensionGenerator::writeCFile(), ActionExtensionGenerator::writeHFile(), ComponentExtensionGenerator::writeHFile(), and ViewerExtensionGenerator::writeHFile().