diff options
Diffstat (limited to 'docs/doxygen/nel/interpret__object__message_8cpp-source.html')
-rw-r--r-- | docs/doxygen/nel/interpret__object__message_8cpp-source.html | 501 |
1 files changed, 501 insertions, 0 deletions
diff --git a/docs/doxygen/nel/interpret__object__message_8cpp-source.html b/docs/doxygen/nel/interpret__object__message_8cpp-source.html new file mode 100644 index 00000000..2ced7de6 --- /dev/null +++ b/docs/doxygen/nel/interpret__object__message_8cpp-source.html @@ -0,0 +1,501 @@ +<!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>interpret_object_message.cpp</h1><a href="interpret__object__message_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00006 <font class="comment">/* Copyright, 2000 Nevrax Ltd.</font> +00007 <font class="comment"> *</font> +00008 <font class="comment"> * This file is part of NEVRAX NEL.</font> +00009 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font> +00010 <font class="comment"> * it under the terms of the GNU General Public License as published by</font> +00011 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font> +00012 <font class="comment"> * any later version.</font> +00013 <font class="comment"></font> +00014 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font> +00015 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font> +00016 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font> +00017 <font class="comment"> * General Public License for more details.</font> +00018 <font class="comment"></font> +00019 <font class="comment"> * You should have received a copy of the GNU General Public License</font> +00020 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font> +00021 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font> +00022 <font class="comment"> * MA 02111-1307, USA.</font> +00023 <font class="comment"> */</font> +00024 <font class="preprocessor">#include "<a class="code" href="registry__class_8h.html">nel/ai/c/registry_class.h</a>"</font> +00025 <font class="preprocessor">#include "<a class="code" href="message__script_8h.html">nel/ai/agent/message_script.h</a>"</font> +00026 <font class="preprocessor">#include "<a class="code" href="lexsupport_8h.html">nel/ai/script/lexsupport.h</a>"</font> +00027 +00028 <font class="preprocessor">#include "<a class="code" href="interpret__object__message_8h.html">nel/ai/script/interpret_object_message.h</a>"</font> +00029 <font class="preprocessor">#include "<a class="code" href="msg__notify_8h.html">nel/ai/agent/msg_notify.h</a>"</font> +00030 <font class="preprocessor">#include "<a class="code" href="msg__goal_8h.html">nel/ai/agent/msg_goal.h</a>"</font> +00031 <font class="preprocessor">#include "<a class="code" href="msg__fact_8h.html">nel/ai/agent/msg_fact.h</a>"</font> +00032 <font class="preprocessor">#include "<a class="code" href="msg__debug_8h.html">nel/ai/agent/msg_debug.h</a>"</font> +00033 <font class="preprocessor">#include "<a class="code" href="msg__on__change_8h.html">nel/ai/agent/msg_on_change.h</a>"</font> +00034 <font class="preprocessor">#include "<a class="code" href="registry__type_8h.html">nel/ai/c/registry_type.h</a>"</font> +00035 +00036 <font class="keyword">namespace </font>NLAISCRIPT +00037 { +00038 <font class="comment">//###############################</font> +00039 <font class="comment">//CMessageClass</font> +00040 <font class="comment">//###############################</font> +<a name="l00041"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">00041</a> CMessageClass::CMessageClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &n) : CAgentClass(n) +00042 { +00043 <font class="keywordflow">if</font> ( <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a> != NULL ) +00044 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a>-><a class="code" href="classNLAIC_1_1CIdentType.html#a17">addObjectType</a>( <a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s9">NLAIC::CTypeOfObject::tMessage</a> ); +00045 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a3">setBaseMethodCount</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))-><a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a2">getBaseMethodCount</a>()); +00046 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))); +00047 } +00048 +<a name="l00049"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a1">00049</a> CMessageClass::CMessageClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>): CAgentClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00050 { +00051 <font class="keywordflow">if</font> ( <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a> != NULL ) +00052 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a>-><a class="code" href="classNLAIC_1_1CIdentType.html#a17">addObjectType</a>( <a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s9">NLAIC::CTypeOfObject::tMessage</a> ); +00053 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a3">setBaseMethodCount</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))-><a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a2">getBaseMethodCount</a>()); +00054 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))); +00055 } +00056 +<a name="l00057"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a2">00057</a> CMessageClass::CMessageClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &n, <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &inheritance) : CAgentClass( inheritance ) +00058 { +00059 <font class="keywordflow">if</font> ( <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a> != NULL ) +00060 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a>-><a class="code" href="classNLAIC_1_1CIdentType.html#a17">addObjectType</a>( <a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s9">NLAIC::CTypeOfObject::tMessage</a> ); +00061 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a3">setBaseMethodCount</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))-><a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a2">getBaseMethodCount</a>()); +00062 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))); +00063 } +00064 +<a name="l00065"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a3">00065</a> CMessageClass::CMessageClass(<font class="keyword">const</font> CMessageClass &c) : CAgentClass( c ) +00066 { +00067 <font class="keywordflow">if</font> ( <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a> != NULL ) +00068 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a>-><a class="code" href="classNLAIC_1_1CIdentType.html#a17">addObjectType</a>( <a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s9">NLAIC::CTypeOfObject::tMessage</a> ); +00069 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a3">setBaseMethodCount</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))-><a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a2">getBaseMethodCount</a>()); +00070 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))); +00071 } +00072 +<a name="l00073"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a4">00073</a> CMessageClass::CMessageClass() +00074 { +00075 <font class="keywordflow">if</font> ( <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a> != NULL ) +00076 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a>-><a class="code" href="classNLAIC_1_1CIdentType.html#a17">addObjectType</a>( <a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s9">NLAIC::CTypeOfObject::tMessage</a> ); +00077 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a3">setBaseMethodCount</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))-><a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a2">getBaseMethodCount</a>()); +00078 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>(((<a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *)(<a class="code" href="classNLAIAGENT_1_1CMessageScript.html#p0">NLAIAGENT::CMessageScript::IdMessageScript</a>.getFactory()->getClass()))); +00079 } +00080 +00081 +<a name="l00082"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#z236_0">00082</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CMessageClass::clone()<font class="keyword"> const</font> +00083 <font class="keyword"> </font>{ +00084 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#z236_0">clone</a> = <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a4">CMessageClass</a>(*<font class="keyword">this</font>); +00085 <font class="keywordflow">return</font> clone; +00086 } +00087 +<a name="l00088"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#z236_1">00088</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CMessageClass::newInstance()<font class="keyword"> const</font> +00089 <font class="keyword"> </font>{ +00090 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a4">CMessageClass</a>(); +00091 <font class="keywordflow">return</font> instance; +00092 } +00093 +<a name="l00094"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#z236_2">00094</a> <font class="keywordtype">void</font> CMessageClass::getDebugString(std::string &<a class="code" href="driver__opengl__extension__def_8h.html#a384">t</a>)<font class="keyword"> const</font> +00095 <font class="keyword"> </font>{ +00096 } +00097 +<a name="l00098"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#z236_3">00098</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *CMessageClass::buildNewInstance()<font class="keyword"> const</font> +00099 <font class="keyword"> </font>{ +00100 <font class="comment">// Création des composants statiques</font> +00101 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00102 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00103 +00104 <font class="comment">// Création du message</font> +00105 <a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a> *instance = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CMessageScript.html">NLAIAGENT::CMessageScript</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00106 <font class="keywordflow">return</font> instance; +00107 } +00108 +<a name="l00109"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a6">00109</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &CMessageClass::getType()<font class="keyword"> const</font> +00110 <font class="keyword"> </font>{ +00111 <font class="comment">/*if ( _IdType != NULL )</font> +00112 <font class="comment"> _IdType->addObjectType( NLAIC::CTypeOfObject::tMessage );*/</font> +00113 +00114 <font class="keywordflow">return</font> *<a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#n0">_IdType</a>; +00115 } +00116 +<a name="l00117"></a><a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a7">00117</a> CMessageClass::~CMessageClass() +00118 { +00119 } +00120 +00121 <font class="comment">//#########################################</font> +00122 <font class="comment">// CMsgNotifyParentClass</font> +00123 <font class="comment">//#########################################</font> +<a name="l00124"></a><a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#a0">00124</a> CMsgNotifyParentClass::CMsgNotifyParentClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>) +00125 { +00126 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CNotifyParentScript.html#p0">NLAIAGENT::CNotifyParentScript::IdNotifyParentScript</a>.getFactory()->getClass()); +00127 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Float"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"ParentState"</font>)); +00128 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GenericAgent"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Parent"</font>)); +00129 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00130 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CMsgNotifyParentClass"</font>)); +00131 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00132 } +00133 +<a name="l00134"></a><a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#a1">00134</a> CMsgNotifyParentClass::CMsgNotifyParentClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00135 { +00136 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CNotifyParentScript.html#p0">NLAIAGENT::CNotifyParentScript::IdNotifyParentScript</a>.getFactory()->getClass()); +00137 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Float"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"ParentState"</font>)); +00138 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GenericAgent"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Parent"</font>)); +00139 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00140 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CMsgNotifyParentClass"</font>)); +00141 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00142 } +00143 +<a name="l00144"></a><a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#a2">00144</a> CMsgNotifyParentClass::CMsgNotifyParentClass() +00145 { +00146 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CNotifyParentScript.html#p0">NLAIAGENT::CNotifyParentScript::IdNotifyParentScript</a>.getFactory()->getClass()); +00147 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Float"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"ParentState"</font>)); +00148 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GenericAgent"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Parent"</font>)); +00149 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00150 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CMsgNotifyParentClass"</font>)); +00151 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00152 } +00153 +<a name="l00154"></a><a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#z237_0">00154</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CMsgNotifyParentClass::clone()<font class="keyword"> const</font> +00155 <font class="keyword"> </font>{ +00156 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#a2">CMsgNotifyParentClass</a>(); +00157 } +<a name="l00158"></a><a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#z237_1">00158</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CMsgNotifyParentClass::newInstance()<font class="keyword"> const</font> +00159 <font class="keyword"> </font>{ +00160 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#a2">CMsgNotifyParentClass</a>(); +00161 } +00162 +<a name="l00163"></a><a class="code" href="classNLAISCRIPT_1_1CMsgNotifyParentClass.html#z237_3">00163</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *CMsgNotifyParentClass::buildNewInstance()<font class="keyword"> const</font> +00164 <font class="keyword"> </font>{ +00165 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CNotifyParentScript.html">NLAIAGENT::CNotifyParentScript</a>( (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00166 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00167 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00168 +00169 <font class="comment">// Création du message</font> +00170 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CNotifyParentScript.html">NLAIAGENT::CNotifyParentScript</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00171 } +00172 +00173 +00174 +00175 <font class="comment">//#########################################</font> +00176 <font class="comment">// CGoalMsgClass</font> +00177 <font class="comment">//######################################### </font> +<a name="l00178"></a><a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#a0">00178</a> CGoalMsgClass::CGoalMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>) +00179 { +00180 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00181 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GoalObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Goal"</font>)); +00182 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00183 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CGoalMsgClass"</font>)); +00184 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00185 } +<a name="l00186"></a><a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#a1">00186</a> CGoalMsgClass::CGoalMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00187 { +00188 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00189 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GoalObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Goal"</font>)); +00190 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00191 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CGoalMsgClass"</font>)); +00192 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00193 } +00194 +<a name="l00195"></a><a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#a2">00195</a> CGoalMsgClass::CGoalMsgClass() +00196 { +00197 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00198 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GoalObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Goal"</font>)); +00199 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00200 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CGoalMsgClass"</font>)); +00201 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00202 } +00203 +<a name="l00204"></a><a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#z238_0">00204</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CGoalMsgClass::clone()<font class="keyword"> const</font> +00205 <font class="keyword"> </font>{ +00206 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#a2">CGoalMsgClass</a>(); +00207 } +00208 +<a name="l00209"></a><a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#z238_1">00209</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CGoalMsgClass::newInstance()<font class="keyword"> const</font> +00210 <font class="keyword"> </font>{ +00211 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#a2">CGoalMsgClass</a>(); +00212 } +00213 +<a name="l00214"></a><a class="code" href="classNLAISCRIPT_1_1CGoalMsgClass.html#z238_3">00214</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *CGoalMsgClass::buildNewInstance()<font class="keyword"> const</font> +00215 <font class="keyword"> </font>{ +00216 <font class="comment">// return new NLAIAGENT::CGoalMsg( (CMessageClass *) this );</font> +00217 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00218 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00219 +00220 <font class="comment">// Création du message</font> +00221 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CGoalMsg.html">NLAIAGENT::CGoalMsg</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00222 <font class="keywordflow">return</font> x; +00223 } +00224 +00225 +00226 <font class="comment">//#########################################</font> +00227 <font class="comment">// CCancelGoalMsgClass</font> +00228 <font class="comment">//#########################################</font> +00229 +<a name="l00230"></a><a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#a0">00230</a> CCancelGoalMsgClass::CCancelGoalMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>) +00231 { +00232 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CCancelGoalMsg.html#p0">NLAIAGENT::CCancelGoalMsg::IdCancelGoalMsg</a>.getFactory()->getClass()); +00233 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GoalObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Goal"</font>)); +00234 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00235 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CCancelGoalMsgClass"</font>)); +00236 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00237 } +00238 +<a name="l00239"></a><a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#a1">00239</a> CCancelGoalMsgClass::CCancelGoalMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00240 { +00241 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CCancelGoalMsg.html#p0">NLAIAGENT::CCancelGoalMsg::IdCancelGoalMsg</a>.getFactory()->getClass()); +00242 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GoalObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Goal"</font>)); +00243 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00244 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CCancelGoalMsgClass"</font>)); +00245 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00246 } +00247 +<a name="l00248"></a><a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#a2">00248</a> CCancelGoalMsgClass::CCancelGoalMsgClass() +00249 { +00250 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CCancelGoalMsg.html#p0">NLAIAGENT::CCancelGoalMsg::IdCancelGoalMsg</a>.getFactory()->getClass()); +00251 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GoalObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Goal"</font>)); +00252 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00253 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CCancelGoalMsgClass"</font>)); +00254 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00255 } +00256 +<a name="l00257"></a><a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#z239_0">00257</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CCancelGoalMsgClass::clone()<font class="keyword"> const</font> +00258 <font class="keyword"> </font>{ +00259 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#a2">CCancelGoalMsgClass</a>(); +00260 } +00261 +<a name="l00262"></a><a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#z239_1">00262</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CCancelGoalMsgClass::newInstance()<font class="keyword"> const</font> +00263 <font class="keyword"> </font>{ +00264 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#a2">CCancelGoalMsgClass</a>(); +00265 } +00266 +<a name="l00267"></a><a class="code" href="classNLAISCRIPT_1_1CCancelGoalMsgClass.html#z239_3">00267</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *CCancelGoalMsgClass::buildNewInstance()<font class="keyword"> const</font> +00268 <font class="keyword"> </font>{ +00269 <font class="comment">// return new NLAIAGENT::CGoalMsg( (CMessageClass *) this );</font> +00270 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00271 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00272 +00273 <font class="comment">// Création du message</font> +00274 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CCancelGoalMsg.html">NLAIAGENT::CCancelGoalMsg</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00275 <font class="keywordflow">return</font> x; +00276 } +00277 +00278 <font class="comment">//#########################################</font> +00279 <font class="comment">// CFactMsgClass</font> +00280 <font class="comment">//#########################################</font> +00281 +<a name="l00282"></a><a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#a0">00282</a> CFactMsgClass::CFactMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>) +00283 { +00284 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CFactMsg.html#p0">NLAIAGENT::CFactMsg::IdFactMsg</a>.getFactory()->getClass()); +00285 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"FactObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Fact"</font>)); +00286 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00287 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CFactMsgClass"</font>)); +00288 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00289 } +00290 +<a name="l00291"></a><a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#a1">00291</a> CFactMsgClass::CFactMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00292 { +00293 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CFactMsg.html#p0">NLAIAGENT::CFactMsg::IdFactMsg</a>.getFactory()->getClass()); +00294 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"FactObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Fact"</font>)); +00295 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00296 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CFactMsgClass"</font>)); +00297 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00298 } +00299 +<a name="l00300"></a><a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#a2">00300</a> CFactMsgClass::CFactMsgClass() : CMessageClass() +00301 { +00302 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00303 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"FactObject"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Fact"</font>)); +00304 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00305 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CFactMsgClass"</font>)); +00306 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00307 } +00308 +<a name="l00309"></a><a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#z240_0">00309</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CFactMsgClass::clone()<font class="keyword"> const</font> +00310 <font class="keyword"> </font>{ +00311 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#a2">CFactMsgClass</a>(); +00312 } +00313 +<a name="l00314"></a><a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#z240_1">00314</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CFactMsgClass::newInstance()<font class="keyword"> const</font> +00315 <font class="keyword"> </font>{ +00316 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#a2">CFactMsgClass</a>(); +00317 } +00318 +<a name="l00319"></a><a class="code" href="classNLAISCRIPT_1_1CFactMsgClass.html#z240_3">00319</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *CFactMsgClass::buildNewInstance()<font class="keyword"> const</font> +00320 <font class="keyword"> </font>{ +00321 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00322 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00323 +00324 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CFactMsg.html">NLAIAGENT::CFactMsg</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00325 <font class="keywordflow">return</font> x; +00326 } +00327 +00328 +00329 <font class="comment">//#########################################</font> +00330 <font class="comment">// CDebugMsgClass</font> +00331 <font class="comment">//#########################################</font> +00332 +<a name="l00333"></a><a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#a0">00333</a> CDebugMsgClass::CDebugMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>) +00334 { +00335 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00336 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Float"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"ParentState"</font>)); +00337 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GenericAgent"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Parent"</font>)); +00338 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00339 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CDebugMsgClass"</font>)); +00340 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00341 } +<a name="l00342"></a><a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#a1">00342</a> CDebugMsgClass::CDebugMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00343 { +00344 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00345 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Float"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"ParentState"</font>)); +00346 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GenericAgent"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Parent"</font>)); +00347 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00348 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CDebugMsgClass"</font>)); +00349 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00350 } +00351 +<a name="l00352"></a><a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#a2">00352</a> CDebugMsgClass::CDebugMsgClass() : CMessageClass() +00353 { +00354 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1CGoalMsg.html#p0">NLAIAGENT::CGoalMsg::IdGoalMsg</a>.getFactory()->getClass()); +00355 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Float"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"ParentState"</font>)); +00356 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a15">registerComponent</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"GenericAgent"</font>),<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Parent"</font>)); +00357 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00358 <a class="code" href="classNLAISCRIPT_1_1IClassInterpret.html#a18">setClassName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"CDebugMsgClass"</font>)); +00359 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z233_0">buildVTable</a>(); +00360 } +00361 +<a name="l00362"></a><a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#z241_0">00362</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CDebugMsgClass::clone()<font class="keyword"> const</font> +00363 <font class="keyword"> </font>{ +00364 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#a2">CDebugMsgClass</a>(); +00365 } +00366 +<a name="l00367"></a><a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#z241_1">00367</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CDebugMsgClass::newInstance()<font class="keyword"> const</font> +00368 <font class="keyword"> </font>{ +00369 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#a2">CDebugMsgClass</a>(); +00370 } +00371 +<a name="l00372"></a><a class="code" href="classNLAISCRIPT_1_1CDebugMsgClass.html#z241_3">00372</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *CDebugMsgClass::buildNewInstance()<font class="keyword"> const</font> +00373 <font class="keyword"> </font>{ +00374 <font class="comment">// return new NLAIAGENT::CGoalMsg( (CMessageClass *) this );</font> +00375 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00376 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00377 +00378 <font class="comment">// Création du message</font> +00379 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1CMsgDebug.html">NLAIAGENT::CMsgDebug</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00380 <font class="keywordflow">return</font> x; +00381 } +00382 +00383 <font class="comment">//#########################################</font> +00384 <font class="comment">// COnChangeMsgClass</font> +00385 <font class="comment">//#########################################</font> +00386 +<a name="l00387"></a><a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#a0">00387</a> COnChangeMsgClass::COnChangeMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>) +00388 { +00389 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1COnChangeMsg.html#p0">NLAIAGENT::COnChangeMsg::IdOnChangeMsg</a>.getFactory()->getClass()); +00390 <font class="comment">/*registerComponent(NLAIAGENT::CStringVarName("Float"),NLAIAGENT::CStringVarName("ParentState"));</font> +00391 <font class="comment"> registerComponent(NLAIAGENT::CStringVarName("GenericAgent"),NLAIAGENT::CStringVarName("Parent"));*/</font> +00392 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00393 } +00394 +00395 +<a name="l00396"></a><a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#a1">00396</a> COnChangeMsgClass::COnChangeMsgClass(<font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>):CMessageClass(<a class="code" href="driver__opengl__extension__def_8h.html#a356">id</a>) +00397 { +00398 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1COnChangeMsg.html#p0">NLAIAGENT::COnChangeMsg::IdOnChangeMsg</a>.getFactory()->getClass()); +00399 <font class="comment">/*registerComponent(NLAIAGENT::CStringVarName("Float"),NLAIAGENT::CStringVarName("ParentState"));</font> +00400 <font class="comment"> registerComponent(NLAIAGENT::CStringVarName("GenericAgent"),NLAIAGENT::CStringVarName("Parent"));*/</font> +00401 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00402 } +00403 +<a name="l00404"></a><a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#a2">00404</a> COnChangeMsgClass::COnChangeMsgClass() : CMessageClass() +00405 { +00406 <a class="code" href="classNLAISCRIPT_1_1IAgentMultiClass.html#a5">setBaseObjectInstance</a>((<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)<a class="code" href="classNLAIAGENT_1_1COnChangeMsg.html#p0">NLAIAGENT::COnChangeMsg::IdOnChangeMsg</a>.getFactory()->getClass()); +00407 <font class="comment">/*registerComponent(NLAIAGENT::CStringVarName("Float"),NLAIAGENT::CStringVarName("ParentState"));</font> +00408 <font class="comment"> registerComponent(NLAIAGENT::CStringVarName("GenericAgent"),NLAIAGENT::CStringVarName("Parent"));*/</font> +00409 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#z234_2">setInheritanceName</a>(<a class="code" href="classNLAIAGENT_1_1CStringVarName.html">NLAIAGENT::CStringVarName</a>(<font class="stringliteral">"Message"</font>)); +00410 } +00411 +<a name="l00412"></a><a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#z242_0">00412</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *COnChangeMsgClass::clone()<font class="keyword"> const</font> +00413 <font class="keyword"> </font>{ +00414 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#a2">COnChangeMsgClass</a>(); +00415 } +00416 +<a name="l00417"></a><a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#z242_1">00417</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *COnChangeMsgClass::newInstance()<font class="keyword"> const</font> +00418 <font class="keyword"> </font>{ +00419 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#a2">COnChangeMsgClass</a>(); +00420 } +00421 +<a name="l00422"></a><a class="code" href="classNLAISCRIPT_1_1COnChangeMsgClass.html#z242_3">00422</a> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *COnChangeMsgClass::buildNewInstance()<font class="keyword"> const</font> +00423 <font class="keyword"> </font>{ +00424 <a class="code" href="classstd_1_1list.html">std::list<NLAIAGENT::IObjectIA *></a> <a class="code" href="driver__opengl__extension__def_8h.html#a413">components</a>; +00425 <a class="code" href="classNLAISCRIPT_1_1CAgentClass.html#a25">createBaseClassComponents</a>( components ); +00426 +00427 <font class="comment">// Création du message</font> +00428 <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAIAGENT_1_1COnChangeMsg.html">NLAIAGENT::COnChangeMsg</a>( components, (<a class="code" href="classNLAISCRIPT_1_1CMessageClass.html#a0">CMessageClass</a> *) <font class="keyword">this</font> ); +00429 <font class="keywordflow">return</font> x; +00430 } +00431 } +</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> |