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
DcmQueryRetrieveGetContext Class Reference

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

Public Member Functions

 DcmQueryRetrieveGetContext (DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, DIC_US priorstatus, T_ASC_Association *origassoc, DIC_US origmsgid, T_DIMSE_Priority prior, T_ASC_PresentationContextID origpresid)
 constructor More...
 
void setOurAETitle (const char *ae)
 set the AEtitle under which this application operates More...
 
void callbackHandler (OFBool cancelled, T_DIMSE_C_GetRQ *request, DcmDataset *requestIdentifiers, int responseCount, T_DIMSE_C_GetRSP *response, DcmDataset **stDetail, DcmDataset **responseIdentifiers)
 callback handler called by the DIMSE_storeProvider callback function. More...
 

Private Member Functions

 DcmQueryRetrieveGetContext (const DcmQueryRetrieveGetContext &other)
 private undefined copy constructor
 
DcmQueryRetrieveGetContextoperator= (const DcmQueryRetrieveGetContext &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 association on which the C-GET-RQ was received
 
OFBool assocStarted
 true if the association was started
 
T_ASC_PresentationContextID origPresId
 presentation context id of request
 
DIC_US origMsgId
 message id of request
 
OFString origAETitle
 title of requestor
 
DIC_NODENAME origHostName
 hostname of requestor
 
T_DIMSE_Priority priority
 priority of request
 
OFString ourAETitle
 our current title
 
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
 
OFBool getCancelled
 true if the get sub-operations have been cancelled
 

Detailed Description

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

Constructor & Destructor Documentation

DcmQueryRetrieveGetContext::DcmQueryRetrieveGetContext ( DcmQueryRetrieveDatabaseHandle handle,
const DcmQueryRetrieveOptions options,
DIC_US  priorstatus,
T_ASC_Association origassoc,
DIC_US  origmsgid,
T_DIMSE_Priority  prior,
T_ASC_PresentationContextID  origpresid 
)
inline

constructor

Parameters
handlereference to database handle
optionsoptions for the Q/R service
priorstatusprior DIMSE status
origassocpointer to DIMSE association
origmsgidDIMSE message ID
priorDIMSE priority
origpresidpresentation context ID

Member Function Documentation

void DcmQueryRetrieveGetContext::callbackHandler ( OFBool  cancelled,
T_DIMSE_C_GetRQ request,
DcmDataset requestIdentifiers,
int  responseCount,
T_DIMSE_C_GetRSP 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 get request (in)
requestIdentifiersoriginal get request identifiers (in)
responseCountget response count (in)
responseget response (out)
stDetailstatus detail for get response (out)
responseIdentifiersget response identifiers (out)
void DcmQueryRetrieveGetContext::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