OFFIS DCMTK  Version 3.6.0
wlcefs.h
1 /*
2  *
3  * Copyright (C) 1996-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: dcmwlm
15  *
16  * Author: Thomas Wilkens
17  *
18  * Purpose: Class representing a console engine for basic worklist
19  * management service class providers based on the file system.
20  *
21  * Last Update: $Author: joergr $
22  * Update Date: $Date: 2010-10-14 13:20:01 $
23  * CVS/RCS Revision: $Revision: 1.11 $
24  * Status: $State: Exp $
25  *
26  * CVS/RCS Log at end of file
27  *
28  */
29 
30 #ifndef WlmConsoleEngineFileSystem_h
31 #define WlmConsoleEngineFileSystem_h
32 
33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmnet/dimse.h"
35 
36 class WlmDataSource;
38 class OFCommandLine;
39 
44 {
45  protected:
47  char rcsid[200];
49  WlmReturnedCharacterSetType opt_returnedCharacterSet;
53  OFCmdUnsignedInt opt_port;
59  OFCmdUnsignedInt opt_sleepAfterFind;
61  OFCmdUnsignedInt opt_sleepDuringFind;
63  OFCmdUnsignedInt opt_maxPDU;
65  E_TransferSyntax opt_networkTransferSyntax;
79  T_DIMSE_BlockingMode opt_blockMode;
91  char **command_argv;
94 
99 
105 
106  public:
113  WlmConsoleEngineFileSystem( int argc, char *argv[], const char *applicationName, WlmDataSource *dataSourcev );
114 
118 
124  int StartProvidingService();
125 };
126 
127 #endif
WlmConsoleEngineFileSystem(const WlmConsoleEngineFileSystem &Src)
Protected undefined copy-constructor.
support class for console applications.
Definition: ofconapp.h:49
This class encapsulates data structures and operations for connecting to an arbitrary data source in ...
Definition: wlds.h:52
OFCmdUnsignedInt opt_port
port on which this application is listening
Definition: wlcefs.h:53
OFConsoleApplication * app
instance of console application class (for handling command line arguments)
Definition: wlcefs.h:85
int opt_dimse_timeout
timeout for DIMSE operations
Definition: wlcefs.h:81
OFCmdUnsignedInt opt_maxPDU
max PDU size
Definition: wlcefs.h:63
char ** command_argv
complete command line, needed for mulitprocess mode on WIN32
Definition: wlcefs.h:91
OFBool opt_forkedChild
indicates if this process is called as a child process, used by dcmnet
Definition: wlcefs.h:71
OFBool opt_refuseAssociation
indicates if incoming associations shall be refused or not
Definition: wlcefs.h:55
OFString opt_dfPath
path to database files
Definition: wlcefs.h:51
This class encapsulates data structures and operations for a console application that can act as a ba...
Definition: wlcefs.h:43
T_DIMSE_BlockingMode opt_blockMode
blocking mode for DIMSE operations
Definition: wlcefs.h:79
OFBool opt_noSequenceExpansion
indicates if an expansion of empty sequences in C-Find RQ messages shall take place or not ...
Definition: wlcefs.h:75
OFBool opt_rejectWithoutImplementationUID
indicates if incoming associations shall be refused if no implementation class uid is specified ...
Definition: wlcefs.h:57
int StartProvidingService()
Starts providing the implemented service for calling SCUs.
OFCommandLine * cmd
instance of command line class (for handling command line arguments)
Definition: wlcefs.h:87
int opt_acse_timeout
timeout for ACSE operations
Definition: wlcefs.h:83
E_TransferSyntax opt_networkTransferSyntax
preferred network transfer syntax
Definition: wlcefs.h:65
OFBool opt_singleProcess
indicates if this application is run in single process mode or not
Definition: wlcefs.h:69
int opt_maxAssociations
indicates how many associations can be accepted at the same time
Definition: wlcefs.h:73
OFCmdUnsignedInt opt_sleepDuringFind
indicates how long the application shall sleep during a find
Definition: wlcefs.h:61
OFCmdUnsignedInt opt_sleepAfterFind
indicates how long the application shall sleep after a find
Definition: wlcefs.h:59
char rcsid[200]
contains application's id string
Definition: wlcefs.h:47
OFBool opt_enableRejectionOfIncompleteWlFiles
indicates if wl-files which are lacking return type 1 attributes or information in such attributes sh...
Definition: wlcefs.h:77
WlmReturnedCharacterSetType opt_returnedCharacterSet
returned character set type
Definition: wlcefs.h:49
WlmDataSource * dataSource
data source which shall be queried on incoming C-Find RQ messages
Definition: wlcefs.h:93
a simple string class that implements a subset of std::string.
Definition: ofstring.h:86
OFBool opt_failInvalidQuery
indicates if find shall fail on an invalid query or not
Definition: wlcefs.h:67
~WlmConsoleEngineFileSystem()
destructor
handles command line arguments.
Definition: ofcmdln.h:129
int command_argc
number of command line arguments, needed for multiprocess mode on WIN32
Definition: wlcefs.h:89
WlmConsoleEngineFileSystem & operator=(const WlmConsoleEngineFileSystem &Src)
Protected undefined operator=.


Generated on Wed Jan 4 2017 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.6