DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DcmQueryRetrieveMoveContext Class Reference

this class maintains the context information that is passed to the callback function called by DIMSE_moveProvider. More...

Public Member Functions

 DcmQueryRetrieveMoveContext (DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, const DcmQueryRetrieveConfig *cfg, DIC_US priorstatus, T_ASC_Association *assoc, DIC_US msgid, T_DIMSE_Priority pr)
 constructor More...
 
void callbackHandler (OFBool cancelled, T_DIMSE_C_MoveRQ *request, DcmDataset *requestIdentifiers, int responseCount, T_DIMSE_C_MoveRSP *response, DcmDataset **stDetail, DcmDataset **responseIdentifiers)
 callback handler called by the DIMSE_storeProvider callback function. More...
 
void setOurAETitle (const char *ae)
 set the AEtitle under which this application operates More...
 

Private Member Functions

 DcmQueryRetrieveMoveContext (const DcmQueryRetrieveMoveContext &other)
 private undefined copy constructor
 
DcmQueryRetrieveMoveContextoperator= (const DcmQueryRetrieveMoveContext &other)
 private undefined assignment operator
 

Private Attributes

DcmQueryRetrieveDatabaseHandledbHandle
 reference to database handle
 
const DcmQueryRetrieveOptionsoptions_
 reference to Q/R service options
 
DIC_US priorStatus
 prior DIMSE status
 
T_ASC_AssociationorigAssoc
 pointer to original association on which the C-MOVE-RQ was received
 
T_ASC_AssociationsubAssoc
 pointer to sub-association for outgoing C-STORE-RQ
 
const DcmQueryRetrieveConfigconfig
 pointer to Q/R configuration
 
OFBool assocStarted
 true if the association was started
 
DIC_US origMsgId
 message id of request
 
DIC_AE origAETitle
 title of requestor
 
DIC_NODENAME origHostName
 hostname of move requestor
 
T_DIMSE_Priority priority
 priority of move request
 
OFString ourAETitle
 our current title
 
DIC_AE dstAETitle
 destination title for move
 
char * failedUIDs
 instance UIDs of failed store sub-ops
 
DIC_US nRemaining
 number of remaining sub-operations
 
DIC_US nCompleted
 number of completed sub-operations
 
DIC_US nFailed
 number of failed sub-operations
 
DIC_US nWarning
 number of completed sub-operations that causes warnings
 

Detailed Description

this class maintains the context information that is passed to the callback function called by DIMSE_moveProvider.

Constructor & Destructor Documentation

DcmQueryRetrieveMoveContext::DcmQueryRetrieveMoveContext ( DcmQueryRetrieveDatabaseHandle handle,
const DcmQueryRetrieveOptions options,
const DcmQueryRetrieveConfig cfg,
DIC_US  priorstatus,
T_ASC_Association assoc,
DIC_US  msgid,
T_DIMSE_Priority  pr 
)
inline

constructor

Parameters
handlereference to database handle
optionsoptions for the Q/R service
cfgconfiguration for the Q/R service
priorstatusprior DIMSE status
assocpointer to DIMSE association
msgidDIMSE message ID
prDIMSE priority

Member Function Documentation

void DcmQueryRetrieveMoveContext::callbackHandler ( OFBool  cancelled,
T_DIMSE_C_MoveRQ request,
DcmDataset requestIdentifiers,
int  responseCount,
T_DIMSE_C_MoveRSP response,
DcmDataset **  stDetail,
DcmDataset **  responseIdentifiers 
)

callback handler called by the DIMSE_storeProvider callback function.

Parameters
cancelled(in) flag indicating whether a C-CANCEL was received
requestoriginal move request (in)
requestIdentifiersoriginal move request identifiers (in)
responseCountmove response count (in)
responsemove response (out)
stDetailstatus detail for move response (out)
responseIdentifiersmove response identifiers (out)
void DcmQueryRetrieveMoveContext::setOurAETitle ( const char *  ae)
inline

set the AEtitle under which this application operates

Parameters
aeAEtitle, is copied into this object.

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


Generated on Tue Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8