aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a05836.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a05836.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a05836.html')
-rw-r--r--docs/doxygen/nel/a05836.html142
1 files changed, 142 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a05836.html b/docs/doxygen/nel/a05836.html
new file mode 100644
index 00000000..e0290a7e
--- /dev/null
+++ b/docs/doxygen/nel/a05836.html
@@ -0,0 +1,142 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: interpret_message_action.cpp Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>interpret_message_action.cpp</h1><a href="a04413.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00006 <span class="comment">/* Copyright, 2000 Nevrax Ltd.</span>
+00007 <span class="comment"> *</span>
+00008 <span class="comment"> * This file is part of NEVRAX NEL.</span>
+00009 <span class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</span>
+00010 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
+00011 <span class="comment"> * the Free Software Foundation; either version 2, or (at your option)</span>
+00012 <span class="comment"> * any later version.</span>
+00013 <span class="comment"></span>
+00014 <span class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</span>
+00015 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
+00016 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
+00017 <span class="comment"> * General Public License for more details.</span>
+00018 <span class="comment"></span>
+00019 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
+00020 <span class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</span>
+00021 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</span>
+00022 <span class="comment"> * MA 02111-1307, USA.</span>
+00023 <span class="comment"> */</span>
+00024 <span class="preprocessor">#include "<a class="code" href="a04903.html">nel/ai/c/registry_class.h</a>"</span>
+00025 <span class="preprocessor">#include "<a class="code" href="a04608.html">nel/ai/agent/message_script.h</a>"</span>
+00026 <span class="preprocessor">#include "<a class="code" href="a04465.html">nel/ai/script/lexsupport.h</a>"</span>
+00027 <span class="preprocessor">#include "<a class="code" href="a04414.html">nel/ai/script/interpret_message_action.h</a>"</span>
+00028 <span class="preprocessor">#include "<a class="code" href="a04645.html">nel/ai/agent/msg_action.h</a>"</span>
+00029
+00030 <span class="keyword">namespace </span>NLAISCRIPT
+00031 {
+00032
+00033 <span class="comment">//#########################################</span>
+00034 <span class="comment">// CSuccessMsgClass</span>
+00035 <span class="comment">//#########################################</span>
+00036
+<a name="l00037"></a><a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassa6">00037</a> CSuccessMsgClass::CSuccessMsgClass(<span class="keyword">const</span> <a class="code" href="a02661.html">NLAIAGENT::IVarName</a> &amp;<a class="code" href="a04223.html#a626">s</a>):<a class="code" href="a02329.html">CMessageClass</a>(<a class="code" href="a04223.html#a626">s</a>)
+00038 {
+00039 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CSuccessMsg::IdSuccessMsg.getFactory()-&gt;getClass());
+00040 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Float"</span>),<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Param"</span>));
+00041 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>));
+00042 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CSuccessMsgClass"</span>));
+00043 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>();
+00044 }
+00045
+<a name="l00046"></a><a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassa5">00046</a> CSuccessMsgClass::CSuccessMsgClass(<span class="keyword">const</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> &amp;<span class="keywordtype">id</span>):<a class="code" href="a02329.html">CMessageClass</a>(<a class="code" href="a04223.html#a564">id</a>)
+00047 {
+00048 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CSuccessMsg::IdSuccessMsg.getFactory()-&gt;getClass());
+00049 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Float"</span>),<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Param"</span>));
+00050 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>));
+00051 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CSuccessMsgClass"</span>));
+00052 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>();
+00053 }
+00054
+<a name="l00055"></a><a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassa4">00055</a> CSuccessMsgClass::CSuccessMsgClass() : <a class="code" href="a02329.html">CMessageClass</a>()
+00056 {
+00057 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CSuccessMsg::IdSuccessMsg.getFactory()-&gt;getClass());
+00058 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Float"</span>),<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Param"</span>));
+00059 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>));
+00060 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CSuccessMsgClass"</span>));
+00061 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>();
+00062 }
+00063
+<a name="l00064"></a><a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassz1822_1">00064</a> <span class="keyword">const</span> <a class="code" href="a02151.html">NLAIC::IBasicType</a> *CSuccessMsgClass::clone()<span class="keyword"> const</span>
+00065 <span class="keyword"> </span>{
+00066 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassa4">CSuccessMsgClass</a>();
+00067 }
+00068
+<a name="l00069"></a><a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassz1822_3">00069</a> <span class="keyword">const</span> <a class="code" href="a02151.html">NLAIC::IBasicType</a> *CSuccessMsgClass::newInstance()<span class="keyword"> const</span>
+00070 <span class="keyword"> </span>{
+00071 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassa4">CSuccessMsgClass</a>();
+00072 }
+00073
+<a name="l00074"></a><a class="code" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassz1822_0">00074</a> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *CSuccessMsgClass::buildNewInstance()<span class="keyword"> const</span>
+00075 <span class="keyword"> </span>{
+00076 std::list&lt;NLAIAGENT::IObjectIA *&gt; <a class="code" href="a04223.html#a656">components</a>;
+00077 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa2">createBaseClassComponents</a>( <a class="code" href="a04223.html#a656">components</a> );
+00078
+00079 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="a04223.html#a572">x</a> = <span class="keyword">new</span> <a class="code" href="a03458.html">NLAIAGENT::CSuccessMsg</a>( <a class="code" href="a04223.html#a656">components</a>, (<a class="code" href="a02329.html">CMessageClass</a> *) <span class="keyword">this</span> );
+00080 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>;
+00081 }
+00082
+00083 <span class="comment">//#########################################</span>
+00084 <span class="comment">// CFailureMsgClass</span>
+00085 <span class="comment">//#########################################</span>
+00086
+<a name="l00087"></a><a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassa3">00087</a> CFailureMsgClass::CFailureMsgClass(<span class="keyword">const</span> <a class="code" href="a02661.html">NLAIAGENT::IVarName</a> &amp;<a class="code" href="a04223.html#a626">s</a>):<a class="code" href="a02329.html">CMessageClass</a>(<a class="code" href="a04223.html#a626">s</a>)
+00088 {
+00089 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CFailureMsg::IdFailureMsg.getFactory()-&gt;getClass());
+00090 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Float"</span>),<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Param"</span>));
+00091 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>));
+00092 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CFailureMsgClass"</span>));
+00093 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>();
+00094 }
+00095
+<a name="l00096"></a><a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassa2">00096</a> CFailureMsgClass::CFailureMsgClass(<span class="keyword">const</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> &amp;<span class="keywordtype">id</span>):<a class="code" href="a02329.html">CMessageClass</a>(<a class="code" href="a04223.html#a564">id</a>)
+00097 {
+00098 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CFailureMsg::IdFailureMsg.getFactory()-&gt;getClass());
+00099 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Float"</span>),<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Param"</span>));
+00100 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>));
+00101 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CFailureMsgClass"</span>));
+00102 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>();
+00103 }
+00104
+<a name="l00105"></a><a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassa1">00105</a> CFailureMsgClass::CFailureMsgClass() : <a class="code" href="a02329.html">CMessageClass</a>()
+00106 {
+00107 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CFailureMsg::IdFailureMsg.getFactory()-&gt;getClass());
+00108 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Float"</span>),<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Param"</span>));
+00109 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>));
+00110 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CFailureMsgClass"</span>));
+00111 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>();
+00112 }
+00113
+<a name="l00114"></a><a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassz1824_1">00114</a> <span class="keyword">const</span> <a class="code" href="a02151.html">NLAIC::IBasicType</a> *CFailureMsgClass::clone()<span class="keyword"> const</span>
+00115 <span class="keyword"> </span>{
+00116 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassa1">CFailureMsgClass</a>();
+00117 }
+00118
+<a name="l00119"></a><a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassz1824_3">00119</a> <span class="keyword">const</span> <a class="code" href="a02151.html">NLAIC::IBasicType</a> *CFailureMsgClass::newInstance()<span class="keyword"> const</span>
+00120 <span class="keyword"> </span>{
+00121 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassa1">CFailureMsgClass</a>();
+00122 }
+00123
+<a name="l00124"></a><a class="code" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassz1824_0">00124</a> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *CFailureMsgClass::buildNewInstance()<span class="keyword"> const</span>
+00125 <span class="keyword"> </span>{
+00126 std::list&lt;NLAIAGENT::IObjectIA *&gt; <a class="code" href="a04223.html#a656">components</a>;
+00127 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa2">createBaseClassComponents</a>( <a class="code" href="a04223.html#a656">components</a> );
+00128
+00129 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="a04223.html#a572">x</a> = <span class="keyword">new</span> <a class="code" href="a02507.html">NLAIAGENT::CFailureMsg</a>( <a class="code" href="a04223.html#a656">components</a>, (<a class="code" href="a02329.html">CMessageClass</a> *) <span class="keyword">this</span> );
+00130 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>;
+00131 }
+00132 }
+</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:26:52 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>