00001 /* 00002 * 00003 * Copyright (C) 1996-2005, OFFIS 00004 * 00005 * This software and supporting documentation were developed by 00006 * 00007 * Kuratorium OFFIS e.V. 00008 * Healthcare Information and Communication Systems 00009 * Escherweg 2 00010 * D-26121 Oldenburg, Germany 00011 * 00012 * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY 00013 * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00014 * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR 00015 * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND 00016 * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. 00017 * 00018 * Module: dcmwlm 00019 * 00020 * Author: Thomas Wilkens 00021 * 00022 * Purpose: Class representing a console engine for basic worklist 00023 * management service class providers based on the file system. 00024 * 00025 * Last Update: $Author: meichel $ 00026 * Update Date: $Date: 2005/12/08 15:46:50 $ 00027 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmwlm/apps/wlcefs.h,v $ 00028 * CVS/RCS Revision: $Revision: 1.7 $ 00029 * Status: $State: Exp $ 00030 * 00031 * CVS/RCS Log at end of file 00032 * 00033 */ 00034 00035 #ifndef WlmConsoleEngineFileSystem_h 00036 #define WlmConsoleEngineFileSystem_h 00037 00038 #include "dcmtk/config/osconfig.h" 00039 #include "dcmtk/dcmnet/dimse.h" 00040 00041 class WlmDataSource; 00042 class OFConsoleApplication; 00043 class OFCommandLine; 00044 00048 class WlmConsoleEngineFileSystem 00049 { 00050 protected: 00052 char rcsid[200]; 00054 WlmReturnedCharacterSetType opt_returnedCharacterSet; 00056 const char *opt_dfPath; 00058 OFCmdUnsignedInt opt_port; 00060 OFBool opt_refuseAssociation; 00062 OFBool opt_rejectWithoutImplementationUID; 00064 OFCmdUnsignedInt opt_sleepAfterFind; 00066 OFCmdUnsignedInt opt_sleepDuringFind; 00068 OFCmdUnsignedInt opt_maxPDU; 00070 E_TransferSyntax opt_networkTransferSyntax; 00072 OFBool opt_verbose; 00074 OFBool opt_debug; 00076 OFBool opt_failInvalidQuery; 00078 OFBool opt_singleProcess; 00080 int opt_maxAssociations; 00082 OFBool opt_noSequenceExpansion; 00084 OFBool opt_enableRejectionOfIncompleteWlFiles; 00086 T_DIMSE_BlockingMode opt_blockMode; 00088 int opt_dimse_timeout; 00090 int opt_acse_timeout; 00092 OFConsoleApplication *app; 00094 OFCommandLine *cmd; 00096 WlmDataSource *dataSource; 00097 00102 void DumpMessage( const char *message ); 00103 00107 WlmConsoleEngineFileSystem( const WlmConsoleEngineFileSystem &Src ); 00108 00113 WlmConsoleEngineFileSystem &operator=( const WlmConsoleEngineFileSystem &Src ); 00114 00115 00116 public: 00123 WlmConsoleEngineFileSystem( int argc, char *argv[], const char *applicationName, WlmDataSource *dataSourcev ); 00124 00127 ~WlmConsoleEngineFileSystem(); 00128 00134 int StartProvidingService(); 00135 }; 00136 00137 #endif