00001 /* 00002 * 00003 * Copyright (C) 1996-2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * 00014 * Module: dcmwlm 00015 * 00016 * Author: Thomas Wilkens 00017 * 00018 * Purpose: Class representing a console engine for basic worklist 00019 * management service class providers based on the file system. 00020 * 00021 * Last Update: $Author: joergr $ 00022 * Update Date: $Date: 2010-10-14 13:20:01 $ 00023 * CVS/RCS Revision: $Revision: 1.11 $ 00024 * Status: $State: Exp $ 00025 * 00026 * CVS/RCS Log at end of file 00027 * 00028 */ 00029 00030 #ifndef WlmConsoleEngineFileSystem_h 00031 #define WlmConsoleEngineFileSystem_h 00032 00033 #include "dcmtk/config/osconfig.h" 00034 #include "dcmtk/dcmnet/dimse.h" 00035 00036 class WlmDataSource; 00037 class OFConsoleApplication; 00038 class OFCommandLine; 00039 00043 class WlmConsoleEngineFileSystem 00044 { 00045 protected: 00047 char rcsid[200]; 00049 WlmReturnedCharacterSetType opt_returnedCharacterSet; 00051 OFString opt_dfPath; 00053 OFCmdUnsignedInt opt_port; 00055 OFBool opt_refuseAssociation; 00057 OFBool opt_rejectWithoutImplementationUID; 00059 OFCmdUnsignedInt opt_sleepAfterFind; 00061 OFCmdUnsignedInt opt_sleepDuringFind; 00063 OFCmdUnsignedInt opt_maxPDU; 00065 E_TransferSyntax opt_networkTransferSyntax; 00067 OFBool opt_failInvalidQuery; 00069 OFBool opt_singleProcess; 00071 OFBool opt_forkedChild; 00073 int opt_maxAssociations; 00075 OFBool opt_noSequenceExpansion; 00077 OFBool opt_enableRejectionOfIncompleteWlFiles; 00079 T_DIMSE_BlockingMode opt_blockMode; 00081 int opt_dimse_timeout; 00083 int opt_acse_timeout; 00085 OFConsoleApplication *app; 00087 OFCommandLine *cmd; 00089 int command_argc; 00091 char **command_argv; 00093 WlmDataSource *dataSource; 00094 00098 WlmConsoleEngineFileSystem( const WlmConsoleEngineFileSystem &Src ); 00099 00104 WlmConsoleEngineFileSystem &operator=( const WlmConsoleEngineFileSystem &Src ); 00105 00106 public: 00113 WlmConsoleEngineFileSystem( int argc, char *argv[], const char *applicationName, WlmDataSource *dataSourcev ); 00114 00117 ~WlmConsoleEngineFileSystem(); 00118 00124 int StartProvidingService(); 00125 }; 00126 00127 #endif