32 #include "dcmtk/config/osconfig.h" 33 #include "dcmtk/ofstd/ofcond.h" 34 #include "dcmtk/dcmdata/dcxfer.h" 35 #include "dcmtk/dcmnet/dimse.h" 116 OFBool extractResponsesToFile,
117 int cancelAfterNResponses);
225 const char *ourTitle,
226 const char *peerTitle,
227 const char *abstractSyntax,
228 E_TransferSyntax preferredTransferSyntax,
229 T_DIMSE_BlockingMode blockMode,
231 Uint32 maxReceivePDULength,
232 OFBool secureConnection,
233 OFBool abortAssociation,
234 unsigned int repeatCount,
235 OFBool extractResponsesToFile,
236 int cancelAfterNResponses,
249 static OFBool writeToFile(
const char* ofname,
DcmDataset *dataset);
266 const char *abstractSyntax,
267 E_TransferSyntax preferredTransferSyntax);
292 const char *abstractSyntax,
293 T_DIMSE_BlockingMode blockMode,
295 OFBool extractResponsesToFile,
296 int cancelAfterNResponses,
T_ASC_Network * net_
pointer to network structure
support class for console applications.
OFBool extractResponsesToFile_
if true, C-FIND-RSP datasets will be stored as DICOM files
virtual ~DcmFindSCUCallback()
destructor
void setPresentationContextID(T_ASC_PresentationContextID presId)
assigns a value to member variable presId_.
factory class which creates transport layer connections.
virtual ~DcmFindSCUDefaultCallback()
destructor
int cancelAfterNResponses_
if non-negative, a C-FIND-CANCEL will be issued after the given number of incoming C-FIND-RSP message...
DcmFindSCUCallback()
default constructor
T_ASC_Association * assoc_
pointer to current association. Will contain valid value when callback() is called.
Abstract base class for Find SCU callbacks.
T_ASC_PresentationContextID presId_
current presentation context ID. Will contain valid value when callback() is called.
a class handling the DICOM dataset format (files without meta header)
virtual void callback(T_DIMSE_C_FindRQ *request, int responseCount, T_DIMSE_C_FindRSP *rsp, DcmDataset *responseIdentifiers)=0
callback method that is called once for each incoming C-FIND-RSP message.
This class implements a complete DICOM C-FIND SCU, including association set-up, execution of the C-F...
void setAssociation(T_ASC_Association *assoc)
assigns a value to member variable assoc_.
Default implementation of FindSCU callback class.
General purpose class for condition codes.