OFFIS DCMTK Version 3.6.0
Public Member Functions | Private Attributes

DcmFindSCUDefaultCallback Class Reference

Default implementation of FindSCU callback class. More...

Inheritance diagram for DcmFindSCUDefaultCallback:
Inheritance graph
[legend]
Collaboration diagram for DcmFindSCUDefaultCallback:
Collaboration graph
[legend]

List of all members.

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.

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

Detailed Description

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.


Constructor & Destructor Documentation

DcmFindSCUDefaultCallback::DcmFindSCUDefaultCallback ( OFBool  extractResponsesToFile,
int  cancelAfterNResponses 
)

constructor

Parameters:
extractResponsesToFileif true, C-FIND-RSP datasets will be stored as DICOM files
cancelAfterNResponsesif non-negative, a C-FIND-CANCEL will be issued after the given number of incoming C-FIND-RSP messages

Member Function Documentation

virtual void DcmFindSCUDefaultCallback::callback ( T_DIMSE_C_FindRQ request,
int  responseCount,
T_DIMSE_C_FindRSP rsp,
DcmDataset responseIdentifiers 
) [virtual]

callback method that is called once for each incoming C-FIND-RSP message.

Parameters:
requestDIMSE command of the original C-FIND request
responseCountnumber of current response
rspDIMSE command of incoming C-FIND response
responseIdentifiersdataset of incoming C-FIND response

Implements DcmFindSCUCallback.


The documentation for this class was generated from the following file:


Generated on Mon Feb 14 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.3