 |
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 CTKDICOMABSTRACTEXCHANGECACHE_H
23 #define CTKDICOMABSTRACTEXCHANGECACHE_H
26 #include <QScopedPointer>
28 #include <org_commontk_dah_core_Export.h>
30 class ctkDicomAbstractExchangeCachePrivate;
81 bool includeBulkData);
143 const QScopedPointer<ctkDicomAbstractExchangeCachePrivate> d_ptr;
147 #endif // CTKDICOMABSTRACTEXCHANGECACHE_H
bool publishData(const ctkDicomAppHosting::AvailableData &availableData, bool lastData)
Publish data to other side.
virtual ~ctkDicomAbstractExchangeCache()
Destructor.
bool notifyDataAvailable(const ctkDicomAppHosting::AvailableData &data, bool lastData)
Receive notification from other side.
virtual QList< ctkDicomAppHosting::ObjectLocator > getData(const QList< QUuid > &objectUUIDs, const QList< QString > &acceptableTransferSyntaxUIDs, bool includeBulkData)
Provide ctkDicomAppHosting::ObjectLocators to the other side.
virtual ctkDicomExchangeInterface * getOtherSideExchangeService() const =0
Gets the exchange service of the other side.
bool lastIncomingData() const
Return whether the incoming data was marked as lastData.
ctkDicomAbstractExchangeCache()
Construct object.
ctkDicomObjectLocatorCache * objectLocatorCache() const
Return the cache for outgoing data.
Provides a basic convenience methods for the data exchange.
void internalDataAvailable()
const ctkDicomAppHosting::AvailableData & getIncomingAvailableData() const
Return the incoming available data.
void releaseData(const QList< QUuid > &objectUUIDs)
void cleanIncomingData()
Clean internal data stucture that keeps the incoming data.