OFFIS DCMTK
Version 3.6.0
|
Default implementation of FindSCU callback class. More...
Public Member Functions | |
DcmFindSCUDefaultCallback (OFBool extractResponsesToFile, int cancelAfterNResponses) | |
constructor | |
virtual | ~DcmFindSCUDefaultCallback () |
destructor | |
virtual void | callback (T_DIMSE_C_FindRQ *request, int responseCount, T_DIMSE_C_FindRSP *rsp, DcmDataset *responseIdentifiers) |
callback method that is called once for each incoming C-FIND-RSP message. | |
![]() | |
DcmFindSCUCallback () | |
default constructor | |
virtual | ~DcmFindSCUCallback () |
destructor | |
void | setAssociation (T_ASC_Association *assoc) |
assigns a value to member variable assoc_. | |
void | setPresentationContextID (T_ASC_PresentationContextID presId) |
assigns a value to member variable presId_. | |
Private Attributes | |
OFBool | extractResponsesToFile_ |
if true, C-FIND-RSP datasets will be stored as DICOM files | |
int | cancelAfterNResponses_ |
if non-negative, a C-FIND-CANCEL will be issued after the given number of incoming C-FIND-RSP messages | |
Additional Inherited Members | |
![]() | |
T_ASC_Association * | assoc_ |
pointer to current association. Will contain valid value when callback() is called. | |
T_ASC_PresentationContextID | presId_ |
current presentation context ID. Will contain valid value when callback() is called. | |
Default implementation of FindSCU callback class.
This implementation is used when no explicit callback is passed by the user, e.g. in the findscu tool.
Definition at line 107 of file dfindscu.h.
DcmFindSCUDefaultCallback::DcmFindSCUDefaultCallback | ( | OFBool | extractResponsesToFile, |
int | cancelAfterNResponses | ||
) |
constructor
extractResponsesToFile | if true, C-FIND-RSP datasets will be stored as DICOM files |
cancelAfterNResponses | if non-negative, a C-FIND-CANCEL will be issued after the given number of incoming C-FIND-RSP messages |
|
virtual |
callback method that is called once for each incoming C-FIND-RSP message.
request | DIMSE command of the original C-FIND request |
responseCount | number of current response |
rsp | DIMSE command of incoming C-FIND response |
responseIdentifiers | dataset of incoming C-FIND response |
Implements DcmFindSCUCallback.