CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | List of all members
ctkDicomAppService Class Reference

#include <Plugins/org.commontk.dah.host/ctkDicomAppService.h>

Inheritance diagram for ctkDicomAppService:
Inheritance graph
[legend]
Collaboration diagram for ctkDicomAppService:
Collaboration graph
[legend]

Public Member Functions

virtual bool bringToFront (const QRect &requestedScreenArea)
 
 ctkDicomAppService (ushort port, QString path)
 
virtual QList< ctkDicomAppHosting::ObjectLocatorgetData (const QList< QUuid > &objectUUIDs, const QList< QString > &acceptableTransferSyntaxUIDs, bool includeBulkData)
 
virtual ctkDicomAppHosting::State getState ()
 
virtual bool notifyDataAvailable (const ctkDicomAppHosting::AvailableData &data, bool lastData)
 
virtual void releaseData (const QList< QUuid > &objectUUIDs)
 
virtual bool setState (ctkDicomAppHosting::State newState)
 
virtual ~ctkDicomAppService ()
 
- Public Member Functions inherited from ctkDicomExchangeService
 ctkDicomExchangeService (ushort port, QString path)
 
virtual ~ctkDicomExchangeService ()
 
- Public Member Functions inherited from ctkSimpleSoapClient
 ctkSimpleSoapClient (int port, QString path)
 
const QtSoapType & submitSoapRequest (const QString &methodName, const QList< QtSoapType * > &soapTypes)
 
const QtSoapType & submitSoapRequest (const QString &methodName, QtSoapType *soapType)
 
virtual ~ctkSimpleSoapClient ()
 
- Public Member Functions inherited from ctkDicomExchangeInterface
virtual ~ctkDicomExchangeInterface ()
 

Detailed Description

Definition at line 29 of file ctkDicomAppService.h.

Constructor & Destructor Documentation

◆ ctkDicomAppService()

ctkDicomAppService::ctkDicomAppService ( ushort  port,
QString  path 
)

◆ ~ctkDicomAppService()

virtual ctkDicomAppService::~ctkDicomAppService ( )
virtual

Member Function Documentation

◆ bringToFront()

virtual bool ctkDicomAppService::bringToFront ( const QRect &  requestedScreenArea)
virtual

Method triggered by the host. By calling this method, the Hosting System is asking the Hosted Application to take whatever steps are needed to make its GUI visible as the topmost window, and to gain focus.

Returns
TRUE if the Hosted Application received the request and will act on it. Otherwise it returns FALSE

Implements ctkDicomAppInterface.

◆ getData()

virtual QList<ctkDicomAppHosting::ObjectLocator> ctkDicomAppService::getData ( const QList< QUuid > &  objectUUIDs,
const QList< QString > &  acceptableTransferSyntaxUIDs,
bool  includeBulkData 
)
virtual

Reimplemented from ctkDicomExchangeService.

◆ getState()

virtual ctkDicomAppHosting::State ctkDicomAppService::getState ( )
virtual

Implements ctkDicomAppInterface.

◆ notifyDataAvailable()

virtual bool ctkDicomAppService::notifyDataAvailable ( const ctkDicomAppHosting::AvailableData data,
bool  lastData 
)
virtual

The source of the data calls this method with descriptions of the available data that it can provide to the recipient. If the source of the data expects that additional data will become available, it shall pass FALSE in the lastData parameter. Otherwise, it shall pass TRUE.

Returns
TRUE if the recipient of the data successfully received the AvailableData list.

Reimplemented from ctkDicomExchangeService.

◆ releaseData()

virtual void ctkDicomAppService::releaseData ( const QList< QUuid > &  objectUUIDs)
virtual

The recipient of data invokes this method to release access to binary data provided by the source of the data through a getData() call. The ArrayOfUUID identifies the data streams that the recipient is releasing.

Reimplemented from ctkDicomExchangeService.

◆ setState()

virtual bool ctkDicomAppService::setState ( ctkDicomAppHosting::State  newState)
virtual

Method triggered by the host. Changes the state of the hosted application.

Returns
true if state received and not illegal in the transition diagram from the reference, false if illegal or not recognized.

Implements ctkDicomAppInterface.


The documentation for this class was generated from the following file: