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