|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
25 #ifndef VIEWEREXTENSIONGENERATOR_H
26 #define VIEWEREXTENSIONGENERATOR_H
28 #if defined(_WIN32) && !defined(__MINGW32__) // MSVC only
29 #pragma warning( disable : 4290 )
36 #include <QStringList>
39 class ViewerExtension;
81 #endif // VIEWEREXTENSIONGENERATOR_H
bool registerDefaultViewer
Definition: ViewerExtensionGenerator.h:74
void createFromDom(cepcoreschema::ViewerExtension &dom)
Helper method for constructors.
Definition: ViewerExtensionGenerator.cpp:73
~ViewerExtensionGenerator()
Definition: ViewerExtensionGenerator.cpp:98
QString name
Name of the extension.
Definition: ExtensionGenerator.h:82
ViewerGenerator * viewerGenerator
Definition: ViewerExtensionGenerator.h:78
QStringList namedViewers
Definition: ViewerExtensionGenerator.h:76
Generate a viewer.
Definition: ViewerGenerator.h:51
Generate an viewer extension.
Definition: ViewerExtensionGenerator.h:51
static const QString testDataDirName
Definition: ExtensionGenerator.cpp:44
void generateExtensionClass(QString directory) override
Helpers methods.
Definition: ViewerExtensionGenerator.cpp:105
Common abstract class to generate extensions.
Definition: ExtensionGenerator.h:49
QString getClassName() const
Definition: ViewerGenerator.cpp:69
ViewerExtensionGenerator(QString xmlFileName, QString viewerExtensionsDirectory, QString licence="")
Definition: ViewerExtensionGenerator.cpp:50
void generateFiles(QString directoryName)
Definition: ViewerGenerator.cpp:87
void writeCFile(QString directory) override
Definition: ViewerExtensionGenerator.cpp:145
void generateTestDataFiles(QString directory, QString testDataDirName) override
Definition: ViewerExtensionGenerator.cpp:236
#define registerNewViewer(className, instanceName)
register a new viewer, instance of X, its name is Y
Definition: ViewerExtension.h:70
void writeHFile(QString directory) override
Definition: ViewerExtensionGenerator.cpp:110
static QString getClassName(QString genericName)
Definition: ClassNameHandler.cpp:31
QString licence
Definition: ExtensionGenerator.h:86
Create the dependencies, generate the "NEEDs_LIBRARY" in the cmake file.
Definition: DependencyGenerator.h:48
QString description
Definition: ExtensionGenerator.h:84
Definition: ActionExtensionGenerator.h:36
QVector< DependencyGenerator * > dependencyGenerators
Definition: ExtensionGenerator.h:88