gdcmDIMSE.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMDIMSE_H
#define GDCMDIMSE_H
#include "gdcmTypes.h"
namespace gdcm
{
namespace network
{
class DIMSE {
public:
typedef enum {
C_STORE_RQ = 0x0001,
C_STORE_RSP = 0x8001,
C_GET_RQ = 0x0010,
C_GET_RSP = 0x8010,
C_FIND_RQ = 0x0020,
C_FIND_RSP = 0x8020,
C_MOVE_RQ = 0x0021,
C_MOVE_RSP = 0x8021,
C_ECHO_RQ = 0x0030,
C_ECHO_RSP = 0x8030,
N_EVENT_REPORT_RQ = 0x0100,
N_EVENT_REPORT_RSP = 0x8100,
N_GET_RQ = 0x0110,
N_GET_RSP = 0x8110,
N_SET_RQ = 0x0120,
N_SET_RSP = 0x8120,
N_ACTION_RQ = 0x0130,
N_ACTION_RSP = 0x8130,
N_CREATE_RQ = 0x0140,
N_CREATE_RSP = 0x8140,
N_DELETE_RQ = 0x0150,
N_DELETE_RSP = 0x8150,
C_CANCEL_RQ = 0x0FFF
} CommandTypes;
};
/*
9.1.5.1 C-ECHO parameters
Table 9.1-5
C-ECHO PARAMETERS
*/
class CEchoRQ
{
public:
uint16_t MessageID; /* M */
UIComp AffectedSOPClassUID; /* M */
};
class CEchoRSP
{
public:
/*
Message ID M U
Message ID Being Responded To M
Affected SOP Class UID M U(=)
Status M
*/
};
class CFind
{
/*
Failure Refused: Out of Resources A700 (0000,0902)
Identifier does not match SOP Class A900 (0000,0901)
(0000,0902)
Unable to process Cxxx (0000,0901)
(0000,0902)
Cancel Matching terminated due to Cancel
request
FE00 None
Success Matching is complete – No final Identifier
is supplied.
0000 None
Pending Matches are continuing – Current Match
is supplied and any Optional Keys were
supported in the same manner as
Required Keys.
FF00 Identifier
Matches are continuing – Warning that
one or more Optional Keys were not
supported for existence and/or matching
for this Identifier.
FF01 Identifier
*/
};
} // end namespace network
} // end namespace gdcm
#endif //GDCMDIMSE_H
gdcm::network::CEchoRQ::AffectedSOPClassUID
UIComp AffectedSOPClassUID
Definition gdcmDIMSE.h:71
gdcm::network::CEchoRQ::MessageID
uint16_t MessageID
Definition gdcmDIMSE.h:70
gdcm::network::CEchoRSP
CEchoRSP this file defines the messages for the cecho action.
Definition gdcmCEchoMessages.h:42
gdcm::network::CFind
Definition gdcmDIMSE.h:90
gdcm::network::DIMSE
DIMSE.
Definition gdcmDIMSE.h:33
gdcm::network::DIMSE::CommandTypes
CommandTypes
Definition gdcmDIMSE.h:35
gdcm::network::DIMSE::C_STORE_RSP
@ C_STORE_RSP
Definition gdcmDIMSE.h:37
gdcm::network::DIMSE::C_FIND_RSP
@ C_FIND_RSP
Definition gdcmDIMSE.h:41
gdcm::network::DIMSE::C_STORE_RQ
@ C_STORE_RQ
Definition gdcmDIMSE.h:36
gdcm::network::DIMSE::N_SET_RQ
@ N_SET_RQ
Definition gdcmDIMSE.h:50
gdcm::network::DIMSE::N_ACTION_RSP
@ N_ACTION_RSP
Definition gdcmDIMSE.h:53
gdcm::network::DIMSE::C_CANCEL_RQ
@ C_CANCEL_RQ
Definition gdcmDIMSE.h:58
gdcm::network::DIMSE::C_MOVE_RQ
@ C_MOVE_RQ
Definition gdcmDIMSE.h:42
gdcm::network::DIMSE::C_ECHO_RSP
@ C_ECHO_RSP
Definition gdcmDIMSE.h:45
gdcm::network::DIMSE::N_EVENT_REPORT_RSP
@ N_EVENT_REPORT_RSP
Definition gdcmDIMSE.h:47
gdcm::network::DIMSE::N_CREATE_RSP
@ N_CREATE_RSP
Definition gdcmDIMSE.h:55
gdcm::network::DIMSE::N_CREATE_RQ
@ N_CREATE_RQ
Definition gdcmDIMSE.h:54
gdcm::network::DIMSE::N_EVENT_REPORT_RQ
@ N_EVENT_REPORT_RQ
Definition gdcmDIMSE.h:46
gdcm::network::DIMSE::N_GET_RQ
@ N_GET_RQ
Definition gdcmDIMSE.h:48
gdcm::network::DIMSE::N_ACTION_RQ
@ N_ACTION_RQ
Definition gdcmDIMSE.h:52
gdcm::network::DIMSE::N_DELETE_RQ
@ N_DELETE_RQ
Definition gdcmDIMSE.h:56
gdcm::network::DIMSE::N_SET_RSP
@ N_SET_RSP
Definition gdcmDIMSE.h:51
gdcm::network::DIMSE::C_GET_RQ
@ C_GET_RQ
Definition gdcmDIMSE.h:38
gdcm::network::DIMSE::C_GET_RSP
@ C_GET_RSP
Definition gdcmDIMSE.h:39
gdcm::network::DIMSE::N_DELETE_RSP
@ N_DELETE_RSP
Definition gdcmDIMSE.h:57
gdcm::network::DIMSE::C_ECHO_RQ
@ C_ECHO_RQ
Definition gdcmDIMSE.h:44
gdcm::network::DIMSE::C_FIND_RQ
@ C_FIND_RQ
Definition gdcmDIMSE.h:40
gdcm::network::DIMSE::C_MOVE_RSP
@ C_MOVE_RSP
Definition gdcmDIMSE.h:43
gdcm::network::DIMSE::N_GET_RSP
@ N_GET_RSP
Definition gdcmDIMSE.h:49
gdcmTypes.h
gdcm::network
Definition gdcmAAbortPDU.h:24
gdcm
Definition gdcmASN1.h:21
gdcm::UIComp
String<'\\', 64, 0 > UIComp
Definition gdcmVR.h:275