33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmnet/dimse.h"
90 const char *sopclassUID,
110 const char *sopclassUID,
111 const char *sopinstanceUID,
132 const char *sopclassUID,
133 const char *sopinstanceUID,
134 const Uint16 *attributeIdentifierList,
154 const char *sopclassUID,
155 const char *sopinstanceUID,
170 const char *sopclassUID,
171 const char *sopinstanceUID,
194 const char *myAEtitle,
195 const char *peerAEtitle,
196 const char *peerHost,
199 OFBool negotiatePresentationLUT,
200 OFBool negotiateAnnotationBox,
201 OFBool implicitOnly);
259 T_ASC_PresentationContextID presId,
272 T_ASC_PresentationContextID
findAcceptedPC(
const char *sopclassuid);
a class representing a list of DICOM elements in which each element has a different tag and elements ...
T_ASC_Association * assoc
the association to be used for message communication. Can be NULL.
OFCondition negotiateAssociation(DcmTransportLayer *tlayer, const char *myAEtitle, const char *peerAEtitle, const char *peerHost, int peerPort, long peerMaxPDU, OFBool negotiatePresentationLUT, OFBool negotiateAnnotationBox, OFBool implicitOnly)
opens a DICOM association to a remote printer.
int timeout
timeout for receive
OFCondition actionRQ(const char *sopclassUID, const char *sopinstanceUID, Uint16 actionTypeID, DcmDataset *actionInformation, Uint16 &status, DcmDataset *&actionReply)
sends an N-ACTION-RQ message and receives response.
void setTimeout(T_DIMSE_BlockingMode blocking, int timeOut)
sets the blocking and timeout mode for receive operations.
DVPSPrintMessageHandler & operator=(const DVPSPrintMessageHandler ©)
private undefined assignment operator
T_DIMSE_BlockingMode blockMode
blocking mode for receive
DVPSPrintMessageHandler()
default constructor
virtual ~DVPSPrintMessageHandler()
destructor
virtual ~DVPSPrintEventHandler()
destructor
OFCondition releaseAssociation()
releases the current association.
void setEventHandler(DVPSPrintEventHandler *handler)
registers an event handler object for incoming N-EVENT-REPORTs.
DVPSPrintEventHandler * eventHandler
the current event handler. Can be NULL.
factory class which creates transport layer connections.
pure abstract event handler class for N-EVENT-REPORT.
OFCondition createRQ(const char *sopclassUID, OFString &sopinstanceUID, DcmDataset *attributeListIn, Uint16 &status, DcmDataset *&attributeListOut)
sends an N-CREATE-RQ message and receives response.
OFBool printerSupportsAnnotationBox()
checks if the remote printer supports the Basic Annotation Box SOP class.
T_ASC_Network * net
the network used for establishing associations. Can be NULL.
OFBool printerSupportsPresentationLUT()
checks if the remote printer supports the Presentation LUT SOP class.
a class handling the DICOM dataset format (files without meta header)
virtual DIC_US handleEvent(T_DIMSE_N_EventReportRQ &eventMessage, DcmDataset *eventInformation, DcmDataset *statusDetail)=0
handles an N-EVENT-REPORT-RQ message.
OFCondition setRQ(const char *sopclassUID, const char *sopinstanceUID, DcmDataset *modificationList, Uint16 &status, DcmDataset *&attributeListOut)
sends an N-SET-RQ message and receives response.
OFCondition abortAssociation()
aborts the current association.
a simple string class that implements a subset of std::string.
OFCondition deleteRQ(const char *sopclassUID, const char *sopinstanceUID, Uint16 &status)
sends an N-DELETE-RQ message and receives response.
T_ASC_PresentationContextID findAcceptedPC(const char *sopclassuid)
looks for an accepted presentation context for the given SOP class.
OFCondition getRQ(const char *sopclassUID, const char *sopinstanceUID, const Uint16 *attributeIdentifierList, size_t numShorts, Uint16 &status, DcmDataset *&attributeListOut)
sends an N-GET-RQ message and receives response.
void dumpNMessage(T_DIMSE_Message &msg, DcmItem *dataset, OFBool outgoing)
dumps the given message to the dump stream if it exists.
OFCondition sendNRequest(T_ASC_PresentationContextID presId, T_DIMSE_Message &request, DcmDataset *rqDataSet, T_DIMSE_Message &response, DcmDataset *&statusDetail, DcmDataset *&rspDataset)
sends a DIMSE-N request (any type except N-EVENT-REPORT) and waits for a response.
General purpose class for condition codes.
representation of an association used for DICOM Basic Grayscale Print.