aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/baseai_8h-source.html
blob: d95f7d9380185c5c0f946e69745b0c52c9fcb384 (plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
	<TITLE>nevrax.org : docs</TITLE>
	<LINK REL=stylesheet TYPE="text/css" HREF="/inc/css/nevrax.css">
	<link href="doxygen.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY MARGINHEIGHT="0" MARGINWIDTH="0">

<!-- uplinks -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0>
 <TR>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=140 BGCOLOR=#dddddd><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
        <TD><IMG  width=6 height=14  SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
 </TR>
</TABLE> 

<!-- banner Nevrax -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 WIDTH=100%>
 <TR><TD  BGCOLOR="#000000" BACKGROUND="/inc/img/black_banner.jpg"><A HREF=""><IMG  SRC="/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
</TABLE>

<!-- main table -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 height=100%>
 <TR>
	<TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
	<TD WIDTH=140   BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

		<!------ Begin Box ------>
		<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0  cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
		<FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td  colspan=2 bgcolor=#FFFFFF>
		<TABLE cellspacing=0 cellpadding=1 border=0>
			<tr><td ALIGN=middle><a  class='linkbox' href="/news/" TITLE="Rubrique news"><img width=13 height=15  hspace=5 border=0 src=/inc/img/picto-news.gif ALT=#></A></td><td><a  class='linkbox' href="/news/" TITLE="News">News</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/mail/" TITLE="Rubrique mail"><img width=15 height=11  hspace=5 border=0 src=/inc/img/picto-mail.gif ALT=#></A></td><td><a  class='linkbox' href="/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/docs/" TITLE="Rubrique docs"><img width=14 height=16  hspace=5 border=0 src=/inc/img/picto-docs.gif ALT=#></A></td><td><a  class='linkbox' href="/docs/" TITLE="Documentation">Documentation</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/cvs/" TITLE="Rubrique cvs"><img width=13 height=17  hspace=5 border=0 src=/inc/img/picto-cvs.gif ALT=#></A></td><td><a  class='linkbox' href="/cvs/" TITLE="CVS Web">CVS</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/bugs/" TITLE="Rubrique bugs"><img width=20 height=16  hspace=5 border=0 src=/inc/img/picto-bugs.gif ALT=#></A></td><td><a  class='linkbox' href="/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/GPL.php3" TITLE="Rubrique license"><img  width=18 height=12   hspace=5 border=0 src=/inc/img/picto-gpl.gif ALT=#></A></td><td><a  class='linkbox' href="/GPL.php3" TITLE="License">License</a></td></tr>
		</TABLE>
		</TD></TR></TABLE></TD></TR></TABLE>
		<!------ End Box  ------>

	</TD>
	<TD WIDTH=15><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
	<TD ALIGN=left valign=top><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

<!-- title -->
<TABLE  background="/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td>
<A HREF="/docs/"><img src="/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
</td><td><IMG  SRC="/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
</td></tr></table>
&nbsp;

<!-- block -->
<TABLE  bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="/inc/img/reddots.gif"></TD>
	<TD><B>Documentation</B></TD>
	<TD ALIGN=RIGHT>&nbsp;</td>
</tr></table>
<!-- Generated by Doxygen 1.2.14 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:/cgi-bin/nel-search.cgi" href="/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
<hr><h1>baseai.h</h1><a href="baseai_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 
00007 <font class="comment">/* Copyright, 2000 Nevrax Ltd.</font>
00008 <font class="comment"> *</font>
00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
00013 <font class="comment"> * any later version.</font>
00014 <font class="comment"></font>
00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
00016 <font class="comment"> * 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"> * 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 General Public License</font>
00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
00023 <font class="comment"> * MA 02111-1307, USA.</font>
00024 <font class="comment"> */</font>
00025 
00026 <font class="preprocessor">#ifndef NL_BASEIA_H</font>
00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_BASEIA_H</font>
00028 <font class="preprocessor"></font><font class="preprocessor">#include &lt;iostream.h&gt;</font>
00029 <font class="preprocessor">#include &lt;fstream.h&gt;</font>
00030 <font class="preprocessor">#include &lt;vector&gt;</font>
00031 
00032 <font class="preprocessor">#include &lt;queue&gt;</font>
00033 
00034 <font class="preprocessor">#include "<a class="code" href="ident_8h.html">nel/ai/agent/ident.h</a>"</font>
00035 
00036 
00040 <font class="keyword">namespace </font>NLAIAGENT
00041 {
00042 
00043 
00050         <font class="keyword">enum</font> <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> {
00051                 <a class="code" href="namespaceNLAIAGENT.html#a50a2">processIdle</a>,    
00052                 <a class="code" href="namespaceNLAIAGENT.html#a50a3">processLocked</a>,  
00053                 <a class="code" href="namespaceNLAIAGENT.html#a50a4">processBuzzy</a>,   
00054                 <a class="code" href="namespaceNLAIAGENT.html#a50a5">processEnd</a>,             
00055                 <a class="code" href="namespaceNLAIAGENT.html#a50a6">processToKill</a>,  
00056                 <a class="code" href="namespaceNLAIAGENT.html#a50a7">processPresKill</a>, 
00057                 <a class="code" href="namespaceNLAIAGENT.html#a50a8">processNotComplete</a>,
00058                 <a class="code" href="namespaceNLAIAGENT.html#a50a9">processError</a>    
00059         };
00060 
00068         <font class="keyword">template</font> &lt;<font class="keyword">class</font> T&gt;
00069         <font class="keywordtype">bool</font> <a class="code" href="namespaceNLAIAGENT.html#a43">eraseFromList</a>(<a class="code" href="classstd_1_1list.html">std::list&lt;T&gt;</a> *<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>,T a)
00070         {
00071                 <font class="keyword">typedef</font> <font class="keyword">typename</font> <a class="code" href="classstd_1_1list.html">std::list&lt;T&gt;</a>::iterator TIterator;
00072                 TIterator i = l-&gt;begin();
00073                 <font class="keywordflow">while</font>(i != l-&gt;end())
00074                 {               
00075                         TIterator j = i++;
00076                         <font class="keywordflow">if</font>(*j == a)
00077                         {
00078                                 l-&gt;erase(j);
00079                                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00080                         }                       
00081                 }
00082                 <font class="keywordflow">return</font> <font class="keyword">false</font>;
00083         }
00084         
<a name="l00092"></a><a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">00092</a>         <font class="keyword">class </font>IBasicObjectIA : <font class="keyword">public</font> NLAIC::IBasicInterface
00093         {
00094                 <font class="keyword">public</font>:
00095                         <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a0">IBasicObjectIA</a>();
00096                         <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a0">IBasicObjectIA</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a0">IBasicObjectIA</a> &amp;a);
00097                 
00102                         <font class="keywordtype">bool</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a2">operator == </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a0">IBasicObjectIA</a> &amp;classType) <font class="keyword">const</font>;
00103 
00108                         <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a3">isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a0">IBasicObjectIA</a> &amp;a) <font class="keyword">const</font> = 0;
00109                         <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html#a4">~IBasicObjectIA</a>();
00110         };
00111         
00112         <font class="keyword">class </font>IBaseGroupType;
00113         <font class="keyword">class </font>IBasicType;
00114         <font class="keyword">class </font>IObjectIA;
00115         <font class="keyword">class </font>IMessageBase;
00116         
<a name="l00117"></a><a class="code" href="structNLAIAGENT_1_1CIdMethod.html">00117</a>         <font class="keyword">struct </font>CIdMethod
00118         {
<a name="l00120"></a><a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m0">00120</a>                 sint32 <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m0">Index</a>;
<a name="l00122"></a><a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m1">00122</a>                 <font class="keywordtype">double</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m1">Weight</a>;
<a name="l00124"></a><a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m2">00124</a>                 IObjectIA *<a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m2">Method</a>;
<a name="l00126"></a><a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m3">00126</a>                 IObjectIA *<a class="code" href="structNLAIAGENT_1_1CIdMethod.html#m3">ReturnType</a>;
00127 
00128                 <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a2">CIdMethod</a>(<font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a0">CIdMethod</a> &amp;a);          
00129                 
00130                 <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a2">CIdMethod</a>(sint32 i, <font class="keywordtype">double</font> <a class="code" href="driver__opengl__extension__def_8h.html#a367">w</a>,IObjectIA *m,IObjectIA *<a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>);                
00131 
00132                 <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a2">CIdMethod</a>();            
00133 
00134                 <font class="keyword">virtual</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a3">~CIdMethod</a>();           
00135 
00136                 <font class="keywordtype">bool</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a4">operator &lt; </a>(<font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a0">CIdMethod</a> &amp;) <font class="keyword">const</font>;              
00137                 <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a0">CIdMethod</a> &amp;<a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a5">operator = </a>(<font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a0">CIdMethod</a> &amp;);
00138         };
00139         
00140 
00141         <font class="keyword">typedef</font> std::priority_queue&lt;CIdMethod&gt; <a class="code" href="namespaceNLAIAGENT.html#a1">tQueue</a>;
00142 
<a name="l00154"></a><a class="code" href="classNLAIAGENT_1_1IObjectIA.html">00154</a>         <font class="keyword">class </font>IObjectIA: <font class="keyword">public</font> IBasicObjectIA
00155         {       
00156         <font class="keyword">protected</font>:
00161                 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a0">IObjectIA</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> &amp;a);
00162 
00163         <font class="keyword">public</font>:
<a name="l00167"></a><a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">00167</a>                 <font class="keyword">struct </font>CProcessResult
00168                 {
<a name="l00169"></a><a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#a0">00169</a>                         <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#a0">CProcessResult</a>()
00170                         {                               
00171                                 <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m0">ResultState</a> = <a class="code" href="namespaceNLAIAGENT.html#a50a2">processIdle</a>;
00172                                 <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m1">Result</a> = NULL;
00173                         }
00174 
<a name="l00175"></a><a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#a1">00175</a>                         <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#a0">CProcessResult</a>(<a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> state)
00176                         {                               
00177                                 <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m0">ResultState</a> = state;
00178                                 <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m1">Result</a> = NULL;
00179                         }
00180 
<a name="l00184"></a><a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m0">00184</a>                         <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m0">ResultState</a>;
<a name="l00188"></a><a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m1">00188</a>                         IObjectIA *<a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html#m1">Result</a>;
00189                 };              
00190 
00191         <font class="keyword">public</font>:
00192 
00193                 <font class="keyword">static</font> CProcessResult <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">ProcessRun</a>;
00194                 <font class="keyword">static</font> CProcessResult <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p1">ProcessNotComplit</a>;                
00195                 
00199                 <font class="keyword">static</font> <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p2">ProcessIdle</a>;
00200 
00204                 <font class="keyword">static</font> <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p3">ProcessLocked</a>;
00205 
00209                 <font class="keyword">static</font> <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p4">ProcessBuzzy</a>;
00210 
00214                 <font class="keyword">static</font> <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p5">ProcessEnd</a>;
00215 
00219                 <font class="keyword">static</font> <a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p6">ProcessError</a>;
00220                 
00221 
00222         <font class="keyword">public</font>:
00223                 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a0">IObjectIA</a>();
00224 
00228                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a1">init</a>(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *);
00229 
00233                 <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> &amp;<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a2">operator = </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> &amp;a);
00234 
00238                 <font class="keyword">virtual</font> <font class="keyword">const</font> CProcessResult &amp;<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a3">run</a>() = 0;                
00239 
00243                 <font class="keyword">virtual</font> <font class="keyword">const</font> CProcessResult &amp;<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a4">runStep</a>();
00244 
00248                 <font class="keyword">virtual</font> sint32 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a5">getStaticMemberSize</a>() <font class="keyword">const</font>;
00252                 <font class="keyword">virtual</font> sint32 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a6">getStaticMemberIndex</a>(<font class="keyword">const</font> IVarName &amp;) <font class="keyword">const</font>;
00256                 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a7">getStaticMember</a>(sint32) <font class="keyword">const</font>;
00257 
<a name="l00261"></a><a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a8">00261</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a7">getStaticMember</a>(<font class="keyword">const</font> IVarName &amp;compName)<font class="keyword"> const</font>
00262 <font class="keyword">                </font>{
00263                         <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a7">getStaticMember</a>(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a6">getStaticMemberIndex</a>(compName));
00264                 }
<a name="l00268"></a><a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a9">00268</a>                 <font class="keywordtype">bool</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a9">setStaticMember</a>(<font class="keyword">const</font> IVarName &amp;compName,<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *change)
00269                 {
00270                         <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a9">setStaticMember</a>(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a6">getStaticMemberIndex</a>(compName),change);
00271                 }
00272 
00276                 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a9">setStaticMember</a>(sint32,<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *);
00277 
00281                 <font class="keyword">virtual</font> sint32 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a11">getMethodIndexSize</a>() <font class="keyword">const</font>;
00293                 <font class="keyword">virtual</font> <a class="code" href="namespaceNLAIAGENT.html#a1">tQueue</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a12">isMember</a>(<font class="keyword">const</font> IVarName *,<font class="keyword">const</font> IVarName *,<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> &amp;) <font class="keyword">const</font>;
00300                 <font class="keyword">virtual</font> sint32 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a13">isClassInheritedFrom</a>(<font class="keyword">const</font> IVarName &amp;) <font class="keyword">const</font>;
00301 
00309                 <font class="keyword">virtual</font> CProcessResult <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a14">runMethodeMember</a>(sint32, sint32, <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *);
00310 
00315                 <font class="keyword">virtual</font> std::string <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a15">getMethodeMemberDebugString</a>(sint32, sint32) <font class="keyword">const</font>;
00316 
00323                 <font class="keyword">virtual</font> CProcessResult <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a14">runMethodeMember</a>(sint32 <a class="code" href="driver__opengl__extension__def_8h.html#a358">index</a>,<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *);
00324 
00328                 <font class="keyword">virtual</font> CProcessResult <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a17">sendMessage</a>(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *);
00329 
00333                 <font class="keyword">virtual</font> CProcessResult <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a17">sendMessage</a>(<font class="keyword">const</font> IVarName &amp;,<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *);
00334                 
00340                 <font class="keyword">virtual</font> <a class="code" href="namespaceNLAIAGENT.html#a1">tQueue</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a19">canProcessMessage</a>(<font class="keyword">const</font> IVarName &amp;);
00341 
00343                 <font class="keyword">virtual</font> <font class="keywordtype">bool</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a20">isLocal</a>();
00344 
00345                 <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a21">~IObjectIA</a>();
00346         };      
00347         
<a name="l00354"></a><a class="code" href="classNLAIAGENT_1_1IRefrence.html">00354</a>         <font class="keyword">class </font>IRefrence: <font class="keyword">public</font> IObjectIA
00355         {       
00356         <font class="keyword">private</font>:
<a name="l00358"></a><a class="code" href="classNLAIAGENT_1_1IRefrence.html#o0">00358</a>                 IWordNumRef *<a class="code" href="classNLAIAGENT_1_1IRefrence.html#o0">_NumRef</a>;
<a name="l00360"></a><a class="code" href="classNLAIAGENT_1_1IRefrence.html#o1">00360</a>                 IWordNumRef *<a class="code" href="classNLAIAGENT_1_1IRefrence.html#o1">_Parent</a>;
00361 
00362         <font class="keyword">protected</font>:
00363                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a0">IRefrence</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#b0">IRefrence</a> &amp;A);
00365                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#b1">refLoadStream</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is);
00366                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#b2">setNumRef</a>(<font class="keyword">const</font> IWordNumRef &amp;ref);
00367 
00368         <font class="keyword">public</font>:
00370                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a0">IRefrence</a>();
00372                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a0">IRefrence</a>(<font class="keyword">const</font> IWordNumRef *parent);
00374                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a0">IRefrence</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is);
00375 
00377                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a3">operator const IWordNumRef &amp;</a>() <font class="keyword">const</font>;
00379                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a4">operator const IWordNumRef *</a>() <font class="keyword">const</font> ;
00380 
00381                 <font class="keyword">virtual</font> <font class="keyword">const</font> CIdent <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a5">getIdentType</a>() <font class="keyword">const</font>;
00382 
00384                 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#b0">IRefrence</a> *<a class="code" href="classNLAIAGENT_1_1IRefrence.html#a6">getParent</a>() <font class="keyword">const</font>;
00385 
00387                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a7">setParent</a>(<font class="keyword">const</font> IWordNumRef *parent);
00389                 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#b0">IRefrence</a> *<a class="code" href="classNLAIAGENT_1_1IRefrence.html#a8">getOwner</a>() <font class="keyword">const</font>;
00390                 
00392 
00396                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#z150_0">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os) = 0;
00397                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#z150_1">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is) = 0;
00399 
00400 
00402                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a9">setTypeAt</a>(uint64 <a class="code" href="driver__opengl__extension__def_8h.html#a384">t</a>);               
00403 
00404                 <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a10">~IRefrence</a>();
00405         };
00406 
<a name="l00418"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html">00418</a>         <font class="keyword">class </font>IConnectIA: <font class="keyword">public</font> IRefrence
00419         {
00420         <font class="keyword">private</font>:
<a name="l00421"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u0">00421</a>                 <font class="keyword">typedef</font> std::set&lt;const IConnectIA *&gt; <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u0">tListiBasic</a>;
<a name="l00422"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u1">00422</a>                 <font class="keyword">typedef</font> std::set&lt;const IConnectIA *&gt;::iterator <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u1">tListiBasicItr</a>;
<a name="l00423"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u2">00423</a>                 <font class="keyword">typedef</font> std::set&lt;const IConnectIA *&gt;::const_iterator <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u2">tListiBasicCstItr</a>;
00424 
00425         <font class="keyword">protected</font>:
<a name="l00426"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html#n0">00426</a>                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u0">tListiBasic</a> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#n0">_Connection</a>;
<a name="l00427"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html#n1">00427</a>                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#u0">tListiBasic</a> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#n1">_Connected</a>;         
00428 
00429         <font class="keyword">protected</font>:
00430                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a0">IConnectIA</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> &amp;A);
00431                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b1">connectLoadStream</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is);
00432 
00433         <font class="keyword">public</font>:
00434 
00435                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a0">IConnectIA</a>();
00436                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a0">IConnectIA</a>(<font class="keyword">const</font> IWordNumRef *parent);
00437                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a0">IConnectIA</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is);
00438                 <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *<a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a3">getParent</a>() <font class="keyword">const</font>;
00439                                 
00441                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a4">onKill</a>(<a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *);      
00444 
00445                 <font class="keyword">virtual</font> <font class="keyword">const</font> CProcessResult &amp;<a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z151_0">getState</a>() <font class="keyword">const</font> = 0;
00446                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z151_1">setState</a>(<a class="code" href="namespaceNLAIAGENT.html#a50">TProcessStatement</a> <a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>, <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *result) = 0;              
00448 
<a name="l00451"></a><a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a5">00451</a>                 <font class="keyword">virtual</font> IObjectIA::CProcessResult <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a5">sendMessage</a>(<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#b0">IObjectIA</a> *m)
00452                 {
00453                         <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a5">sendMessage</a>((IMessageBase *)m);
00454                 }
00455                 <font class="keyword">virtual</font> IObjectIA::CProcessResult <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a5">sendMessage</a>(IMessageBase *msg) = 0;
00456                 
00458 
00462                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z152_0">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os) = 0;
00463                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z152_1">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is) = 0;
00465 
00468                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a7">connect</a>(<a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *b);
00470                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a8">removeConnection</a>(<a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *Agent);
00471 
00472                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a9">setParent</a>(<font class="keyword">const</font> IWordNumRef *parent);
00473 
00475                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a10">Kill</a>(); 
00476 
00477                 <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#a11">~IConnectIA</a>();
00478 
00479         <font class="keyword">protected</font>:              
00480                 
00482 
00483                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z153_0">addInConnectionList</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *a);
00484                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z153_1">removeInConnectionList</a>(<a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *a);
00485                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z153_2">addInConnectedList</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *a);
00486                 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#z153_3">removeInConnectedList</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IConnectIA.html#b0">IConnectIA</a> *a);
00488 
00489         };
00490 }
00491 <font class="preprocessor">#endif</font>
</pre></div>

<!-- footer -->
<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
</TD>
<TD WIDTH=15><IMG  SRC=/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>