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

Manager for the MML action. More...

#include <MMLActionExtension.h>

Inherits camitk::ActionExtension.

Public Member Functions

virtual QString getDescription ()
 Method that return the action extension descrption. More...
 
virtual QString getName ()
 Method that return the action extension name. More...
 
virtual void init ()
 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

References init(), and ~MMLActionExtension().

◆ ~MMLActionExtension()

virtual MMLActionExtension::~MMLActionExtension ( )
virtualdefault

the destructor

Referenced by MMLActionExtension().

Member Function Documentation

◆ getDescription()

virtual QString MMLActionExtension::getDescription ( )
inlinevirtual

Method that return the action extension descrption.

Implements camitk::ActionExtension.

◆ getName()

virtual QString MMLActionExtension::getName ( )
inlinevirtual

Method that return the action extension name.

Implements camitk::ActionExtension.

◆ init()

void MMLActionExtension::init ( )
virtual

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.

Referenced by MMLActionExtension().


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