DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
DVPSPrintEventHandler Class Referenceabstract

pure abstract event handler class for N-EVENT-REPORT. More...

Public Member Functions

virtual ~DVPSPrintEventHandler ()
 destructor
 
virtual DIC_US handleEvent (T_DIMSE_N_EventReportRQ &eventMessage, DcmDataset *eventInformation, DcmDataset *statusDetail)=0
 handles an N-EVENT-REPORT-RQ message. More...
 

Detailed Description

pure abstract event handler class for N-EVENT-REPORT.

Member Function Documentation

virtual DIC_US DVPSPrintEventHandler::handleEvent ( T_DIMSE_N_EventReportRQ eventMessage,
DcmDataset eventInformation,
DcmDataset statusDetail 
)
pure virtual

handles an N-EVENT-REPORT-RQ message.

This method is called from DVPSPrintMessageHandler whenever an event report is received. The event message, information and status detail elements must be copied if they should remain valid after the end of this method call. The event handler can react on the event message in any implementation dependent way, e.g. display the event on-screen.

Parameters
eventMessagethe N-EVENT-REPORT-RQ message
eventInformationevent information dataset. May be NULL if no event information available.
statusDetailstatus detail dataset. ay be NULL if no status detail available.
Returns
the status code to be sent back as part of the N-EVENT-REPORT-RSP message, usually STATUS_Success.

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


Generated on Tue Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8