22 #ifndef CTKEXAMPLEDICOMHOST_H 23 #define CTKEXAMPLEDICOMHOST_H 33 #include <org_commontk_dah_examplehost_Export.h> 45 virtual void StartApplication(QString AppPath);
76 void exitApplication();
78 QByteArray
processReadAll(){
return this->AppProcess.readAllStandardOutput ();}
80 void exitApplicationBlocking(
int timeout = 2000);
84 void onReleaseAvailableResources();
85 void onStartProgress();
95 void giveAvailableScreen(QRect rect);
101 void onBlockingExiting(QProcess::ProcessState);
102 void onBlockingExiting();
109 bool exitingApplication;
112 #endif // CTKEXAMPLEDICOMHOST_H virtual QString generateUID()=0
ctkHostedAppPlaceholderWidget * PlaceholderWidget
QEventLoop BlockingLoopForExiting
virtual QRect getAvailableScreen(const QRect &preferredScreen)=0
ctkDicomAppHosting::State getApplicationState() const
Gets the internal representation of the application state. Does not call the client....
virtual void notifyStatus(const ctkDicomAppHosting::Status &status)=0
const QProcess & getAppProcess() const
QByteArray processReadAll()
virtual QString getOutputLocation(const QStringList &preferredProtocols)=0
Provides a basic implementation for an application host.