 |
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 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;
184 #endif // CTKDICOMABSTRACTHOST_H
void suspended()
Emitted when the ctkDicomAppHosting::SUSPENDED state notification has been received.
int getHostPort() const
Gets the host port.
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.
void canceled()
Emitted when the ctkDicomAppHosting::CANCELED state notification has been received.
void startProgress()
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 appReady()
Emitted when the ctkDicomAppHosting::IDLE state notification has been received, and the previous stat...
Provides a basic convenience methods for the data exchange.
void statusReceived(const ctkDicomAppHosting::Status &status)
Provides a basic implementation for an application host.
void completed()
Emitted when the ctkDicomAppHosting::COMPLETED state notification has been received.
void releaseAvailableResources()
Emitted when the ctkDicomAppHosting::IDLE state notification has been received, and the previous stat...
void exited()
Emitted when the ctkDicomAppHosting::EXIT state notification has been received.
void stateChangedReceived(ctkDicomAppHosting::State state)
Emitted after any new state has been received. The event is sent after all the others have been sent ...
virtual ~ctkDicomAbstractHost()
ctkDicomAppInterface * getDicomAppService() const
Gets the application service in order to call methods on the hosted app.
void resumed()
Emitted when the ctkDicomAppHosting::INPROGRESS state notification has been received,...
int getAppPort() const
Gets the hosted application port.
ctkDicomAppHosting::State getApplicationState() const
Gets the internal representation of the application state. Does not call the client....