Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ActionExtensionGenerator Class Reference

Generate an action extension. More...

#include <ActionExtensionGenerator.h>

Inherits ExtensionGenerator.

Public Member Functions

 ActionExtensionGenerator (QString xmlFileName, QString actionExtensionsDirectory, QString licence="")
 
 ActionExtensionGenerator (cepcoreschema::ActionExtension &domActionExtension, QString actionExtensionsDirectory, QString licence="")
 
 ~ActionExtensionGenerator ()
 
- Public Member Functions inherited from ExtensionGenerator
 ExtensionGenerator (QString actionExtensionsDirectory, QString licence="", QString extensionType="NONE")
 
virtual void generateExtension ()
 
 ~ExtensionGenerator ()
 

Protected Member Functions

void generateActionOrComponent (QString directory) override
 Helpers methods. More...
 
void writeCFile (QString directory) override
 
void writeHFile (QString directory) override
 
void generateTestDataFiles (QString directory, QString testDataDirName) override
 
- Protected Member Functions inherited from ExtensionGenerator
virtual void setExtensionsDirectory (QString extensionsDirectory)
 
virtual void generateExtensionCMakeLists (QString directory)
 Helpers methods. More...
 

Private Member Functions

void createFromDom (cepcoreschema::ActionExtension &dom)
 Helper method for constructors. More...
 

Private Attributes

QVector< ActionGenerator * > actions
 

Additional Inherited Members

- Protected Attributes inherited from ExtensionGenerator
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...
 

Detailed Description

Generate an action extension.

Constructor & Destructor Documentation

◆ ActionExtensionGenerator() [1/2]

ActionExtensionGenerator::ActionExtensionGenerator ( QString  xmlFileName,
QString  actionExtensionsDirectory,
QString  licence = "" 
)

◆ ActionExtensionGenerator() [2/2]

ActionExtensionGenerator::ActionExtensionGenerator ( cepcoreschema::ActionExtension &  domActionExtension,
QString  actionExtensionsDirectory,
QString  licence = "" 
)

◆ ~ActionExtensionGenerator()

ActionExtensionGenerator::~ActionExtensionGenerator ( )

Member Function Documentation

◆ createFromDom()

void ActionExtensionGenerator::createFromDom ( cepcoreschema::ActionExtension &  dom)
private

◆ generateActionOrComponent()

void ActionExtensionGenerator::generateActionOrComponent ( QString  directory)
overrideprotectedvirtual

Helpers methods.

Implements ExtensionGenerator.

References actions.

◆ generateTestDataFiles()

void ActionExtensionGenerator::generateTestDataFiles ( QString  directory,
QString  testDataDirName 
)
overrideprotectedvirtual

Implements ExtensionGenerator.

◆ writeCFile()

void ActionExtensionGenerator::writeCFile ( QString  directory)
overrideprotectedvirtual

◆ writeHFile()

void ActionExtensionGenerator::writeHFile ( QString  directory)
overrideprotectedvirtual

Member Data Documentation

◆ actions

QVector<ActionGenerator*> ActionExtensionGenerator::actions
private

The documentation for this class was generated from the following files: