aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03974.html
blob: 670da502cca25aba08ef9922887455d165d29983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!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: agent_init.cpp File Reference</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>agent_init.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="a03974.html">agent_init.cpp</a>,v 1.15 2003/01/23 15:41:08 chafik Exp </dd></dl>

<p>
Definition in file <a class="el" href="a05397.html">agent_init.cpp</a>.
<p>
<code>#include "<a class="el" href="a05590.html">nel/ai/script/compilateur.h</a>"</code><br>
<code>#include "<a class="el" href="a05393.html">nel/ai/agent/agent.h</a>"</code><br>
<code>#include "<a class="el" href="a05413.html">nel/ai/agent/agent_script.h</a>"</code><br>
<code>#include "<a class="el" href="a06031.html">nel/ai/agent/message_script.h</a>"</code><br>
<code>#include "<a class="el" href="a06134.html">nel/ai/logic/operator_script.h</a>"</code><br>
<code>#include "<a class="el" href="a05856.html">nel/ai/logic/interpret_object_operator.h</a>"</code><br>
<code>#include "<a class="el" href="a05851.html">nel/ai/script/interpret_object_manager.h</a>"</code><br>
<code>#include "<a class="el" href="a05853.html">nel/ai/script/interpret_object_message.h</a>"</code><br>
<code>#include "<a class="el" href="a05837.html">nel/ai/script/interpret_message_action.h</a>"</code><br>
<code>#include "<a class="el" href="a05967.html">nel/ai/agent/main_agent_script.h</a>"</code><br>
<code>#include "<a class="el" href="a05396.html">nel/ai/agent/agent_digital.h</a>"</code><br>
<code>#include "<a class="el" href="a06077.html">nel/ai/agent/msg_group.h</a>"</code><br>
<code>#include "<a class="el" href="a05401.html">nel/ai/agent/agent_local_mailer.h</a>"</code><br>
<code>#include "<a class="el" href="a05411.html">nel/ai/agent/agent_proxy_mailer.h</a>"</code><br>
<code>#include "<a class="el" href="a05945.html">nel/ai/logic/logic.h</a>"</code><br>
<code>#include "<a class="el" href="a05738.html">nel/ai/fuzzy/fuzzy.h</a>"</code><br>
<code>#include "<a class="el" href="a05740.html">nel/ai/fuzzy/fuzzy_script.h</a>"</code><br>
<code>#include "<a class="el" href="a05388.html">nel/ai/agent/actor.h</a>"</code><br>
<code>#include "<a class="el" href="a05390.html">nel/ai/agent/actor_script.h</a>"</code><br>
<code>#include "<a class="el" href="a05831.html">nel/ai/script/interpret_actor.h</a>"</code><br>
<code>#include "<a class="el" href="a06169.html">nel/ai/agent/performative.h</a>"</code><br>
<code>#include "<a class="el" href="a06111.html">nel/ai/agent/object_ident.h</a>"</code><br>
<code>#include "<a class="el" href="a06326.html">nel/ai/c/registry_class.h</a>"</code><br>
<code>#include "<a class="el" href="a06079.html">nel/ai/agent/msg_notify.h</a>"</code><br>
<code>#include "<a class="el" href="a06075.html">nel/ai/agent/msg_goal.h</a>"</code><br>
<code>#include "<a class="el" href="a06071.html">nel/ai/agent/msg_fact.h</a>"</code><br>
<code>#include "<a class="el" href="a06068.html">nel/ai/agent/msg_action.h</a>"</code><br>
<code>#include "<a class="el" href="a06081.html">nel/ai/agent/msg_on_change.h</a>"</code><br>
<code>#include "<a class="el" href="a05546.html">nel/ai/character/character.h</a>"</code><br>

<p>
<a href="a05397.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>namespace &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a05367.html">NLAIE</a></td></tr>

<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03974.html#a1">registerLibClass</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03974.html#a0">staticInitAgent</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03974.html#a2">staticReleaseLibClass</a> ()</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a1" doxytag="agent_init.cpp::registerLibClass" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void registerLibClass </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05397.html#l00079">79</a> of file <a class="el" href="a05397.html">agent_init.cpp</a>.
<p>
Referenced by <a class="el" href="a05421.html#l00024">NLAILINK::initIALib()</a>.
<p>
<div class="fragment"><pre>00080 {       
00081 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="a0" doxytag="agent_init.cpp::staticInitAgent" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void staticInitAgent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05397.html#l00061">61</a> of file <a class="el" href="a05397.html">agent_init.cpp</a>.
<p>
References <a class="el" href="a05009.html#a1">staticAgent</a>.
<p>
Referenced by <a class="el" href="a05421.html#l00024">NLAILINK::initIALib()</a>.
<p>
<div class="fragment"><pre>00062 {
00063         CObjectIdent::IdObjectIdent = <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(<span class="stringliteral">"ObjectIdent"</span>,<a class="code" href="a03361.html">NLAIC::CSelfClassFactory</a>(<a class="code" href="a02997.html">CObjectIdent</a>(<span class="stringliteral">"0:0:0"</span>)),
00064                                                                                                                 <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a>(NLAIC::CTypeOfObject::tObject),
00065                                                                                                                 <a class="code" href="a03626.html">NLAIC::CTypeOfOperator</a>(NLAIC::CTypeOfOperator::opNone));
00066 
00067         <span class="keyword">const</span> <a class="code" href="a02163.html">IAgent</a> <a class="code" href="a05009.html#a1">staticAgent</a>(NULL);
00068         CLocWordNumRef::IdLocWordNumRef = <span class="keyword">new</span> NLAIC::CIdentType(<span class="stringliteral">"LocWordNumRef"</span>,<a class="code" href="a03361.html">NLAIC::CSelfClassFactory</a>((<span class="keyword">const</span> <a class="code" href="a02154.html">NLAIC::IBasicInterface</a> &amp;)staticAgent),
00069                                                                                                                                                         <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a>(NLAIC::CTypeOfObject::tObject),
00070                                                                                                                                                         <a class="code" href="a03626.html">NLAIC::CTypeOfOperator</a>(NLAIC::CTypeOfOperator::opNone));
00071 
00072         IAgent::IdAgent = <span class="keyword">new</span> NLAIC::CIdentType(<span class="stringliteral">"GenericAgent"</span>, <a class="code" href="a03361.html">NLAIC::CSelfClassFactory</a>((<span class="keyword">const</span> NLAIC::IBasicInterface &amp;)staticAgent), 
00073                                                                                                                         <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a>(NLAIC::CTypeOfObject::tAgent),
00074                                                                                                                         <a class="code" href="a03626.html">NLAIC::CTypeOfOperator</a>(NLAIC::CTypeOfOperator::opNone));
00075         
00076         
00077 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="agent_init.cpp::staticReleaseLibClass" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void staticReleaseLibClass </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="a05397.html#l00083">83</a> of file <a class="el" href="a05397.html">agent_init.cpp</a>.
<p>
Referenced by <a class="el" href="a05421.html#l00047">NLAILINK::releaseIALib()</a>.
<p>
<div class="fragment"><pre>00084 {       
00085         <span class="keyword">delete</span> IAgent::IdAgent;
00086         <span class="keyword">delete</span> CObjectIdent::IdObjectIdent;
00087         <span class="keyword">delete</span> CLocWordNumRef::IdLocWordNumRef; 
00088 }
</pre></div>    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:42:16 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>