GDCM
2.4.5
|
#include <gdcmULConnectionCallback.h>
Public Member Functions | |
ULConnectionCallback () | |
virtual | ~ULConnectionCallback () |
bool | DataSetHandles () const |
virtual void | HandleDataSet (const DataSet &inDataSet)=0 |
virtual void | HandleResponse (const DataSet &inDataSet)=0 |
void | ResetHandledDataSet () |
void | SetImplicitFlag (const bool imp) |
Protected Member Functions | |
void | DataSetHandled () |
Protected Attributes | |
bool | mImplicit |
When a dataset comes back from a query/move/etc, the result can either be stored entirely in memory, or could be stored on disk. This class provides a mechanism to indicate what the ULConnectionManager should do with datasets that are produced through query results. The ULConnectionManager will call the HandleDataSet function during the course of receiving datasets. Particular implementations should fill in what that function does, including updating progress, etc. NOTE: since cmove requires that multiple event loops be employed, the callback function MUST set mHandledDataSet to true. otherwise, the cmove event loop handler will not know data was received, and proceed to end the loop prematurely.
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
pure virtual |
Implemented in gdcm::network::ULBasicCallback, and gdcm::network::ULWritingCallback.
|
pure virtual |
Implemented in gdcm::network::ULBasicCallback, and gdcm::network::ULWritingCallback.
|
inline |
|
inline |
|
protected |