Computer Assisted Medical Intervention Tool Kit  version 5.2
MMLActionExtension Class Reference

Manager for the MML action. More...

#include <MMLActionExtension.h>

+ Inheritance diagram for MMLActionExtension:
+ Collaboration diagram for MMLActionExtension:

Public Member Functions

virtual QString getDescription () override
 Method that return the action extension description. More...
 
virtual QString getName () override
 Method that return the action extension name. More...
 
virtual void init () override
 Method must be reimplemented when an ActionExtension is done, the own actions of an extension are load there. More...
 
 MMLActionExtension ()
 the constructor More...
 
virtual ~MMLActionExtension ()=default
 the destructor More...
 
- Public Member Functions inherited from camitk::ActionExtension
const ActionListgetActions ()
 get the list of actions registered y this extension More...
 
QString getLocation () const
 get the file path (location of the .dll/.so/.dylib) of this plugin More...
 
void initResources ()
 Load, for the selected langage (asked to the Application), the associated .qm file. More...
 
void setLocation (const QString loc)
 set the file path (once loaded as a dynamic library) More...
 
 ~ActionExtension () override
 destructor More...
 

Additional Inherited Members

- Protected Member Functions inherited from camitk::ActionExtension
 ActionExtension ()
 constructor More...
 
void registerAction (Action *)
 register an action instance More...
 
- Protected Attributes inherited from camitk::ActionExtension
ActionList actions
 the list of actions More...
 

Detailed Description

Manager for the MML action.

Constructor & Destructor Documentation

◆ MMLActionExtension()

MMLActionExtension::MMLActionExtension ( )
inline

the constructor

◆ ~MMLActionExtension()

virtual MMLActionExtension::~MMLActionExtension ( )
virtualdefault

the destructor

Member Function Documentation

◆ getDescription()

virtual QString MMLActionExtension::getDescription ( )
inlineoverridevirtual

Method that return the action extension description.

Implements camitk::ActionExtension.

◆ getName()

virtual QString MMLActionExtension::getName ( )
inlineoverridevirtual

Method that return the action extension name.

Implements camitk::ActionExtension.

◆ init()

void MMLActionExtension::init ( )
overridevirtual

Method must be reimplemented when an ActionExtension is done, the own actions of an extension are load there.

It is necessary to use the method Application::addAction(Action) for each action added in this method.

Implements camitk::ActionExtension.

References registerNewAction.


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