22 #ifndef CTKDICOMABSTRACTHOST_H
23 #define CTKDICOMABSTRACTHOST_H
28 #include <QScopedPointer>
30 #include <org_commontk_dah_host_Export.h>
32 class ctkDicomAbstractHostPrivate;
37 #pragma warning( disable : 4250 )
180 const QScopedPointer<ctkDicomAbstractHostPrivate> d_ptr;
Provides a basic convenience methods for the data exchange.
Provides a basic implementation for an application host.
void resumed()
Emitted when the ctkDicomAppHosting::INPROGRESS state notification has been received,...
virtual void notifyStateChanged(ctkDicomAppHosting::State state)
Handles transitions form one state to the other. When a new state notification arrives from the hoste...
void startProgress()
Emitted when the ctkDicomAppHosting::INPROGRESS state notification has been received,...
void exited()
Emitted when the ctkDicomAppHosting::EXIT state notification has been received.
void releaseAvailableResources()
Emitted when the ctkDicomAppHosting::IDLE state notification has been received, and the previous stat...
void stateChangedReceived(ctkDicomAppHosting::State state)
Emitted after any new state has been received. The event is sent after all the others have been sent ...
void statusReceived(const ctkDicomAppHosting::Status &status)
void canceled()
Emitted when the ctkDicomAppHosting::CANCELED state notification has been received.
int getAppPort() const
Gets the hosted application port.
void completed()
Emitted when the ctkDicomAppHosting::COMPLETED state notification has been received.
ctkDicomExchangeInterface * getOtherSideExchangeService() const
Gets the exchange service of the other side.
ctkDicomAbstractHost(int hostPort=0, int appPort=0)
Starts the soap server on the specified port or choose port automatically.
virtual ~ctkDicomAbstractHost()
ctkDicomAppHosting::State getApplicationState() const
Gets the internal representation of the application state. Does not call the client....
void appReady()
Emitted when the ctkDicomAppHosting::IDLE state notification has been received, and the previous stat...
int getHostPort() const
Gets the host port.
ctkDicomAppInterface * getDicomAppService() const
Gets the application service in order to call methods on the hosted app.
void suspended()
Emitted when the ctkDicomAppHosting::SUSPENDED state notification has been received.