Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkDiffusionImagingAppApplication Class Reference

#include <QmitkDiffusionImagingAppApplication.h>

Inheritance diagram for QmitkDiffusionImagingAppApplication:
Collaboration diagram for QmitkDiffusionImagingAppApplication:

Public Member Functions

 QmitkDiffusionImagingAppApplication ()
 
 ~QmitkDiffusionImagingAppApplication ()
 
QVariant Start (berry::IApplicationContext *) override
 
void Stop () override
 
- Public Member Functions inherited from berry::IApplication
virtual ~IApplication ()
 

Additional Inherited Members

- Static Public Attributes inherited from berry::IApplication
static const int EXIT_OK
 
static const int EXIT_RESTART
 
static const int EXIT_RELAUNCH
 

Detailed Description

Definition at line 22 of file QmitkDiffusionImagingAppApplication.h.

Constructor & Destructor Documentation

QmitkDiffusionImagingAppApplication::QmitkDiffusionImagingAppApplication ( )
inline

Definition at line 29 of file QmitkDiffusionImagingAppApplication.h.

QmitkDiffusionImagingAppApplication::~QmitkDiffusionImagingAppApplication ( )
inline

Definition at line 30 of file QmitkDiffusionImagingAppApplication.h.

Member Function Documentation

QVariant QmitkDiffusionImagingAppApplication::Start ( berry::IApplicationContext context)
overridevirtual

Starts this application with the given context and returns a result. This method must not exit until the application is finished and is ready to exit. The content of the context is unchecked and should conform to the expectations of the application being invoked.

Applications can return any object they like. If an Integer is returned it is treated as the program exit code if BlueBerry is exiting.

Note: This method is called by the platform; it is not intended to be called directly by clients.

Returns
the return value of the application
See also
EXIT_OK
EXIT_RESTART
EXIT_RELAUNCH
Parameters
contextthe application context to pass to the application
Exceptions
std::exceptionif there is a problem running this application.

Implements berry::IApplication.

Definition at line 23 of file QmitkDiffusionImagingAppApplication.cpp.

References berry::PlatformUI::CreateAndRunWorkbench(), berry::PlatformUI::CreateDisplay(), berry::IApplication::EXIT_OK, berry::IApplication::EXIT_RESTART, and berry::PlatformUI::RETURN_RESTART.

void QmitkDiffusionImagingAppApplication::Stop ( )
overridevirtual

Forces this running application to exit. This method should wait until the running application is ready to exit. The start() should already have exited or should exit very soon after this method exits

This method is only called to force an application to exit. This method will not be called if an application exits normally from the start() method.

Note: This method is called by the platform; it is not intended to be called directly by clients.

Implements berry::IApplication.

Definition at line 34 of file QmitkDiffusionImagingAppApplication.cpp.


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