 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
22 #ifndef CTKDICOMABSTRACTAPP_H
23 #define CTKDICOMABSTRACTAPP_H
27 #include <QScopedPointer>
28 #include <org_commontk_dah_hostedapp_Export.h>
30 class ctkDicomAbstractAppPrivate;
37 #pragma warning( disable : 4250 )
159 const QScopedPointer<ctkDicomAbstractAppPrivate> d_ptr;
162 #endif // CTKDICOMABSTRACTAPP_H
void suspendProgress()
ctkDicomAppHosting::SUSPENDED state received.
ctkDicomAbstractApp(ctkPluginContext *context)
void resumeProgress()
ctkDicomAppHosting::INPROGRESS state received when the app is in the ctkDicomAppHosting::SUSPENDED st...
Provides a basic convenience methods for the data exchange.
virtual ~ctkDicomAbstractApp()
void releaseResources()
ctkDicomAppHosting::IDLE state received and legal.
virtual ctkDicomHostInterface * getHostInterface() const
Gets a handle to the host, in order to call methods on it.
virtual bool setState(ctkDicomAppHosting::State newState)
Method triggered by the host. Changes the state of the hosted application.
void cancelProgress()
ctkDicomAppHosting::CANCELED state received.
void setInternalState(ctkDicomAppHosting::State state)
Sets the internal representation of the current state.
void startProgress()
ctkDicomAppHosting::INPROGRESS state received and legal.
void exitHostedApp()
ctkDicomAppHosting::EXIT state received and legal.
virtual ctkDicomAppHosting::State getState()
Sends the current state the app is in to the hosting system.
ctkDicomExchangeInterface * getOtherSideExchangeService() const
Gets the exchange service of the other side.
Provides a basic implementation for an application app.