32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/ofstd/oftypes.h"
34 #include "dcmtk/ofstd/ofstring.h"
35 #include "dcmtk/dcmnet/assoc.h"
38 #include "dcmtk/ofstd/ofstdinc.h"
41 #ifdef HAVE_SYS_TIME_H
47 class DcmQueryRetrieveProcessSlot;
size_t countChildProcesses() const
returns the number of child processes in the table
DcmQueryRetrieveProcessTable()
default constructor
void removeProcessFromTable(int pid)
remove the process with the given process ID from the table
size_t size() const
returns number of elements in the list.
this class maintains a table of client processes.
virtual ~DcmQueryRetrieveProcessTable()
destructor
void cleanChildren()
check if child processes have terminated and, if yes, remove them from the process table...
OFList< DcmQueryRetrieveProcessSlot * > table_
the list of process entries maintained by this object.
OFBool haveProcessWithWriteAccess(const char *calledAETitle) const
check if we have a child process that has write access to the given aetitle.
void addProcessToTable(int pid, T_ASC_Association *assoc)
adds a new child process to the process table.