1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>defaults.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.15 -->
<center>
<a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
<hr><h1>defaults.h</h1><a href="a00090.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">// -*- Mode: C++; -*-</font>
00002 <font class="comment">// Package : omniEvents</font>
00003 <font class="comment">// defaults.h Created : 1/10/99</font>
00004 <font class="comment">// Author : Paul Nader (pwn)</font>
00005 <font class="comment">//</font>
00006 <font class="comment">// Copyright (C) 1998 Paul Nader.</font>
00007 <font class="comment">//</font>
00008 <font class="comment">// This file is part of the omniEvents application.</font>
00009 <font class="comment">//</font>
00010 <font class="comment">// omniEvents is free software; you can redistribute it and/or</font>
00011 <font class="comment">// modify it under the terms of the GNU Lesser General Public</font>
00012 <font class="comment">// License as published by the Free Software Foundation; either</font>
00013 <font class="comment">// version 2.1 of the License, or (at your option) any later version.</font>
00014 <font class="comment">//</font>
00015 <font class="comment">// omniEvents is distributed in the hope that it will be useful,</font>
00016 <font class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00017 <font class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
00018 <font class="comment">// Lesser General Public License for more details.</font>
00019 <font class="comment">//</font>
00020 <font class="comment">// You should have received a copy of the GNU Lesser General Public</font>
00021 <font class="comment">// License along with this library; if not, write to the Free Software</font>
00022 <font class="comment">// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</font>
00023 <font class="comment">//</font>
00024 <font class="comment">// Description:</font>
00025 <font class="comment">//</font>
00026 <font class="comment">// Contains definitions of default values.</font>
00027
00028 <font class="comment">/*</font>
00029 <font class="comment"> $Log: defaults.h,v $</font>
00030 <font class="comment"> Revision 1.7.2.1 2004/11/01 12:27:12 alextingle</font>
00031 <font class="comment"> New EventChannel parameter `PullRetryPeriod_ms' supercedes `PullRetryPeriod'.</font>
00032 <font class="comment"> The new parameter is set by `eventc -R'. The old parameter and its `-r'</font>
00033 <font class="comment"> option still work as before, for backwards compatibility.</font>
00034 <font class="comment"></font>
00035 <font class="comment"> Revision 1.7 2004/07/26 20:50:39 alextingle</font>
00036 <font class="comment"> Version --> 2.5.4</font>
00037 <font class="comment"></font>
00038 <font class="comment"> Revision 1.6 2004/07/06 12:46:34 alextingle</font>
00039 <font class="comment"> Moved default macros into defaults.h</font>
00040 <font class="comment"></font>
00041 <font class="comment"> Revision 1.5 2004/05/28 10:11:37 alextingle</font>
00042 <font class="comment"> Added a comment.</font>
00043 <font class="comment"></font>
00044 <font class="comment"> Revision 1.4 2004/04/19 22:04:29 alextingle</font>
00045 <font class="comment"> Corrected default CyclePeriod to 0.1s</font>
00046 <font class="comment"></font>
00047 <font class="comment"> Revision 1.3 2004/03/28 01:01:21 alextingle</font>
00048 <font class="comment"> New QoS parameters: CyclePeriod_ns and InsName.</font>
00049 <font class="comment"></font>
00050 <font class="comment"> Revision 1.2 2004/01/11 16:57:26 alextingle</font>
00051 <font class="comment"> New persistancy log file format, implemented by PersistNode.h/cc. The new format enables new nodes to be added and old ones erased by appending a single line to the file, rather than by re-persisting the whole application. This is much more efficient when lots of proxies are being created all at once. It's also a much simpler solution, with far fewer lines of code.</font>
00052 <font class="comment"></font>
00053 <font class="comment"> Revision 1.1 2003/12/21 16:19:49 alextingle</font>
00054 <font class="comment"> Moved into 'src' directory as part of the change to POA implementation.</font>
00055 <font class="comment"></font>
00056 <font class="comment"> Revision 1.2 2003/11/03 22:36:48 alextingle</font>
00057 <font class="comment"> Updated License to GNU Lesser General Public v2.1</font>
00058 <font class="comment"></font>
00059 <font class="comment"> Revision 1.1.1.1 2002/09/25 19:00:32 shamus13</font>
00060 <font class="comment"> Import of OmniEvents source tree from release 2.1.1</font>
00061 <font class="comment"></font>
00062 <font class="comment"> Revision 1.1 2000/09/05 01:07:40 naderp</font>
00063 <font class="comment"> Added MaxQueueLength QOS.</font>
00064 <font class="comment"></font>
00065 <font class="comment"> Revision 1.0 1999/11/01 16:48:08 naderp</font>
00066 <font class="comment"> Initial revision</font>
00067 <font class="comment"></font>
00068 <font class="comment">*/</font>
00069
00070 <font class="preprocessor">#ifndef _DEFAULTS_H_</font>
00071 <font class="preprocessor"></font><font class="preprocessor">#define _DEFAULTS_H_</font>
00072 <font class="preprocessor"></font>
<a name="l00073"></a><a class="code" href="a00090.html#a0">00073</a> <font class="preprocessor">#define PULL_RETRY_PERIOD_MS 1000 </font>
<a name="l00074"></a><a class="code" href="a00090.html#a1">00074</a> <font class="preprocessor">#define MAX_QUEUE_LENGTH 1023</font>
<a name="l00075"></a><a class="code" href="a00090.html#a2">00075</a> <font class="preprocessor"></font><font class="preprocessor">#define MAX_NUM_PROXIES 1024 </font>
<a name="l00076"></a><a class="code" href="a00090.html#a3">00076</a> <font class="preprocessor">#define CYCLE_PERIOD_NS 100000000 </font>
00077 <font class="preprocessor"></font>
00078 <font class="preprocessor"></font>
00085 <font class="preprocessor">#if defined(__WIN32__)</font>
00086 <font class="preprocessor"></font><font class="preprocessor"># define OMNIEVENTS_LOG_DEFAULT_LOCATION "C:\\omniEvents"</font>
00087 <font class="preprocessor"></font><font class="preprocessor">#elif defined(__VMS) // What is a good default for VMS?</font>
00088 <font class="preprocessor"></font><font class="preprocessor"># define OMNIEVENTS_LOG_DEFAULT_LOCATION "[]"</font>
00089 <font class="preprocessor"></font><font class="preprocessor">#else // Unix</font>
<a name="l00090"></a><a class="code" href="a00090.html#a4">00090</a> <font class="preprocessor"></font><font class="preprocessor"># define OMNIEVENTS_LOG_DEFAULT_LOCATION "/var/lib/omniEvents"</font>
00091 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
00092 <font class="preprocessor"></font>
<a name="l00097"></a><a class="code" href="a00090.html#a5">00097</a> <font class="preprocessor">#define OMNIEVENTS_LOGDIR_ENV_VAR "OMNIEVENTS_LOGDIR"</font>
00098 <font class="preprocessor"></font>
<a name="l00108"></a><a class="code" href="a00090.html#a6">00108</a> <font class="preprocessor">#define OMNIEVENTS_LOG_CHECKPOINT_PERIOD (15*60)</font>
00109 <font class="preprocessor"></font>
00110 <font class="preprocessor">#endif // _DEFAULTS_H_</font>
</pre></div><hr><address align="right"><small>Generated on Fri Nov 19 17:42:20 2004 for OmniEvents by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.15 </small></address>
</body>
</html>
|