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;
Provides a basic convenience methods for the data exchange.
virtual QList< ctkDicomAppHosting::ObjectLocator > getData(const QList< QUuid > &objectUUIDs, const QList< QString > &acceptableTransferSyntaxUIDs, bool includeBulkData)
Provide ctkDicomAppHosting::ObjectLocators to the other side.
void cleanIncomingData()
Clean internal data stucture that keeps the incoming data.
void internalDataAvailable()
bool notifyDataAvailable(const ctkDicomAppHosting::AvailableData &data, bool lastData)
Receive notification from other side.
const ctkDicomAppHosting::AvailableData & getIncomingAvailableData() const
Return the incoming available data.
ctkDicomObjectLocatorCache * objectLocatorCache() const
Return the cache for outgoing data.
void releaseData(const QList< QUuid > &objectUUIDs)
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.
bool publishData(const ctkDicomAppHosting::AvailableData &availableData, bool lastData)
Publish data to other side.
virtual ~ctkDicomAbstractExchangeCache()
Destructor.
ctkDicomAbstractExchangeCache()
Construct object.