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 | |
void | setOurAETitle (const char *ae) |
set the AEtitle under which this application operates | |
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. | |
Private Member Functions | |
void | addFailedUIDInstance (const char *sopInstance) |
OFCondition | performGetSubOp (DIC_UI sopClass, DIC_UI sopInstance, char *fname) |
void | getNextImage (DcmQueryRetrieveDatabaseStatus *dbStatus) |
void | buildFailedInstanceList (DcmDataset **rspIds) |
Private Attributes | |
DcmQueryRetrieveDatabaseHandle & | dbHandle |
reference to database handle | |
const DcmQueryRetrieveOptions & | options_ |
reference to Q/R service options | |
DIC_US | priorStatus |
prior DIMSE status | |
T_ASC_Association * | origAssoc |
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 |
Definition at line 42 of file dcmqrcbg.h.
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
handle | reference to database handle | |
options | options for the Q/R service | |
priorstatus | prior DIMSE status | |
origassoc | pointer to DIMSE association | |
origmsgid | DIMSE message ID | |
prior | DIMSE priority | |
origpresid | presentation context ID |
Definition at line 54 of file dcmqrcbg.h.
References origHostName.
void DcmQueryRetrieveGetContext::setOurAETitle | ( | const char * | ae | ) | [inline] |
set the AEtitle under which this application operates
ae | AEtitle, is copied into this object. |
Definition at line 85 of file dcmqrcbg.h.
References OFString::clear(), and ourAETitle.
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.
cancelled | (in) flag indicating whether a C-CANCEL was received | |
request | original get request (in) | |
requestIdentifiers | original get request identifiers (in) | |
responseCount | get response count (in) | |
response | get response (out) | |
stDetail | status detail for get response (out) | |
responseIdentifiers | get response identifiers (out) |