diff options
Diffstat (limited to 'docs/doxygen/nel/baseai_8h-source.html')
-rw-r--r-- | docs/doxygen/nel/baseai_8h-source.html | 356 |
1 files changed, 356 insertions, 0 deletions
diff --git a/docs/doxygen/nel/baseai_8h-source.html b/docs/doxygen/nel/baseai_8h-source.html new file mode 100644 index 00000000..3bfca68e --- /dev/null +++ b/docs/doxygen/nel/baseai_8h-source.html @@ -0,0 +1,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="http://www.nevrax.org/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="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/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="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/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="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- 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="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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="classes.html">Alphabetical List</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> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </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 <iostream.h></font> +00029 <font class="preprocessor">#include <fstream.h></font> +00030 <font class="preprocessor">#include <vector></font> +00031 +00032 <font class="preprocessor">#include <queue></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> <<font class="keyword">class</font> T> +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<T></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<T></a>::iterator TIterator; +00072 TIterator i = l->begin(); +00073 <font class="keywordflow">while</font>(i != l->end()) +00074 { +00075 TIterator j = i++; +00076 <font class="keywordflow">if</font>(*j == a) +00077 { +00078 l->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> &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> &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> &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> &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 < </a>(<font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a0">CIdMethod</a> &) <font class="keyword">const</font>; +00137 <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1CIdMethod.html#a0">CIdMethod</a> &<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> &); +00138 }; +00139 +00140 +00141 <font class="keyword">typedef</font> std::priority_queue<CIdMethod> <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> &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> &<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> &a); +00234 +00238 <font class="keyword">virtual</font> <font class="keyword">const</font> CProcessResult &<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 &<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 &) <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 &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 &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> &) <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 &) <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 &,<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 &); +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> &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> &is); +00366 <font class="keywordtype">void</font> <a class="code" href="classNLAIAGENT_1_1IRefrence.html#b2">setNumRef</a>(<font class="keyword">const</font> IWordNumRef &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> &is); +00375 +00377 <a class="code" href="classNLAIAGENT_1_1IRefrence.html#a3">operator const IWordNumRef &</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> &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> &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<const IConnectIA *> <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<const IConnectIA *>::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<const IConnectIA *>::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> &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> &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> &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 &<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> &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> &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> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |