Provides a basic convenience methods for the data exchange.
More...
#include <Plugins/org.commontk.dah.core/ctkDicomAbstractExchangeCache.h>
Provides a basic convenience methods for the data exchange.
The implementation is based on the ctkDicomObjectLocatorCache.
Definition at line 38 of file ctkDicomAbstractExchangeCache.h.
◆ ctkDicomAbstractExchangeCache()
ctkDicomAbstractExchangeCache::ctkDicomAbstractExchangeCache |
( |
| ) |
|
Construct object.
- Parameters
-
◆ ~ctkDicomAbstractExchangeCache()
virtual ctkDicomAbstractExchangeCache::~ctkDicomAbstractExchangeCache |
( |
| ) |
|
|
virtual |
◆ cleanIncomingData()
void ctkDicomAbstractExchangeCache::cleanIncomingData |
( |
| ) |
|
Clean internal data stucture that keeps the incoming data.
Called when other side is gone (i.e., usually the other side is a hosted app).
◆ dataAvailable
void ctkDicomAbstractExchangeCache::dataAvailable |
( |
| ) |
|
|
signal |
◆ getData()
Provide ctkDicomAppHosting::ObjectLocators to the other side.
If we are a host, the other side is the hosted app and vice versa.
- Parameters
-
objectUUIDs | |
acceptableTransferSyntaxUIDs | |
includeBulkData | |
- Returns
- QList<ctkDicomAppHosting::ObjectLocator>
Implements ctkDicomExchangeInterface.
◆ getIncomingAvailableData()
Return the incoming available data.
- Returns
- AvailableData *
◆ getOtherSideExchangeService()
◆ internalDataAvailable
void ctkDicomAbstractExchangeCache::internalDataAvailable |
( |
| ) |
|
|
signal |
◆ lastIncomingData()
bool ctkDicomAbstractExchangeCache::lastIncomingData |
( |
| ) |
const |
Return whether the incoming data was marked as lastData.
- Returns
- bool value of lastData in incoming notifyDataAvailable call
◆ notifyDataAvailable()
◆ objectLocatorCache()
◆ publishData()
Publish data to other side.
- Parameters
-
- Returns
- bool
◆ releaseData()
void ctkDicomAbstractExchangeCache::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.
Implements ctkDicomExchangeInterface.
The documentation for this class was generated from the following file: