32 #include "dcmtk/config/osconfig.h" 33 #include "dcmtk/dcmnet/dimse.h" 99 DcmDataset *requestIdentifiers,
int responseCount,
114 void addFailedUIDInstance(
const char *sopInstance);
115 OFCondition performMoveSubOp(DIC_UI sopClass, DIC_UI sopInstance,
char *fname);
120 void buildFailedInstanceList(
DcmDataset ** rspIds);
121 OFBool mapMoveDestination(
122 const char *origPeer,
const char *origAE,
123 const char *dstAE,
char *dstPeer,
int *dstPort);
DIC_US nCompleted
number of completed sub-operations
DcmQueryRetrieveDatabaseHandle & dbHandle
reference to database handle
void clear()
empty the string of all contents
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.
OFBool assocStarted
true if the association was started
DIC_AE dstAETitle
destination title for move
DIC_US nWarning
number of completed sub-operations that causes warnings
this class encapsulates all the various options that affect the operation of the SCP, in addition to those defined in the config file
DIC_US origMsgId
message id of request
abstract base class for database handles.
DcmQueryRetrieveMoveContext(DcmQueryRetrieveDatabaseHandle &handle, const DcmQueryRetrieveOptions &options, const DcmQueryRetrieveConfig *cfg, DIC_US priorstatus, T_ASC_Association *assoc, DIC_US msgid, T_DIMSE_Priority pr)
constructor
T_ASC_Association * subAssoc
pointer to sub-association for outgoing C-STORE-RQ
DIC_NODENAME origHostName
hostname of move requestor
const DcmQueryRetrieveConfig * config
pointer to Q/R configuration
T_ASC_Association * origAssoc
pointer to original association on which the C-MOVE-RQ was received
a class handling the DICOM dataset format (files without meta header)
DIC_US priorStatus
prior DIMSE status
char * failedUIDs
instance UIDs of failed store sub-ops
void setOurAETitle(const char *ae)
set the AEtitle under which this application operates
DIC_AE origAETitle
title of requestor
a simple string class that implements a subset of std::string.
this class describes configuration settings for a Query/Retrieve SCP Service
const DcmQueryRetrieveOptions & options_
reference to Q/R service options
this class describes the result of a database operation (for an incoming C-FIND, C-MOVE, C-GET or C-STORE request) in a format that can directly be communicated to the remote SCU in a DIMSE RSP message.
DIC_US nFailed
number of failed sub-operations
OFString ourAETitle
our current title
DIC_US nRemaining
number of remaining sub-operations
General purpose class for condition codes.
T_DIMSE_Priority priority
priority of move request
this class maintains the context information that is passed to the callback function called by DIMSE_...