OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmqrdb
include
dcmtk
dcmqrdb
dcmqrptb.h
1
/*
2
*
3
* Copyright (C) 1993-2010, OFFIS e.V.
4
* All rights reserved. See COPYRIGHT file for details.
5
*
6
* This software and supporting documentation were developed by
7
*
8
* OFFIS e.V.
9
* R&D Division Health
10
* Escherweg 2
11
* D-26121 Oldenburg, Germany
12
*
13
*
14
* Module: dcmqrdb
15
*
16
* Author: Marco Eichelberg
17
*
18
* Purpose: class DcmQueryRetrieveProcessTable
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:16:41 $
22
* CVS/RCS Revision: $Revision: 1.5 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
#ifndef DCMQRPTB_H
30
#define DCMQRPTB_H
31
32
#include "dcmtk/config/osconfig.h"
/* make sure OS specific configuration is included first */
33
#include "dcmtk/ofstd/oftypes.h"
34
#include "dcmtk/ofstd/ofstring.h"
35
#include "dcmtk/dcmnet/assoc.h"
36
37
#define INCLUDE_CTIME
38
#include "dcmtk/ofstd/ofstdinc.h"
39
40
BEGIN_EXTERN_C
41
#ifdef HAVE_SYS_TIME_H
42
#include <sys/time.h>
43
#endif
44
END_EXTERN_C
45
46
47
class
DcmQueryRetrieveProcessSlot;
48
49
54
class
DcmQueryRetrieveProcessTable
55
{
56
public
:
58
DcmQueryRetrieveProcessTable
() { }
59
61
virtual
~DcmQueryRetrieveProcessTable
();
62
67
void
addProcessToTable
(
int
pid,
T_ASC_Association
* assoc);
68
72
size_t
countChildProcesses
()
const
73
{
74
return
table_
.
size
();
75
}
76
81
void
cleanChildren
();
82
88
OFBool
haveProcessWithWriteAccess
(
const
char
*calledAETitle)
const
;
89
90
private
:
91
95
void
removeProcessFromTable
(
int
pid);
96
98
OFList<DcmQueryRetrieveProcessSlot *>
table_
;
99
};
100
101
102
#endif
103
104
/*
105
* CVS Log
106
* $Log: dcmqrptb.h,v $
107
* Revision 1.5 2010-10-14 13:16:41 joergr
108
* Updated copyright header. Added reference to COPYRIGHT file.
109
*
110
* Revision 1.4 2009-11-24 10:10:42 uli
111
* Switched to logging mechanism provided by the "new" oflog module.
112
*
113
* Revision 1.3 2009-08-21 09:50:07 joergr
114
* Replaced tabs by spaces and updated copyright date.
115
*
116
* Revision 1.2 2005/12/08 16:04:26 meichel
117
* Changed include path schema for all DCMTK header files
118
*
119
* Revision 1.1 2005/03/30 13:34:50 meichel
120
* Initial release of module dcmqrdb that will replace module imagectn.
121
* It provides a clear interface between the Q/R DICOM front-end and the
122
* database back-end. The imagectn code has been re-factored into a minimal
123
* class structure.
124
*
125
*
126
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2