diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02184.html | 10110 |
1 files changed, 10110 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02184.html b/docs/doxygen/nel/a02184.html new file mode 100644 index 00000000..10b1a5ce --- /dev/null +++ b/docs/doxygen/nel/a02184.html @@ -0,0 +1,10110 @@ +<!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: NLAIAGENT::CAgentWatchTimer class 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 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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLAIAGENT::CAgentWatchTimer Class Reference</h1><code>#include <<a class="el" href="a05417.html">agent_timer.h</a>></code> +<p> +<p>Inheritance diagram for NLAIAGENT::CAgentWatchTimer: +<p><center><img src="a02184.png" usemap="#NLAIAGENT::CAgentWatchTimer_map" border="0" alt=""></center> +<map name="NLAIAGENT::CAgentWatchTimer_map"> +<area href="a02171.html" alt="NLAIAGENT::CAgentScript" shape="rect" coords="0,728,196,752"> +<area href="a03834.html" alt="NLAIAGENT::IAgentManager" shape="rect" coords="0,672,196,696"> +<area href="a02163.html" alt="NLAIAGENT::IAgent" shape="rect" coords="0,616,196,640"> +<area href="a02161.html" alt="NLAIAGENT::IAgentComposite" shape="rect" coords="0,560,196,584"> +<area href="a02162.html" alt="NLAIAGENT::IBasicAgent" shape="rect" coords="0,504,196,528"> +<area href="a02164.html" alt="NLAIAGENT::IConnectIA" shape="rect" coords="0,448,196,472"> +<area href="a02165.html" alt="NLAIAGENT::IRefrence" shape="rect" coords="0,392,196,416"> +<area href="a02149.html" alt="NLAIAGENT::IObjectIA" shape="rect" coords="0,336,196,360"> +<area href="a02153.html" alt="NLAIAGENT::IBasicObjectIA" shape="rect" coords="0,280,196,304"> +<area href="a02154.html" alt="NLAIC::IBasicInterface" shape="rect" coords="0,224,196,248"> +<area href="a02151.html" alt="NLAIC::IBasicType" shape="rect" coords="0,168,196,192"> +<area href="a02145.html" alt="NLAIC::IPointerGestion" shape="rect" coords="0,112,196,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,196,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,196,24"> +<area href="a02183.html" alt="NLAIAGENT::CAgentClockTimer" shape="rect" coords="0,840,196,864"> +</map> +<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>[NOHEADER]</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02501.html">NLAILOGIC::CFactBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1673_0">getFactBase</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the fact base of the agent, if not exist it return NULL. <a href="#NLAIAGENT_1_1IMainAgentz1673_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1673_1">removeGoal</a> (<a class="el" href="a02594.html">NLAILOGIC::CGoal</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">remove a goal, it hapend when it neaded by user, when the priorty is down or when the goal is satisfay. <a href="#NLAIAGENT_1_1IMainAgentz1673_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1673_2">runCancelGoalMsg</a> (<a class="el" href="a02327.html">IBaseGroupType</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Cancel a goal, it call by message manager when a cancel goal message is occure. <a href="#NLAIAGENT_1_1IMainAgentz1673_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1673_3">runFactMsg</a> (<a class="el" href="a02327.html">IBaseGroupType</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a fact on the fact base, it occur when a fact message hapend. <a href="#NLAIAGENT_1_1IMainAgentz1673_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1673_4">runGoalMsg</a> (<a class="el" href="a02327.html">IBaseGroupType</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Run all goal message, it call by message manager when a goal message is occure. <a href="#NLAIAGENT_1_1IMainAgentz1673_4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1673_5">setTopLevel</a> (<a class="el" href="a02171.html">NLAIAGENT::CAgentScript</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the top level agent of this one. <a href="#NLAIAGENT_1_1IMainAgentz1673_5"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Base class member method.</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_0">getMethodeMemberDebugString</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a04558.html#a10">sint32</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05364.html#a31">TQueue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_2">getPrivateMember</a> (const <a class="el" href="a02661.html">IVarName</a> *, const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, const <a class="el" href="a02149.html">IObjectIA</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02149.html">IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_3">getStaticMember</a> (<a class="el" href="a04558.html#a10">sint32</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">getStaticMemberIndex</a> (const <a class="el" href="a02661.html">IVarName</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_5">getStaticMemberSize</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_7">isClassInheritedFrom</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05364.html#a31">TQueue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_8">isDeflautProccessMsg</a> (const <a class="el" href="a02661.html">IVarName</a> *, const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, const <a class="el" href="a02149.html">IObjectIA</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_9">isEqual</a> (const <a class="el" href="a02153.html">IBasicObjectIA</a> &a) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Implementation of the isEqual of the <a class="el" href="a02153.html">IBasicObjectIA</a>. <a href="#NLAIAGENT_1_1IMainAgentz1670_9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05364.html#a31">TQueue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_10">isMember</a> (const <a class="el" href="a02661.html">IVarName</a> *, const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, const <a class="el" href="a02149.html">IObjectIA</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_12">processContinuation</a> (<a class="el" href="a02325.html">IMessageBase</a> *, <a class="el" href="a02325.html">IMessageBase</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_13">processMessages</a> (<a class="el" href="a02325.html">IMessageBase</a> *, <a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_14">processMessages</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_15">run</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_17">runChildren</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_18">runChildrenStepByStep</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Activates the child agents. <a href="#NLAIAGENT_1_1IMainAgentz1670_18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_22">runMethodeMember</a> (<a class="el" href="a04558.html#a10">sint32</a> heritance, <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a566">index</a>, <a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const CProcessResult & </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_23">runStep</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_24">sendMessage</a> (const <a class="el" href="a02661.html">IVarName</a> &, <a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_25">sendMessage</a> (<a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_26">sendMessageToDynmaicChild</a> (const <a class="el" href="a02661.html">IVarName</a> &, <a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_27">sendMethod</a> (<a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_28">sendMethodCompoment</a> (<a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_29">setStaticMember</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom>{ <br> + <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw7">TAttach</a>, +<a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw29">TSetClock</a>, +<a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw12">TGetClock</a>, +<a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw4">TAddAttrib</a>, +<br> + <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw18">TLastM</a> +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15">TMethodNumDef</a> { <br> + <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw23">TSend</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw24">TSendComponent</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw7">TGetChildTag</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw3">TAddChildTag</a>, +<br> + <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw16">TRemoveChild</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw6">TFather</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw22">TSelf</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw9">TGetName</a>, +<br> + <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw13">TIsInherited</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw8">TGetClassName</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw20">TRunTellComponent</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw17">TRunAskComponent</a>, +<br> + <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw19">TRunAskParentNotify</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw21">TRunTellParentNotify</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw18">TRunAskDebugString</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw25">TSetStatic</a>, +<br> + <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw10">TGetValue</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw26">TSetValue</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw5">TDeflautProccessMsg</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw11">TInitComponent</a>, +<br> + <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw12">TIsEUU</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw4">TAddSet</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw14">TLastM</a> +<br> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This enum define ident for hard coded method that we have to import its under the script. <a href="#NLAIAGENT_1_1IMainAgentw15">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw27">TTypeCheck</a> { <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw0">CheckAll</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw1">CheckCount</a>, +<a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw2">DoNotCheck</a> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera0">addAttrib</a> (<a class="el" href="a02164.html">IConnectIA</a> *, <a class="el" href="a02325.html">IMessageBase</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta0">addSet</a> (const std::string &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a set for the agent. <a href="#NLAIAGENT_1_1IMainAgenta0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera2">attach</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::set< std::string <br> +>::const_iterator </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta1">beginSet</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera4">CAgentWatchTimer</a> (const <a class="el" href="a02184.html">CAgentWatchTimer</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera5">CAgentWatchTimer</a> (<a class="el" href="a03834.html">IAgentManager</a> *, <a class="el" href="a02162.html">IBasicAgent</a> *, std::list< <a class="el" href="a02149.html">IObjectIA</a> * > &, <a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera6">CAgentWatchTimer</a> (<a class="el" href="a03834.html">IAgentManager</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera7">CAgentWatchTimer</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta2">callConstructor</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta3">callFunction</a> (std::string &, <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *p=NULL)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05364.html#a31">TQueue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea0">canProcessMessage</a> (const <a class="el" href="a02661.html">IVarName</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera11">clone</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgenta5">connect</a> (<a class="el" href="a02164.html">IConnectIA</a> *b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea2">decRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference of an object. <a href="#NLAIAGENT_1_1VectorTypea2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera14">detach</a> (<a class="el" href="a02164.html">IConnectIA</a> *, bool deleteFromConnection=true)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera15">detach</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::set< std::string <br> +>::const_iterator </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta7">endSet</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera17">getBaseMethodCount</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get an valid context for this instance. <a href="#NLAIAGENT_1_1CAgentWatchTimera17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02161.html#NLAIAGENT_1_1IMainAgenta8">getChildCoun</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta9">getClass</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta10">getClassName</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the class in the registry. <a href="#NLAIAGENT_1_1IMainAgenta10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera21">getClock</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a> (std::string &<a class="el" href="a04223.html#a627">t</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::vector<<br> + <a class="el" href="a02594.html">NLAILOGIC::CGoal</a> * > * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta11">getGoalStack</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02649.html">CIdent</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea8">getIdentType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02151.html#NLAIAGENT_1_1VectorTypea4">getInfo</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02786.html">IMailBox</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgenta14">getMail</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the mail box letter. <a href="#NLAIAGENT_1_1IMainAgenta14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera27">getMethodIndexSize</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02165.html">IRefrence</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea13">getOwner</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To get the top level parent of this agent. <a href="#NLAICHARACTER_1_1IZonea13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02164.html">IConnectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">to get the agent parents <a href="#NLAIAGENT_1_1IMainAgenta16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea8">getRef</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the refence count. <a href="#NLAIAGENT_1_1VectorTypea8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const CProcessResult & </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgenta18">getState</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the curent state of the agent. <a href="#NLAIAGENT_1_1IMainAgenta18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02149.html">IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea9">getStaticMember</a> (const <a class="el" href="a02661.html">IVarName</a> &compName) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera33">getSubscribedCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02594.html">NLAILOGIC::CGoal</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta20">getTopGoal</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera36">haveActivity</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">allow to know if the agent have an activity process to run. <a href="#NLAIAGENT_1_1CAgentWatchTimera36"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. <a href="#NLAIAGENT_1_1VectorTypea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea17">init</a> (<a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgenta27">isa</a> (const std::string &) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Test the set of the agent. <a href="#NLAIAGENT_1_1IMainAgenta27"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea25">isClassInheritedFrom</a> (const <a class="el" href="a02661.html">IVarName</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea20">isLocal</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">If the result is true the object is loclal else its a representation of an object on the server. By the method return true. <a href="#NLAIAGENT_1_1VectorTypea20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a05364.html#a31">NLAIAGENT::TQueue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera42">isMember</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, const <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02163.html#NLAIAGENT_1_1IMainAgenta30">Kill</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Call this function to destroy an agent including its referneces in other agents and its childs. <a href="#NLAIAGENT_1_1IMainAgenta30"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera44">newInstance</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera45">onKill</a> (<a class="el" href="a02164.html">IConnectIA</a> *A)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Called by an agent who's destroyed te remove its references. <a href="#NLAIAGENT_1_1CAgentWatchTimera45"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea34">operator const IWordNumRef &</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">to get a word num ref of the agents. <a href="#NLAICHARACTER_1_1IZonea34"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea35">operator const IWordNumRef *</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">to get a word num ref pointer of the agents. <a href="#NLAICHARACTER_1_1IZonea35"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02153.html#NLAIAGENT_1_1VectorTypea42">operator==</a> (const <a class="el" href="a02153.html">IBasicObjectIA</a> &classType) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Release allow to release the pointer. The last release when the _Ref is nul delete the object. <a href="#NLAIAGENT_1_1VectorTypea46"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgenta35">removeConnection</a> (<a class="el" href="a02164.html">IConnectIA</a> *Agent)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To release a connection. <a href="#NLAIAGENT_1_1IMainAgenta35"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera51">runActivity</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Mailer do'nt have own activity. <a href="#NLAIAGENT_1_1CAgentWatchTimera51"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera52">runKill</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera53">runMethodBase</a> (int <a class="el" href="a04223.html#a566">index</a>, <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera54">runMethodBase</a> (int heritance, int <a class="el" href="a04223.html#a566">index</a>, <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera55">runMethodeMember</a> (<a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a566">index</a>, <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera56">runTell</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgenta36">sendMessage</a> (<a class="el" href="a02325.html">IMessageBase</a> *msg, <a class="el" href="a02162.html">IBasicAgent</a> &receiver)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Send message to an receiver agent. <a href="#NLAIAGENT_1_1IMainAgenta36"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgenta37">sendMessage</a> (<a class="el" href="a02325.html">IMessageBase</a> *msg)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Send a message to the agent. <a href="#NLAIAGENT_1_1IMainAgenta37"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02154.html#NLAIAGENT_1_1VectorTypea54">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera60">setClock</a> (<a class="el" href="a04558.html#a15">uint</a> c)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgenta41">setParent</a> (const <a class="el" href="a03887.html">IWordNumRef</a> *parent)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">to set the parent of the agents. <a href="#NLAIAGENT_1_1IMainAgenta41"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgenta42">setState</a> (<a class="el" href="a05364.html#a50">TProcessStatement</a> <a class="el" href="a04223.html#a626">s</a>, <a class="el" href="a02149.html">IObjectIA</a> *result)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the state of an agent. <a href="#NLAIAGENT_1_1IMainAgenta42"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea56">setStaticMember</a> (const <a class="el" href="a02661.html">IVarName</a> &compName, <a class="el" href="a02149.html">IObjectIA</a> *change)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea50">setTypeAt</a> (<a class="el" href="a04558.html#a13">uint64</a> <a class="el" href="a04223.html#a627">t</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">That function allow user to change the 7 bit of the type field in the sid agent number;. <a href="#NLAICHARACTER_1_1IZonea50"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera65">tellBroker</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera66">~CAgentWatchTimer</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgente0">initAgentScript</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimere1">initClass</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimere2">initMsgClass</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgente1">releaseAgentScript</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimere4">releaseClass</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02163.html#NLAIAGENT_1_1IMainAgents0">IdAgent</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents1">IdAgentScript</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers2">IdAgentWatchTimer</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents2">IdMsgNotifyParent</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03019.html">NLAISCRIPT::COperandSimple</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents3">IdMsgNotifyParentClass</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents4">msgPerf</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents5">msgType</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents6">ParamGetValueMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents7">ParamIdGetValueMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents8">ParamIdInitComponentMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents9">ParamIdSetValueMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents10">ParamIdTellComponentMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents11">ParamInitComponentMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents12">ParamRunParentNotify</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents13">ParamSetStatic</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents14">ParamSetValueMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents15">ParamTellComponentMsg</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05364.html#a50">TProcessStatement</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes1">ProcessBuzzy</a> = processBuzzy</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05364.html#a50">TProcessStatement</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes2">ProcessEnd</a> = processEnd</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05364.html#a50">TProcessStatement</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes3">ProcessError</a> = processError</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05364.html#a50">TProcessStatement</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes4">ProcessIdle</a> = processIdle</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05364.html#a50">TProcessStatement</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes5">ProcessLocked</a> = processLocked</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes6">ProcessNotComplit</a> = <a class="el" href="a03869.html">IObjectIA::CProcessResult</a>(processNotComplete)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes7">ProcessRun</a> = <a class="el" href="a03869.html">IObjectIA::CProcessResult</a>()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents23">SendCompParamMessageScript</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents24">SendParamMessageScript</a> = NULL</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02191.html">NLAIAGENT::CAgentScript::CMethodCall</a> ** </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a> = NULL</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgentb0">connectLoadStream</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentb1">createComponents</a> (std::list< <a class="el" href="a02149.html">IObjectIA</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZoneb0">refLoadStream</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the loader of the class. <a href="#NLAICHARACTER_1_1IZoneb0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02149.html">IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb3">run</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb4">runAchieve</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb5">runAsk</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb6">runBreak</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb7">runError</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb8">runEven</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb9">runExec</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02325.html">IMessageBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb11">runService</a> (const <a class="el" href="a02325.html">IMessageBase</a> &m)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentb13">sendBroadCast</a> (<a class="el" href="a02149.html">IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02165.html#NLAICHARACTER_1_1IZoneb1">setNumRef</a> (const <a class="el" href="a03887.html">IWordNumRef</a> &ref)</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The creator of this instance. This useful for find scripted method entry point. <a href="#NLAIAGENT_1_1IMainAgentp0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02161.html#NLAIAGENT_1_1IAgentCompositey0">TBasicList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03834.html">IAgentManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp2">_AgentManager</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The manager where the agent is run this manager have the agent script context. <a href="#NLAIAGENT_1_1IMainAgentp2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< std::pair< <a class="el" href="a02164.html">IConnectIA</a> *,<br> + std::pair< <a class="el" href="a02325.html">IMessageBase</a> *,<br> + <a class="el" href="a04558.html#a10">sint32</a> > > > </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< std::pair< <a class="el" href="a02164.html">IConnectIA</a> *,<br> + std::pair< <a class="el" href="a02325.html">IMessageBase</a> *,<br> + <a class="el" href="a04558.html#a10">sint32</a> > > >::iterator </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02149.html">IObjectIA</a> ** </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Table of static compoments. <a href="#NLAIAGENT_1_1IMainAgentp3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02164.html#NLAIAGENT_1_1IConnectIAy0">TListIBasic</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgentp4">_Connected</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02164.html#NLAIAGENT_1_1IConnectIAy0">TListIBasic</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgentp5">_Connection</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a243">NLMISC::TTicks</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp9">_DTime</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02171.html#NLAIAGENT_1_1CAgentScripty0">TSetDefNameAgent</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Map for store agent added in the dynamic child container. <a href="#NLAIAGENT_1_1IMainAgentp6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp7">_iComponents</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02786.html">IMailBox</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentp8">_Mail</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Box letter for communication service. <a href="#NLAIAGENT_1_1IMainAgentp8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Nomber of static compoment. <a href="#NLAIAGENT_1_1IMainAgentp9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentp10">_RunState</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal state of the agent. <a href="#NLAIAGENT_1_1IMainAgentp10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::set< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">mapSet</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerw0" doxytag="NLAIAGENT::CAgentWatchTimer::@64" ></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"> anonymous enum + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw7" doxytag="TAttach" ></a>TAttach</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw29" doxytag="TSetClock" ></a>TSetClock</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw12" doxytag="TGetClock" ></a>TGetClock</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw4" doxytag="TAddAttrib" ></a>TAddAttrib</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw18" doxytag="TLastM" ></a>TLastM</em> </td><td> +The count of export method. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05417.html#l00154">154</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +<div class="fragment"><pre>00154 { +00155 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw7">TAttach</a>, +00156 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw29">TSetClock</a>, +00157 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw12">TGetClock</a>, +00158 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw4">TAddAttrib</a>, +00159 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw18">TLastM</a> +00160 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentw15" doxytag="NLAIAGENT::CAgentWatchTimer::TMethodNumDef" ></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"> enum <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15">NLAIAGENT::CAgentScript::TMethodNumDef</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This enum define ident for hard coded method that we have to import its under the script. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw23" doxytag="TSend" ></a>TSend</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw24" doxytag="TSendComponent" ></a>TSendComponent</em> </td><td> +Index of the send method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw7" doxytag="TGetChildTag" ></a>TGetChildTag</em> </td><td> +Index of the send with continuation method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw3" doxytag="TAddChildTag" ></a>TAddChildTag</em> </td><td> +Index of the getChild method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw16" doxytag="TRemoveChild" ></a>TRemoveChild</em> </td><td> +Index of the addChild method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw6" doxytag="TFather" ></a>TFather</em> </td><td> +Index of the removeDynamic method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw22" doxytag="TSelf" ></a>TSelf</em> </td><td> +Get the father of the agent. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw9" doxytag="TGetName" ></a>TGetName</em> </td><td> +Get The self pointer. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw13" doxytag="TIsInherited" ></a>TIsInherited</em> </td><td> +Get the name of the agent in the manager child list. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw8" doxytag="TGetClassName" ></a>TGetClassName</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw20" doxytag="TRunTellComponent" ></a>TRunTellComponent</em> </td><td> +Returns the name of the class in the registry. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw17" doxytag="TRunAskComponent" ></a>TRunAskComponent</em> </td><td> +transmit Message to an compoment. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw19" doxytag="TRunAskParentNotify" ></a>TRunAskParentNotify</em> </td><td> +transmit Message to an compoment. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw21" doxytag="TRunTellParentNotify" ></a>TRunTellParentNotify</em> </td><td> +the offest of the runAskParentNotify method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw18" doxytag="TRunAskDebugString" ></a>TRunAskDebugString</em> </td><td> +the offest of the runTellParentNotify method. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw25" doxytag="TSetStatic" ></a>TSetStatic</em> </td><td> +Process msg debug string, that is to have a string that represente the agent statue at a time. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw10" doxytag="TGetValue" ></a>TGetValue</em> </td><td> +Method to assign a new value to a static component. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw26" doxytag="TSetValue" ></a>TSetValue</em> </td><td> +Processes the "Ask(GetValueMsg)" msg to obtain a public value of the agent. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw5" doxytag="TDeflautProccessMsg" ></a>TDeflautProccessMsg</em> </td><td> +Processes the "Tell(SetValueMsg)" msg to connect to the value of a distant object. </td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw11" doxytag="TInitComponent" ></a>TInitComponent</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw12" doxytag="TIsEUU" ></a>TIsEUU</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw4" doxytag="TAddSet" ></a>TAddSet</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw14" doxytag="TLastM" ></a>TLastM</em> </td><td> +The count of export method. </td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05413.html#l00069">69</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00069 { +00070 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw23">TSend</a>, +00071 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw24">TSendComponent</a>, +00072 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw7">TGetChildTag</a>, +00073 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw3">TAddChildTag</a>, +00074 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw16">TRemoveChild</a>, +00075 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw6">TFather</a>, +00076 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw22">TSelf</a>, +00077 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw9">TGetName</a>, +00078 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw13">TIsInherited</a>, +00079 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw8">TGetClassName</a>, +00080 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw20">TRunTellComponent</a>, +00081 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw17">TRunAskComponent</a>, +00082 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw19">TRunAskParentNotify</a>, +00083 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw21">TRunTellParentNotify</a>, +00084 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw18">TRunAskDebugString</a>, +00085 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw25">TSetStatic</a>, +00086 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw10">TGetValue</a>, +00087 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw26">TSetValue</a>, +00088 <span class="comment">// TGetValueReturn, /// Processes the "Tell(GetValueMsg)" msg resulting from a "Ask(GetValueMsg)" message sent.</span> +00089 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw5">TDeflautProccessMsg</a>, +00090 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw11">TInitComponent</a>, +00091 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw12">TIsEUU</a>, +00092 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw4">TAddSet</a>, +00093 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerw0NLAIAGENT_1_1CAgentWatchTimerw18">TLastM</a> +00094 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentw27" doxytag="NLAIAGENT::CAgentWatchTimer::TTypeCheck" ></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"> enum <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw27">NLAIAGENT::CAgentScript::TTypeCheck</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw0" doxytag="CheckAll" ></a>CheckAll</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw1" doxytag="CheckCount" ></a>CheckCount</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw2" doxytag="DoNotCheck" ></a>DoNotCheck</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05413.html#l00096">96</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00096 { +00097 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw0">CheckAll</a>, +00098 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw1">CheckCount</a>, +00099 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw27NLAIAGENT_1_1IMainAgentw2">DoNotCheck</a> +00100 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera7" doxytag="NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer" ></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"> NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00230">230</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, and <a class="el" href="a05417.html#l00172">_CallIter</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00265">clone()</a>, and <a class="el" href="a05416.html#l00270">newInstance()</a>. +<p> +<div class="fragment"><pre>00230 : <a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a>(NULL),<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a>(0) +00231 { +00232 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a> = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end(); +00233 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera6" doxytag="NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer" ></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"> NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03834.html">IAgentManager</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00247">247</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +<div class="fragment"><pre>00247 :<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a>(m), <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a>(0)<span class="comment">/*,_Call(NULL),_MSG(NULL)*/</span> +00248 { +00249 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera5" doxytag="NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer" ></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"> NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03834.html">IAgentManager</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02162.html">IBasicAgent</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::list< <a class="el" href="a02149.html">IObjectIA</a> * > & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00250">250</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00237">v</a>. +<p> +<div class="fragment"><pre>00250 :<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a>(m,a,v,c), <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a>(0)<span class="comment">/*,_Call(NULL),_MSG(NULL)*/</span> +00251 { +00252 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera4" doxytag="NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer" ></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"> NLAIAGENT::CAgentWatchTimer::CAgentWatchTimer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02184.html">CAgentWatchTimer</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00234">234</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, <a class="el" href="a05417.html#l00172">_CallIter</a>, <a class="el" href="a05475.html#l00555">NLAIAGENT::IConnectIA::connect()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +<div class="fragment"><pre>00234 :<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a>(t), <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a>(<a class="code" href="a04223.html#a627">t</a>._Clock),<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>(<a class="code" href="a04223.html#a627">t</a>._Call) +00235 { +00236 std::list<std::pair< IConnectIA *, std::pair<IMessageBase *, sint32> > >::iterator i = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.begin(); +00237 <span class="keywordflow">while</span>(i != <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end()) +00238 { +00239 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta5">connect</a>((*i).first); +00240 std::pair<IMessageBase *, sint32> p = ((*i).second); +00241 p.first->incRef(); +00242 i ++; +00243 } +00244 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a> = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end(); +00245 +00246 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera66" doxytag="NLAIAGENT::CAgentWatchTimer::~CAgentWatchTimer" ></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"> NLAIAGENT::CAgentWatchTimer::~<a class="el" href="a02184.html">CAgentWatchTimer</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00253">253</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +<div class="fragment"><pre>00254 { +00255 std::list<std::pair< IConnectIA *, std::pair<IMessageBase *, sint32> > >::iterator i = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.begin(); +00256 <span class="keywordflow">while</span>(i != <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end()) +00257 { +00258 std::pair<IMessageBase *, sint32> p = ((*i++).second); +00259 IMessageBase * m = p.first; +00260 m->release(); +00261 } +00262 +00263 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera0" doxytag="NLAIAGENT::CAgentWatchTimer::addAttrib" ></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 NLAIAGENT::CAgentWatchTimer::addAttrib </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00308">308</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, <a class="el" href="a05475.html#l00555">NLAIAGENT::IConnectIA::connect()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05475.html#l00206">NLAIAGENT::IObjectIA::isMember()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a06066.html#l00161">NLAIAGENT::IMessageBase::setMethodIndex()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l00985">t</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00441">runMethodBase()</a>. +<p> +<div class="fragment"><pre>00309 { +00310 <span class="preprocessor">#ifdef NL_DEBUG</span> +00311 <span class="preprocessor"></span> <span class="keywordflow">if</span>(c == NULL || msg == NULL) +00312 { +00313 <span class="keywordflow">throw</span>; +00314 } +00315 <span class="preprocessor">#endif</span> +00316 <span class="preprocessor"></span> <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta5">connect</a>(c); +00317 <span class="keyword">static</span> CStringVarName sRunTell(<span class="stringliteral">"RunTell"</span>); +00318 +00319 +00320 <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a> *<a class="code" href="a04223.html#a627">t</a> = <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(msg->getType())); +00321 <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> <a class="code" href="a04223.html#a590">param</a>(1,t); +00322 +00323 +00324 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a566">index</a> = -1; +00325 +00326 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a> = c->isMember(NULL,&sRunTell,param); +00327 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a04223.html#a628">r</a>.top().Index; +00328 +00329 msg->setSender(<span class="keyword">this</span>); +00330 msg->setPerformatif(IMessageBase::PTell); +00331 msg->setMethodIndex(0,index); +00332 +00333 std::pair<IMessageBase *, sint32> p (msg,index); +00334 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.push_front(std::pair< IConnectIA *, std::pair<IMessageBase *, sint32> > (c,p)); +00335 +00336 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1611_0" doxytag="NLAIAGENT::CAgentWatchTimer::addChild" ></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"> std::list< <a class="el" href="a02162.html">IBasicAgent</a> * >::iterator NLAIAGENT::IAgentComposite::addChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02162.html">IBasicAgent</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a child to the agent. Child is added in a std::list<IBasicAgent *>. The method return the range of the child in the list. +<p> +Implements <a class="el" href="a02162.html#NLAIAGENT_1_1IBasicAgenta0">NLAIAGENT::IBasicAgent</a>. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMailz1642_0">NLAIAGENT::CLocalAgentMail</a>. +<p> +Definition at line <a class="el" href="a05477.html#l00067">67</a> of file <a class="el" href="a05477.html">basic_agent.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00340">NLAIAGENT::IAgentComposite::_AgentList</a>, <a class="el" href="a05393.html#l00342">NLAIAGENT::IAgentComposite::_SizeChild</a>, <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa0">NLAIAGENT::IMailBox::addMailBox()</a>, <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>, and <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00761">NLAIAGENT::CAgentScript::addDynamicAgent()</a>, <a class="el" href="a05477.html#l00030">NLAIAGENT::IAgentComposite::IAgentComposite()</a>, and <a class="el" href="a05477.html#l00153">NLAIAGENT::IAgentComposite::load()</a>. +<p> +<div class="fragment"><pre>00068 { +00069 p->incRef(); +00070 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.push_front((IBasicAgent *)p); +00071 <span class="comment">// Donne au fils accès à la boite aux lettres du père</span> +00072 p->getMail()->addMailBox( this->getMail() ); +00073 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> ++; +00074 +00075 <span class="keywordflow">return</span> <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.begin(); +00076 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_0" doxytag="NLAIAGENT::CAgentWatchTimer::addDynamicAgent" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::addDynamicAgent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03453.html">CStringType</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02162.html">IBasicAgent</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +that is a surchage of the method member virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_1">addDynamicAgent(NLAIAGENT::IBaseGroupType *g)</a>; +<p> +Reimplemented in <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta0">NLAIAGENT::CMainAgentScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00811">811</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a05407.html#l00097">NLAIAGENT::CStringType::getDebugString()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05475.html#l00661">NLAIAGENT::IConnectIA::setParent()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00812 { +00813 <span class="preprocessor">#ifdef NL_DEBUG</span> +00814 <span class="preprocessor"></span> std::string dbg_name; +00815 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a04223.html#a581">type</a>; +00816 name.getDebugString( dbg_name ); +00817 <a class="code" href="a04223.html#a581">type</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)agent->getType(); +00818 <span class="keyword">const</span> <span class="keywordtype">char</span> *tname = dbg_name.c_str(); +00819 <span class="preprocessor">#endif</span> +00820 <span class="preprocessor"></span> IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00821 <a class="code" href="a04223.html#a628">r</a>.ResultState = IObjectIA::ProcessIdle; +00822 +00823 agent->setParent( (<span class="keyword">const</span> IWordNumRef *) *<span class="keyword">this</span> ); +00824 CNotifyParentScript *m = <span class="keyword">new</span> CNotifyParentScript(<span class="keyword">this</span>); +00825 m->setSender(<span class="keyword">this</span>); +00826 m->setPerformatif(IMessageBase::PTell); +00827 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *) agent )->sendMessage(m); +00828 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +00829 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = agent->getType(); +00830 <span class="keywordflow">if</span>((<a class="code" href="a04223.html#a627">t</a>.getValue() & b) == b) +00831 { +00832 ((<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *) agent )->setAgentManager(<span class="keyword">this</span>); +00833 } +00834 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.insert(CKeyAgent(name,<a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentz1611_0">addChild</a>( agent ))); +00835 +00836 <a class="code" href="a04223.html#a628">r</a>.Result = NULL; +00837 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00838 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_1" doxytag="NLAIAGENT::CAgentWatchTimer::addDynamicAgent" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::addDynamicAgent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">NLAIAGENT::IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>g</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add an agent to the dynamic agent child. Method have an <a class="el" href="a02327.html">IBaseGroupType</a> argument, this argument must store an <a class="el" href="a03453.html">CStringType</a> first and an <a class="el" href="a02149.html">IObjectIA</a> pointer memory next. The <a class="el" href="a03453.html">CStringType</a> is the name of the agent. The <a class="el" href="a02149.html">IObjectIA</a> pointer memory is the agent. Not that in generally this method is called by the script +<p> +Reimplemented in <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta1">NLAIAGENT::CMainAgentScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00761">761</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_10">NLAIAGENT::IBaseGroupType::getIterator()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05407.html#l00495">NLAIAGENT::CConstIteratorContener::isInEnd()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05475.html#l00661">NLAIAGENT::IConnectIA::setParent()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00609">NLAIAGENT::CActorScript::Launch()</a>, and <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00762 { +00763 CIteratorContener i = g-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_10">getIterator</a>(); +00764 CStringType &<a class="code" href="a04223.html#a626">s</a> = (CStringType &)*i++; +00765 <a class="code" href="a02162.html#NLAIAGENT_1_1IBasicAgentb1">IBasicAgent</a> *a = (<a class="code" href="a02162.html#NLAIAGENT_1_1IBasicAgentb1">IBasicAgent</a> *)i++; +00766 <a class="code" href="a02162.html#NLAIAGENT_1_1IBasicAgentb1">IBasicAgent</a> *o = a; +00767 <a class="code" href="a04558.html#a14">sint</a> n = 1; +00768 +00769 <span class="preprocessor">#ifdef NL_DEBUG</span> +00770 <span class="preprocessor"></span> std::string name; +00771 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a04223.html#a581">type</a>; +00772 <a class="code" href="a04223.html#a626">s</a>.getDebugString(name); +00773 +00774 <a class="code" href="a04223.html#a581">type</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)a->getType(); +00775 <span class="keyword">const</span> <span class="keywordtype">char</span> *tname = name.c_str(); +00776 <span class="preprocessor">#endif</span> +00777 <span class="preprocessor"></span> <span class="keywordflow">if</span>(!i.isInEnd()) +00778 { +00779 n = (<a class="code" href="a04558.html#a14">sint</a>)((<a class="code" href="a02146.html">NLAIAGENT::INombreDefine</a> *)i++)->getNumber(); +00780 } +00781 +00782 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00783 <a class="code" href="a04223.html#a628">r</a>.ResultState = IObjectIA::ProcessIdle; +00784 +00785 <span class="keywordflow">while</span>(n --) +00786 { +00787 o->setParent( (<span class="keyword">const</span> IWordNumRef *) *<span class="keyword">this</span> ); +00788 CNotifyParentScript *m = <span class="keyword">new</span> CNotifyParentScript(<span class="keyword">this</span>); +00789 <span class="comment">//this->incRef();</span> +00790 m->setSender(<span class="keyword">this</span>); +00791 m->setPerformatif(IMessageBase::PTell); +00792 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)o)->sendMessage(m); +00793 +00794 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +00795 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = o->getType(); +00796 +00797 <span class="keywordflow">if</span>((<a class="code" href="a04223.html#a627">t</a>.getValue() & b) == b) +00798 { +00799 ((<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *)o)->setAgentManager(<span class="keyword">this</span>); +00800 } +00801 +00802 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.insert(CKeyAgent(s,<a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentz1611_0">addChild</a>(o))); +00803 <span class="keywordflow">if</span>(n) o = (<a class="code" href="a02162.html#NLAIAGENT_1_1IBasicAgentb1">IBasicAgent</a> *)a->clone(); +00804 } +00805 +00806 <a class="code" href="a04223.html#a628">r</a>.Result = NULL; +00807 +00808 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00809 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1689_0" doxytag="NLAIAGENT::CAgentWatchTimer::addInConnectedList" ></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 NLAIAGENT::IConnectIA::addInConnectedList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00595">595</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00427">NLAIAGENT::IConnectIA::_Connected</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00555">NLAIAGENT::IConnectIA::connect()</a>, and <a class="el" href="a05475.html#l00521">NLAIAGENT::IConnectIA::connectLoadStream()</a>. +<p> +<div class="fragment"><pre>00596 { +00597 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp4">_Connected</a>.insert(a); +00598 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1689_1" doxytag="NLAIAGENT::CAgentWatchTimer::addInConnectionList" ></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 NLAIAGENT::IConnectIA::addInConnectionList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00572">572</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00426">NLAIAGENT::IConnectIA::_Connection</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00555">NLAIAGENT::IConnectIA::connect()</a>, and <a class="el" href="a05475.html#l00521">NLAIAGENT::IConnectIA::connectLoadStream()</a>. +<p> +<div class="fragment"><pre>00573 { +00574 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp5">_Connection</a>.insert(a); +00575 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_2" doxytag="NLAIAGENT::CAgentWatchTimer::addOperator" ></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 NLAIAGENT::CAgentScript::addOperator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02288.html">NLAILOGIC::IBaseOperator</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Method for adding operator. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01667">1667</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +<div class="fragment"><pre>01668 { +01669 <span class="comment">// _Operators.push_back(op);</span> +01670 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta0" doxytag="NLAIAGENT::CAgentWatchTimer::addSet" ></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 NLAIAGENT::CAgentScript::addSet </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a set for the agent. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00756">756</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00181">NLAIAGENT::CAgentScript::mapSet</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01849">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00757 { +00758 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">mapSet</a>.insert(s); +00759 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera2" doxytag="NLAIAGENT::CAgentWatchTimer::attach" ></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 NLAIAGENT::CAgentWatchTimer::attach </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00396">396</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00170">_DTime</a>, <a class="el" href="a06552.html#l00055">NLMISC::CTime::getLocalTime()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05770.html#l00908">NLAIAGENT::CVectorGroupType::set()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00441">runMethodBase()</a>. +<p> +<div class="fragment"><pre>00397 { +00398 CVectorGroupType g(2); +00399 std::string <a class="code" href="a04223.html#a627">t</a>; +00400 ((<span class="keyword">const</span> IWordNumRef &)*<span class="keyword">this</span>).getNumIdent().getDebugString(t); +00401 g.set(0,<span class="keyword">new</span> CStringType(CStringVarName(<a class="code" href="a04223.html#a627">t</a>.c_str()))); +00402 this-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00403 g.set(1,<span class="keyword">this</span>); +00404 { +00405 NLMISC::CSynchronized<CAgentScript *>::CAccessor accessor(CAgentManagerTimer::TimerManager); +00406 accessor.value()->addDynamicAgent(&g); +00407 } +00408 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp9">_DTime</a> = <a class="code" href="a02142.html#NLMISC_1_1CTimee0">NLMISC::CTime::getLocalTime</a> (); +00409 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta1" doxytag="NLAIAGENT::CAgentWatchTimer::beginSet" ></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"> virtual std::set<std::string>::const_iterator NLAIAGENT::CAgentScript::beginSet </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00362">362</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +References <a class="el" href="a05413.html#l00181">NLAIAGENT::CAgentScript::mapSet</a>. +<p> +<div class="fragment"><pre>00363 { +00364 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">mapSet</a>.begin(); +00365 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta2" doxytag="NLAIAGENT::CAgentWatchTimer::callConstructor" ></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 NLAIAGENT::CAgentScript::callConstructor </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02420">2420</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05572.html#l00339">NLAISCRIPT::CCodeContext::Code</a>, <a class="el" href="a05847.html#l00577">NLAISCRIPT::CAgentClass::findMethod()</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05413.html#l00421">NLAIAGENT::CAgentScript::getClass()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05571.html#l00112">NLAISCRIPT::CCodeBrancheRun::run()</a>, <a class="el" href="a05572.html#l00341">NLAISCRIPT::CCodeContext::Self</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>02421 { +02422 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> constructor_func_name(<span class="stringliteral">"Constructor"</span>); +02423 <a class="code" href="a04558.html#a10">sint32</a> id_func = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgenta9">getClass</a>()-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa8">findMethod</a>( constructor_func_name, <a class="code" href="a03039.html">NLAISCRIPT::CParam</a>() ); +02424 +02425 <span class="preprocessor">#ifdef NL_DEBUG</span> +02426 <span class="preprocessor"></span> +02427 <span class="keyword">const</span> <span class="keywordtype">char</span> * ttt = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +02428 <span class="preprocessor">#endif</span> +02429 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( id_func != -1 ) +02430 { +02431 <a class="code" href="a03436.html">NLAISCRIPT::CStackPointer</a> stack; +02432 <a class="code" href="a03436.html">NLAISCRIPT::CStackPointer</a> heap; +02433 <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> codeContext(stack, heap, NULL, <span class="keyword">this</span>, NLAISCRIPT::CCallPrint::inputOutput); +02434 codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto5">Self</a> = <span class="keyword">this</span>; +02435 <a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *o = (<a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *) <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgenta9">getClass</a>()-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>( id_func ).getCode(); +02436 codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = o; +02437 <span class="keywordtype">int</span> ip; +02438 <span class="keywordflow">if</span>(codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> != NULL) ip = (<a class="code" href="a04558.html#a11">uint32</a>)*codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +02439 <span class="keywordflow">else</span> ip =0; +02440 +02441 *codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = 0; +02442 +02443 (<span class="keywordtype">void</span>)o-><a class="code" href="a02372.html#NLAISCRIPT_1_1CCodeBrancheRunz1796_2">run</a>(codeContext); +02444 +02445 *codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = ip; +02446 +02447 } +02448 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta3" doxytag="NLAIAGENT::CAgentWatchTimer::callFunction" ></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 NLAIAGENT::CAgentScript::callFunction </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname" nowrap> <em>p</em> = NULL</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02450">2450</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05572.html#l00339">NLAISCRIPT::CCodeContext::Code</a>, <a class="el" href="a05847.html#l00577">NLAISCRIPT::CAgentClass::findMethod()</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05413.html#l00421">NLAIAGENT::CAgentScript::getClass()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05571.html#l00112">NLAISCRIPT::CCodeBrancheRun::run()</a>, <a class="el" href="a05572.html#l00341">NLAISCRIPT::CCodeContext::Self</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>02451 { +02452 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> func_name( f_name.c_str() ); +02453 <a class="code" href="a04558.html#a10">sint32</a> id_func = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgenta9">getClass</a>()-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa8">findMethod</a>( func_name, <a class="code" href="a03039.html">NLAISCRIPT::CParam</a>() ); +02454 +02455 <span class="preprocessor">#ifdef NL_DEBUG</span> +02456 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> * ttt = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +02457 <span class="preprocessor">#endif</span> +02458 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( id_func != -1 ) +02459 { +02460 <a class="code" href="a03436.html">NLAISCRIPT::CStackPointer</a> stack; +02461 <a class="code" href="a03436.html">NLAISCRIPT::CStackPointer</a> heap; +02462 <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> codeContext(stack, heap, NULL, <span class="keyword">this</span>, NLAISCRIPT::CCallPrint::inputOutput); +02463 codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto5">Self</a> = <span class="keyword">this</span>; +02464 <a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *o = (<a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *) <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgenta9">getClass</a>()-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>( id_func ).getCode(); +02465 codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = o; +02466 <span class="keywordtype">int</span> ip; +02467 <span class="keywordflow">if</span>(codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> != NULL) ip = (<a class="code" href="a04558.html#a11">uint32</a>)*codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +02468 <span class="keywordflow">else</span> ip =0; +02469 +02470 *codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = 0; +02471 +02472 (<span class="keywordtype">void</span>)o-><a class="code" href="a02372.html#NLAISCRIPT_1_1CCodeBrancheRunz1796_2">run</a>(codeContext); +02473 +02474 *codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = ip; +02475 +02476 } +02477 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea0" doxytag="NLAIAGENT::CAgentWatchTimer::canProcessMessage" ></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"> <a class="el" href="a05364.html#a31">TQueue</a> NLAIAGENT::IObjectIA::canProcessMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The method <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea0">canProcessMessage(const IVarName &msgName)</a> allow us to know if agent can preocess given by msgName.<p> +TQueue contain the liste of method (same as a run(msg)) that coud process the msg. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila0">NLAIAGENT::CLocalAgentMail</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00350">350</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05401.html#l00161">NLAIAGENT::CLocalAgentMail::canProcessMessage()</a>. +<p> +<div class="fragment"><pre>00351 { +00352 <span class="keywordflow">return</span> <a class="code" href="a05364.html#a31">TQueue</a>(); +00353 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera11" doxytag="NLAIAGENT::CAgentWatchTimer::clone" ></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"> const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * NLAIAGENT::CAgentWatchTimer::clone </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1672_0">NLAIAGENT::CAgentScript</a>. +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimera11">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00265">265</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05416.html#l00230">CAgentWatchTimer()</a>. +<p> +<div class="fragment"><pre>00266 { +00267 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera7">CAgentWatchTimer</a>(*<span class="keyword">this</span>); +00268 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta5" doxytag="NLAIAGENT::CAgentWatchTimer::connect" ></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 NLAIAGENT::IConnectIA::connect </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +When agent want to make connection he have to call this method to connect to an agent. When it call the B object is added in the connection list. +<p> +Definition at line <a class="el" href="a05475.html#l00555">555</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00595">NLAIAGENT::IConnectIA::addInConnectedList()</a>, and <a class="el" href="a05475.html#l00572">NLAIAGENT::IConnectIA::addInConnectionList()</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00308">addAttrib()</a>, <a class="el" href="a05398.html#l00048">NLAIAGENT::IAgentInput::addInputConnection()</a>, <a class="el" href="a05964.html#l00106">NLAIAGENT::CLocalMailBox::addMailBox()</a>, <a class="el" href="a05416.html#l00234">CAgentWatchTimer()</a>, <a class="el" href="a05400.html#l00031">NLAIAGENT::CLocalAgentMail::CLocalAgentMail()</a>, <a class="el" href="a06129.html#l00097">NLAIAGENT::CAgentOperation::connectOnChange()</a>, and <a class="el" href="a05475.html#l00661">NLAIAGENT::IConnectIA::setParent()</a>. +<p> +<div class="fragment"><pre>00556 { +00557 b->addInConnectedList(<span class="keyword">this</span>); +00558 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentz1689_1">addInConnectionList</a>(b); +00559 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb0" doxytag="NLAIAGENT::CAgentWatchTimer::connectLoadStream" ></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 NLAIAGENT::IConnectIA::connectLoadStream </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00521">521</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00595">NLAIAGENT::IConnectIA::addInConnectedList()</a>, <a class="el" href="a05475.html#l00572">NLAIAGENT::IConnectIA::addInConnectionList()</a>, <a class="el" href="a05646.html#l01124">num</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00506">NLAIAGENT::IConnectIA::IConnectIA()</a>, and <a class="el" href="a05475.html#l00516">NLAIAGENT::IConnectIA::load()</a>. +<p> +<div class="fragment"><pre>00522 { +00523 IRefrence::refLoadStream(is); +00524 <a class="code" href="a02651.html">NLAIC::CIdentTypeAlloc</a> <span class="keywordtype">id</span>; +00525 <a class="code" href="a04558.html#a10">sint32</a> i; +00526 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( i ); +00527 +00528 <span class="keywordflow">if</span>(i) +00529 { +00530 <span class="keywordflow">while</span>(i --) +00531 { +00532 is >> <span class="keywordtype">id</span>; +00533 IWordNumRef *<a class="code" href="a04223.html#a653">num</a> = (IWordNumRef *)<span class="keywordtype">id</span>.allocClass(); +00534 <a class="code" href="a04223.html#a653">num</a>->load(is); +00535 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentz1689_1">addInConnectionList</a>((IConnectIA *)((<span class="keyword">const</span> IRefrence *)*num)); +00536 <span class="keyword">delete</span> <a class="code" href="a04223.html#a653">num</a>; +00537 } +00538 } +00539 +00540 +00541 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(i); +00542 <span class="keywordflow">if</span>(i) +00543 { +00544 <span class="keywordflow">while</span>(i--) +00545 { +00546 is >> <span class="keywordtype">id</span>; +00547 IWordNumRef *<a class="code" href="a04223.html#a653">num</a> = (IWordNumRef *)<span class="keywordtype">id</span>.allocClass(); +00548 <a class="code" href="a04223.html#a653">num</a>->load(is); +00549 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentz1689_0">addInConnectedList</a>((IConnectIA *)((<span class="keyword">const</span> IRefrence *)*num)); +00550 <span class="keyword">delete</span> <a class="code" href="a04223.html#a653">num</a>; +00551 } +00552 } +00553 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1611_1" doxytag="NLAIAGENT::CAgentWatchTimer::cpyChild" ></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 NLAIAGENT::IAgentComposite::cpyChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02162.html">IBasicAgent</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05477.html#l00078">78</a> of file <a class="el" href="a05477.html">basic_agent.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00340">NLAIAGENT::IAgentComposite::_AgentList</a>, <a class="el" href="a05393.html#l00342">NLAIAGENT::IAgentComposite::_SizeChild</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>. +<p> +<div class="fragment"><pre>00079 { +00080 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.push_front((IBasicAgent *)p.clone()); +00081 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> ++; +00082 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb1" doxytag="NLAIAGENT::CAgentWatchTimer::createComponents" ></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 NLAIAGENT::CAgentScript::createComponents </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02149.html">IObjectIA</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02391">2391</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a05646.html#l01126">components</a>, <a class="el" href="a05646.html#l00985">t</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00429">NLAIAGENT::CAgentScript::CAgentScript()</a>. +<p> +<div class="fragment"><pre>02392 { +02393 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> = <a class="code" href="a04223.html#a656">components</a>.size(); +02394 <span class="keywordflow">if</span> ( <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> ) +02395 { +02396 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a> = <span class="keyword">new</span> <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *[ <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> ]; +02397 std::list<IObjectIA *>::iterator it_c = <a class="code" href="a04223.html#a656">components</a>.begin(); +02398 <span class="keywordtype">int</span> id_c = 0; +02399 <span class="keywordflow">while</span> ( it_c != <a class="code" href="a04223.html#a656">components</a>.end() ) +02400 { +02401 IObjectIA *o = (IObjectIA *)*it_c; +02402 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[id_c] = o; +02403 +02404 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +02405 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = o->getType(); +02406 +02407 <span class="keywordflow">if</span>((<a class="code" href="a04223.html#a627">t</a>.getValue() & b) == b) +02408 { +02409 ((<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *)o)->setParent( (<span class="keyword">const</span> IWordNumRef *) *<span class="keyword">this</span>); +02410 } +02411 +02412 it_c++; +02413 id_c++; +02414 } +02415 } +02416 <span class="keywordflow">else</span> +02417 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a> = NULL; +02418 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea2" doxytag="NLAIAGENT::CAgentWatchTimer::decRef" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIC::IPointerGestion::decRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Decrement the reference of an object. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00093">93</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>. +<p> +<div class="fragment"><pre>00094 { +00095 <span class="keywordflow">return</span> --_Ref; +00096 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera14" doxytag="NLAIAGENT::CAgentWatchTimer::detach" ></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"> bool NLAIAGENT::CAgentWatchTimer::detach </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>deleteFromConnection</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00343">343</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, <a class="el" href="a05416.html#l00377">detach()</a>, and <a class="el" href="a05475.html#l00561">NLAIAGENT::IConnectIA::removeConnection()</a>. +<p> +<div class="fragment"><pre>00344 { +00345 std::list<std::pair< IConnectIA *, std::pair<IMessageBase *, sint32> > >::iterator i = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.begin(); +00346 <span class="keywordflow">while</span>(i != <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end()) +00347 { +00348 <span class="keywordflow">if</span>((*i).first == a) +00349 { +00350 (*i).second.first->release(); +00351 <span class="keywordflow">break</span>; +00352 } +00353 i++; +00354 } +00355 +00356 <span class="keywordflow">if</span>(i != <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end()) +00357 { +00358 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.erase(i); +00359 <span class="keywordflow">if</span>(!<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.size()) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera15">detach</a>(); +00360 +00361 <span class="keywordflow">if</span>(deleteFromConnection) +00362 { +00363 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta35">removeConnection</a>(a); +00364 } +00365 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00366 } +00367 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +00368 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera15" doxytag="NLAIAGENT::CAgentWatchTimer::detach" ></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 NLAIAGENT::CAgentWatchTimer::detach </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00377">377</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05770.html#l00908">NLAIAGENT::CVectorGroupType::set()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00343">detach()</a>, and <a class="el" href="a05416.html#l00338">onKill()</a>. +<p> +<div class="fragment"><pre>00378 { +00379 <span class="comment">/*_Call = NULL;</span> +00380 <span class="comment"> if(_MSG != NULL) _MSG->release();</span> +00381 <span class="comment"> _MSG = NULL;*/</span> +00382 CVectorGroupType g(1); +00383 std::string <a class="code" href="a04223.html#a627">t</a>; +00384 ((<span class="keyword">const</span> IWordNumRef &)*<span class="keyword">this</span>).getNumIdent().getDebugString(t); +00385 g.set(0,<span class="keyword">new</span> CStringType(CStringVarName(<a class="code" href="a04223.html#a627">t</a>.c_str()))); +00386 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00387 <span class="keywordflow">if</span>(CAgentManagerTimer::TimerManager != NULL) +00388 { +00389 NLMISC::CSynchronized<CAgentScript *>::CAccessor accessor(CAgentManagerTimer::TimerManager); +00390 <a class="code" href="a04223.html#a628">r</a> = accessor.value()->removeDynamic(&g); +00391 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.Result != NULL) <a class="code" href="a04223.html#a628">r</a>.Result->release(); +00392 <span class="comment">//release();</span> +00393 } +00394 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta7" doxytag="NLAIAGENT::CAgentWatchTimer::endSet" ></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"> virtual std::set<std::string>::const_iterator NLAIAGENT::CAgentScript::endSet </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00367">367</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +References <a class="el" href="a05413.html#l00181">NLAIAGENT::CAgentScript::mapSet</a>. +<p> +<div class="fragment"><pre>00368 { +00369 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">mapSet</a>.end(); +00370 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1668_0" doxytag="NLAIAGENT::CAgentWatchTimer::getAgentContext" ></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"> virtual const <a class="el" href="a02149.html">IObjectIA</a>* NLAIAGENT::CAgentScript::getAgentContext </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get an valid context for this instance. +<p> + +<p> +Implements <a class="el" href="a03834.html#NLAIAGENT_1_1IAgentManagera3">NLAIAGENT::IAgentManager</a>. +<p> +Reimplemented in <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta16">NLAIAGENT::CMainAgentScript</a>. +<p> +Definition at line <a class="el" href="a05413.html#l00296">296</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +References <a class="el" href="a03834.html#NLAIAGENT_1_1IAgentManagera3">NLAIAGENT::IAgentManager::getAgentContext()</a>, and <a class="el" href="a05413.html#l00271">NLAIAGENT::CAgentScript::getAgentManager()</a>. +<p> +<div class="fragment"><pre>00297 { +00298 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_3">getAgentManager</a>()->getAgentContext(); +00299 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_3" doxytag="NLAIAGENT::CAgentWatchTimer::getAgentManager" ></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"> const <a class="el" href="a03834.html">IAgentManager</a>* NLAIAGENT::CAgentScript::getAgentManager </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the manager of the instance. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00271">271</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +References <a class="el" href="a05413.html#l00170">NLAIAGENT::CAgentScript::_AgentManager</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00356">NLAIAGENT::COperatorScript::checkPreconditions()</a>, <a class="el" href="a06133.html#l00236">NLAIAGENT::COperatorScript::execOnActivate()</a>, <a class="el" href="a05389.html#l00985">NLAIAGENT::CActorScript::failure()</a>, <a class="el" href="a05413.html#l00296">NLAIAGENT::CAgentScript::getAgentContext()</a>, <a class="el" href="a05389.html#l00191">NLAIAGENT::CActorScript::pause()</a>, <a class="el" href="a05389.html#l00243">NLAIAGENT::CActorScript::restart()</a>, <a class="el" href="a05389.html#l00401">NLAIAGENT::CActorScript::run()</a>, <a class="el" href="a05389.html#l00966">NLAIAGENT::CActorScript::success()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>00272 { +00273 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp2">_AgentManager</a>; +00274 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera17" doxytag="NLAIAGENT::CAgentWatchTimer::getBaseMethodCount" ></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"> int NLAIAGENT::CAgentWatchTimer::getBaseMethodCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get an valid context for this instance. +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1668_1">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00411">411</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05412.html#l02107">NLAIAGENT::CAgentScript::getBaseMethodCount()</a>. +<p> +<div class="fragment"><pre>00412 { +00413 <span class="keywordflow">return</span> CAgentScript::getBaseMethodCount() + CAgentWatchTimer::TLastM; +00414 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta8" doxytag="NLAIAGENT::CAgentWatchTimer::getChildCoun" ></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"> virtual <a class="el" href="a04558.html#a14">sint</a> NLAIAGENT::IAgentComposite::getChildCoun </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05393.html#l00358">358</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a05393.html#l00342">NLAIAGENT::IAgentComposite::_SizeChild</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00359 { +00360 <span class="keywordflow">return</span> <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a>; +00361 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_4" doxytag="NLAIAGENT::CAgentWatchTimer::getChildMessageIndex" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::CAgentScript::getChildMessageIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the mail boxe for scripted message. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00512">512</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05847.html#l00254">NLAISCRIPT::CAgentClass::getChildMessageIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00513 { +00514 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa11">getChildMessageIndex</a>( msg, child_index ); +00515 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta9" doxytag="NLAIAGENT::CAgentWatchTimer::getClass" ></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"> const <a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a>* NLAIAGENT::CAgentScript::getClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00421">421</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00126">NLAIAGENT::CActorScript::activate()</a>, <a class="el" href="a05412.html#l02420">NLAIAGENT::CAgentScript::callConstructor()</a>, <a class="el" href="a05412.html#l02450">NLAIAGENT::CAgentScript::callFunction()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>00422 { +00423 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>; +00424 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypez1764_0" doxytag="NLAIAGENT::CAgentWatchTimer::getClassName" ></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"> virtual std::string NLAIC::IPointerGestion::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">NLMISC::IClassable</a>. +<p> +Reimplemented in <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>. +<p> +Definition at line <a class="el" href="a05386.html#l00116">116</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00678">NLAISCRIPT::CAgentClass::isClassInheritedFrom()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"<unnamed>"</span>); +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta10" doxytag="NLAIAGENT::CAgentWatchTimer::getClassName" ></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"> const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * NLAIAGENT::CAgentScript::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the name of the class in the registry. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00079">79</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, and <a class="el" href="a05845.html#l00106">NLAISCRIPT::IClassInterpret::getClassName()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00080 { +00081 <span class="keyword">const</span> <a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *classname; +00082 <span class="keywordflow">if</span> ( <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a> != NULL ) +00083 { +00084 classname = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>(); +00085 } +00086 <span class="keywordflow">else</span> +00087 classname = <span class="keyword">new</span> CStringVarName(<span class="stringliteral">"<unknown>"</span>); <span class="comment">// Memory leak ?</span> +00088 +00089 <span class="keywordflow">return</span> classname; +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera21" doxytag="NLAIAGENT::CAgentWatchTimer::getClock" ></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"> virtual <a class="el" href="a04558.html#a14">sint</a> NLAIAGENT::CAgentWatchTimer::getClock </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimera21">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05417.html#l00189">189</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +References <a class="el" href="a05417.html#l00169">_Clock</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06733.html#l00218">NLAIAGENT::CVolatilMemmory::runMessage()</a>, and <a class="el" href="a05416.html#l00441">runMethodBase()</a>. +<p> +<div class="fragment"><pre>00190 { +00191 <span class="keywordflow">return</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a>; +00192 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera22" doxytag="NLAIAGENT::CAgentWatchTimer::getDebugString" ></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 NLAIAGENT::CAgentWatchTimer::getDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>t</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1672_1">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00370">370</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00715">NLAIAGENT::CAgentTimerHandle::getDebugString()</a>. +<p> +<div class="fragment"><pre>00371 { +00372 std::string <a class="code" href="a04223.html#a626">s</a>; +00373 ((<span class="keyword">const</span> IWordNumRef &)*<span class="keyword">this</span>).getNumIdent().getDebugString(s); +00374 <a class="code" href="a04223.html#a627">t</a> = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"timer: %s"</span>,<a class="code" href="a04223.html#a626">s</a>.c_str()); +00375 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_5" doxytag="NLAIAGENT::CAgentWatchTimer::getDynamicAgent" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::getDynamicAgent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">NLAIAGENT::IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>g</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get agent from the dynamic agent child. Method have an <a class="el" href="a02327.html">IBaseGroupType</a> argument where he must store an <a class="el" href="a03453.html">CStringType</a> representative of the name of the agent. +<p> +Definition at line <a class="el" href="a05412.html#l00884">884</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05646.html#l00236">x</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00885 { +00886 CStringType *<a class="code" href="a04223.html#a626">s</a> = (CStringType *)g-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">get</a>(); +00887 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00888 <a class="code" href="a04223.html#a628">r</a>.ResultState = IObjectIA::ProcessIdle; +00889 std::pair<TSetDefNameAgent::iterator,TSetDefNameAgent::iterator> p = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.equal_range(CKeyAgent(*s)); +00890 +00891 <span class="keywordflow">if</span>(p.first != p.second) +00892 { +00893 <a class="code" href="a04558.html#a14">sint</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.count(CKeyAgent(*s)); +00894 <a class="code" href="a04558.html#a14">sint</a> n = 0; +00895 CVectorGroupManager *<a class="code" href="a04223.html#a572">x</a>; +00896 <a class="code" href="a04223.html#a572">x</a> = <span class="keyword">new</span> CVectorGroupManager(size); +00897 <span class="keywordflow">while</span>(p.first != p.second) +00898 { +00899 (*p.first->Itr)->incRef(); +00900 <a class="code" href="a04223.html#a572">x</a>->set(n++, *p.first->Itr); +00901 p.first++; +00902 } +00903 +00904 <a class="code" href="a04223.html#a628">r</a>.Result = <a class="code" href="a04223.html#a572">x</a>; +00905 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00906 +00907 } +00908 <a class="code" href="a04223.html#a628">r</a>.Result = <span class="keyword">new</span> CVectorGroupManager(); +00909 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00910 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_6" doxytag="NLAIAGENT::CAgentWatchTimer::getDynamicName" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::getDynamicName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">NLAIAGENT::IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>g</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the instance name of the agent in its manager +<p> +Definition at line <a class="el" href="a05412.html#l01155">1155</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a05859.html#l00035">NLAIAGENT::CKeyAgent::Itr</a>, <a class="el" href="a05859.html#l00034">NLAIAGENT::CKeyAgent::Name</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>01156 { +01157 +01158 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01159 <span class="keyword">const</span> <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *o = ((CLocalAgentMail *)g-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">get</a>())->getHost(); +01160 TSetDefNameAgent::iterator i = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.begin(); +01161 +01162 <span class="keywordflow">while</span>(i != <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.end()) +01163 { +01164 CKeyAgent key = *i; +01165 <span class="keywordflow">if</span>( o == *key.Itr ) +01166 { +01167 CStringType *<a class="code" href="a04223.html#a626">s</a> = <span class="keyword">new</span> CStringType(key.Name); +01168 <a class="code" href="a04223.html#a628">r</a>.Result = <a class="code" href="a04223.html#a626">s</a>; +01169 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01170 } +01171 i ++; +01172 } +01173 <a class="code" href="a04223.html#a628">r</a>.Result = <span class="keyword">new</span> CStringType(CStringVarName(<span class="stringliteral">"Unknown"</span>)); +01174 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01175 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1673_0" doxytag="NLAIAGENT::CAgentWatchTimer::getFactBase" ></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"> virtual const <a class="el" href="a02501.html">NLAILOGIC::CFactBase</a>* NLAIAGENT::CAgentScript::getFactBase </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the fact base of the agent, if not exist it return NULL. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00386">386</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00387 { +00388 <span class="keywordflow">return</span> NULL; +00389 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_7" doxytag="NLAIAGENT::CAgentWatchTimer::getFactoryClass" ></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"> const <a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a>* NLAIAGENT::CAgentScript::getFactoryClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the creator of this instance. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00277">277</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00141">NLAIAGENT::COperatorScript::getType()</a>, and <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>. +<p> +<div class="fragment"><pre>00278 { +00279 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>; +00280 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta11" doxytag="NLAIAGENT::CAgentWatchTimer::getGoalStack" ></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"> virtual const std::vector<<a class="el" href="a02594.html">NLAILOGIC::CGoal</a> *>* NLAIAGENT::CAgentScript::getGoalStack </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00434">434</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00338">NLAIAGENT::COperatorScript::lookForGoals()</a>. +<p> +<div class="fragment"><pre>00435 { +00436 <span class="keywordflow">return</span> NULL; +00437 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea8" doxytag="NLAIAGENT::CAgentWatchTimer::getIdentType" ></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"> const <a class="el" href="a02649.html">CIdent</a> NLAIAGENT::IRefrence::getIdentType </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00480">480</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00358">NLAIAGENT::IRefrence::_NumRef</a>, <a class="el" href="a05803.html#l00430">NLAIAGENT::CNumericIndex::getId()</a>, and <a class="el" href="a03887.html#NLAIAGENT_1_1IWordNumRefa4">NLAIAGENT::IWordNumRef::getNumIdent()</a>. +<p> +<div class="fragment"><pre>00481 { +00482 <span class="keywordflow">return</span> CIdent(0,_NumRef->getNumIdent().getId()); +00483 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea4" doxytag="NLAIAGENT::CAgentWatchTimer::getInfo" ></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"> virtual const std::string NLAIC::IBasicType::getInfo </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00292">292</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00293 { +00294 std::string <a class="code" href="a04223.html#a626">s</a>; +00295 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(s); +00296 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a626">s</a>; +00297 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta14" doxytag="NLAIAGENT::CAgentWatchTimer::getMail" ></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"> <a class="el" href="a02786.html">IMailBox</a> * NLAIAGENT::IBasicAgent::getMail </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the mail box letter. +<p> + +<p> +Definition at line <a class="el" href="a05420.html#l00332">332</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00063">NLAIAGENT::IBasicAgent::_Mail</a>. +<p> +Referenced by <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a06133.html#l00828">NLAIAGENT::COperatorScript::checkTrigMsg()</a>, <a class="el" href="a05420.html#l00200">NLAIAGENT::IAgent::processMessages()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a05477.html#l00090">NLAIAGENT::IAgentComposite::removeChild()</a>, <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>, <a class="el" href="a05420.html#l00236">NLAIAGENT::IAgent::run()</a>, <a class="el" href="a05420.html#l00262">NLAIAGENT::IAgent::runStep()</a>, and <a class="el" href="a05420.html#l00326">NLAIAGENT::IBasicAgent::sendMessage()</a>. +<p> +<div class="fragment"><pre>00333 { +00334 <span class="keywordflow">return</span> <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentp8">_Mail</a>; +00335 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_8" doxytag="NLAIAGENT::CAgentWatchTimer::getMethode" ></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"> <a class="el" href="a03846.html">NLAISCRIPT::IOpCode</a> * NLAIAGENT::CAgentScript::getMethode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the closure correspondent of the method indexed by index. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00574">574</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05847.html#l00453">NLAISCRIPT::CAgentClass::getMethodIndexSize()</a>, <a class="el" href="a05845.html#l00078">NLAISCRIPT::IClassInterpret::getType()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00575 { +00576 <span class="keywordflow">if</span> ( <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a> != NULL ) +00577 { +00578 <span class="preprocessor">#ifdef NL_DEBUG </span> +00579 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_class_name = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00580 <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_base_class_name = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a>(); +00581 +00582 <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> >= <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_6">getMethodIndexSize</a>()) +00583 { +00584 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00585 } +00586 <span class="preprocessor">#endif</span> +00587 <span class="preprocessor"></span> <span class="keywordflow">return</span> (<a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> *)<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(index).getCode(); +00588 } +00589 <span class="keywordflow">else</span> +00590 <span class="keywordflow">return</span> NULL; +00591 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_9" doxytag="NLAIAGENT::CAgentWatchTimer::getMethode" ></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"> <a class="el" href="a03846.html">NLAISCRIPT::IOpCode</a> * NLAIAGENT::CAgentScript::getMethode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>inheritance</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>index</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the closure correspondent of the method indexed by index in the base class inheritance. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00558">558</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05847.html#l00453">NLAISCRIPT::CAgentClass::getMethodIndexSize()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05847.html#l00721">NLAISCRIPT::CAgentClass::sizeVTable()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, and <a class="el" href="a05412.html#l02112">NLAIAGENT::CAgentScript::runMethodeMember()</a>. +<p> +<div class="fragment"><pre>00559 { +00560 <span class="preprocessor">#ifdef NL_DEBUG</span> +00561 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> >= <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_6">getMethodIndexSize</a>()) +00562 { +00563 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00564 } +00565 +00566 <span class="keywordflow">if</span> ( inheritance >= <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_3">sizeVTable</a>()) +00567 { +00568 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00569 } +00570 <span class="preprocessor">#endif</span> +00571 <span class="preprocessor"></span> <span class="keywordflow">return</span> (<a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> *)<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(inheritance,index).getCode(); +00572 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_0" doxytag="NLAIAGENT::CAgentWatchTimer::getMethodeMemberDebugString" ></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"> std::string NLAIAGENT::CAgentScript::getMethodeMemberDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The methode getMethodeMemberDebugString(sint32 heritance, sint32 index) return a string that define the name and the argument of the method +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea5">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05412.html#l02012">2012</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05412.html#l02107">NLAIAGENT::CAgentScript::getBaseMethodCount()</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05420.html#l00447">NLAIAGENT::IBasicAgent::getMethodIndexSize()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw3">NLAIAGENT::CAgentScript::TAddChildTag</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw6">NLAIAGENT::CAgentScript::TFather</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw7">NLAIAGENT::CAgentScript::TGetChildTag</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw9">NLAIAGENT::CAgentScript::TGetName</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw10">NLAIAGENT::CAgentScript::TGetValue</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw11">NLAIAGENT::CAgentScript::TInitComponent</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw17">NLAIAGENT::CAgentScript::TRunAskComponent</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw19">NLAIAGENT::CAgentScript::TRunAskParentNotify</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw20">NLAIAGENT::CAgentScript::TRunTellComponent</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw21">NLAIAGENT::CAgentScript::TRunTellParentNotify</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw22">NLAIAGENT::CAgentScript::TSelf</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw23">NLAIAGENT::CAgentScript::TSend</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw24">NLAIAGENT::CAgentScript::TSendComponent</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw25">NLAIAGENT::CAgentScript::TSetStatic</a>, and <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw26">NLAIAGENT::CAgentScript::TSetValue</a>. +<p> +<div class="fragment"><pre>02013 { +02014 <span class="keywordtype">int</span> i = <span class="keywordtype">id</span> - <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera17">getBaseMethodCount</a>(); +02015 <span class="keywordflow">if</span>(i >= 0) +02016 { +02017 std::string name; +02018 <span class="keywordflow">if</span>(h) +02019 { +02020 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(h,i).getName().getDebugString(name); +02021 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(h,i).getParam().getDebugString(name); +02022 } +02023 <span class="keywordflow">else</span> +02024 { +02025 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(i).getName().getDebugString(name); +02026 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(i).getParam().getDebugString(name); +02027 } +02028 <span class="keywordflow">return</span> name; +02029 } +02030 +02031 <span class="keywordflow">switch</span>(<span class="keywordtype">id</span> - IAgent::getMethodIndexSize()) +02032 { +02033 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw23">TSend</a>: +02034 { +02035 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::sendMessage(IMessage)"</span>); +02036 } +02037 +02038 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw24">TSendComponent</a>: +02039 { +02040 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::sendMessage(String,IMessage)"</span>); +02041 } +02042 +02043 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw7">TGetChildTag</a>: +02044 { +02045 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::getDynamicAgent(String)"</span>); +02046 } +02047 +02048 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw3">TAddChildTag</a>: +02049 { +02050 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::addDynamicAgent(String,IAgent)"</span>); +02051 } +02052 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw6">TFather</a>: +02053 { +02054 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::Father()"</span>); +02055 } +02056 +02057 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw22">TSelf</a>: +02058 { +02059 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::Self()"</span>); +02060 } +02061 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw9">TGetName</a>: +02062 { +02063 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::GetAgentName()"</span>); +02064 } +02065 +02066 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw19">TRunAskParentNotify</a>: +02067 { +02068 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::runAskParentNotify(CNotifyParent)"</span>); +02069 } +02070 +02071 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw21">TRunTellParentNotify</a>: +02072 { +02073 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::runTellarentNotify(CNotifyParent)"</span>); +02074 } +02075 +02076 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw17">TRunAskComponent</a>: +02077 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw20">TRunTellComponent</a>: +02078 { +02079 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::runTell/AskCompoment(MsgTellCompoment)"</span>); +02080 } +02081 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw25">TSetStatic</a>: +02082 { +02083 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::updateStaticMember(String, IObjectIA *)"</span>); +02084 } +02085 +02086 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw10">TGetValue</a>: +02087 { +02088 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::runAskGetValue(MsgGetValue)"</span>); +02089 } +02090 +02091 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw26">TSetValue</a>: +02092 { +02093 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::runTellSetValue(MsgGetValue)"</span>); +02094 } +02095 +02096 <span class="keywordflow">case</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw11">TInitComponent</a>: +02097 { +02098 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"CAgentScript::runInitComponent(MsgGetValue)"</span>); +02099 } +02100 +02101 +02102 <span class="keywordflow">default</span>: +02103 <span class="keywordflow">return</span> IAgentManager::getMethodeMemberDebugString(h,<span class="keywordtype">id</span>); +02104 } +02105 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera27" doxytag="NLAIAGENT::CAgentWatchTimer::getMethodIndexSize" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::CAgentWatchTimer::getMethodIndexSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +getMethodIndexSize define the nomber of method define in the class. +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_1">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00417">417</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05412.html#l00632">NLAIAGENT::CAgentScript::getMethodIndexSize()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00754">NLAIAGENT::CAgentTimerHandle::getMethodIndexSize()</a>. +<p> +<div class="fragment"><pre>00418 { +00419 <span class="keywordflow">return</span> CAgentScript::getMethodIndexSize() + CAgentWatchTimer::TLastM; +00420 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea13" doxytag="NLAIAGENT::CAgentWatchTimer::getOwner" ></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"> const <a class="el" href="a02165.html">IRefrence</a> * NLAIAGENT::IRefrence::getOwner </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To get the top level parent of this agent. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00402">402</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00390">NLAIAGENT::IRefrence::getParent()</a>. +<p> +<div class="fragment"><pre>00403 { +00404 <span class="keyword">const</span> <a class="code" href="a02165.html#NLAIAGENT_1_1IRefrenceb0">IRefrence</a> *p = <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>(); +00405 +00406 <span class="keywordflow">if</span>(p == NULL) <span class="keywordflow">return</span> <span class="keyword">this</span>; +00407 +00408 <span class="keywordflow">while</span>( <span class="keyword">true</span> ) +00409 { +00410 <span class="keywordflow">if</span>(p->getParent() == NULL) <span class="keywordflow">return</span> p; +00411 } +00412 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta16" doxytag="NLAIAGENT::CAgentWatchTimer::getParent" ></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"> <a class="el" href="a02164.html">IConnectIA</a> * NLAIAGENT::IConnectIA::getParent </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the agent parents +<p> + +<p> +Reimplemented from <a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea14">NLAIAGENT::IRefrence</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00511">511</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00126">NLAIAGENT::CActorScript::activate()</a>, <a class="el" href="a06133.html#l00383">NLAIAGENT::COperatorScript::calcPriority()</a>, <a class="el" href="a06133.html#l00828">NLAIAGENT::COperatorScript::checkTrigMsg()</a>, <a class="el" href="a05475.html#l00618">NLAIAGENT::IConnectIA::Kill()</a>, <a class="el" href="a06133.html#l00338">NLAIAGENT::COperatorScript::lookForGoals()</a>, <a class="el" href="a05964.html#l00128">NLAIAGENT::CLocalMailBox::newInstance()</a>, <a class="el" href="a05420.html#l00098">NLAIAGENT::IAgent::newInstance()</a>, <a class="el" href="a05387.html#l00111">NLAIAGENT::CActor::newInstance()</a>, <a class="el" href="a05475.html#l00651">NLAIAGENT::IConnectIA::onKill()</a>, <a class="el" href="a05420.html#l00546">NLAIAGENT::IBasicAgent::runAsk()</a>, <a class="el" href="a05412.html#l00923">NLAIAGENT::CAgentScript::runAskDebugString()</a>, <a class="el" href="a05412.html#l00912">NLAIAGENT::CAgentScript::runAskParentNotify()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05389.html#l00454">NLAIAGENT::CActorScript::runMethodBase()</a>, <a class="el" href="a05420.html#l00494">NLAIAGENT::IBasicAgent::runMethodeMember()</a>, <a class="el" href="a05412.html#l00953">NLAIAGENT::CAgentScript::runTellParentNotify()</a>, <a class="el" href="a05475.html#l00661">NLAIAGENT::IConnectIA::setParent()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>00512 { +00513 <span class="keywordflow">return</span> (<a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *)IRefrence::getParent(); +00514 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_2" doxytag="NLAIAGENT::CAgentWatchTimer::getPrivateMember" ></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"> <a class="el" href="a05364.html#a31">TQueue</a> NLAIAGENT::CAgentScript::getPrivateMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02228">2228</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05412.html#l02324">NLAIAGENT::isTemplateMember()</a>, <a class="el" href="a05646.html#l00683">param</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00774">NLAIAGENT::CActorScript::getPrivateMember()</a>, and <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>. +<p> +<div class="fragment"><pre>02229 { +02230 +02231 <span class="preprocessor">#ifdef NL_DEBUG</span> +02232 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dgb_meth_name = methodName-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +02233 <span class="preprocessor">#endif</span> +02234 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a05364.html#a42">isTemplateMember</a>(CAgentScript::StaticMethod,CAgentScript::TLastM,IAgent::getMethodIndexSize(),className,methodName,param); +02235 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea8" doxytag="NLAIAGENT::CAgentWatchTimer::getRef" ></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"> const <a class="el" href="a04558.html#a10">sint32</a>& NLAIC::IPointerGestion::getRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the refence count. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00099">99</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>. +<p> +<div class="fragment"><pre>00100 { +00101 <span class="keywordflow">return</span> _Ref; +00102 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta18" doxytag="NLAIAGENT::CAgentWatchTimer::getState" ></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"> const <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> & NLAIAGENT::IBasicAgent::getState </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the curent state of the agent. +<p> + +<p> +Implements <a class="el" href="a02164.html#NLAIAGENT_1_1IMailBoxz1685_0">NLAIAGENT::IConnectIA</a>. +<p> +Definition at line <a class="el" href="a05420.html#l00309">309</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00061">NLAIAGENT::IBasicAgent::_RunState</a>. +<p> +Referenced by <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>, <a class="el" href="a05420.html#l00236">NLAIAGENT::IAgent::run()</a>, <a class="el" href="a05416.html#l00631">NLAIAGENT::CAgentClockTimer::runActivity()</a>, <a class="el" href="a05416.html#l00280">runActivity()</a>, <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>, <a class="el" href="a05420.html#l00137">NLAIAGENT::IAgent::runChildrenStepByStep()</a>, and <a class="el" href="a05420.html#l00262">NLAIAGENT::IAgent::runStep()</a>. +<p> +<div class="fragment"><pre>00310 { +00311 <span class="keywordflow">return</span> <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentp10">_RunState</a>; +00312 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea9" doxytag="NLAIAGENT::CAgentWatchTimer::getStaticMember" ></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"> const <a class="el" href="a02149.html">IObjectIA</a>* NLAIAGENT::IObjectIA::getStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>compName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the pointer of a given components referened by an string. +<p> +Definition at line <a class="el" href="a05476.html#l00261">261</a> of file <a class="el" href="a05476.html">baseai.h</a>. +<p> +References <a class="el" href="a05475.html#l00193">NLAIAGENT::IObjectIA::getStaticMember()</a>, and <a class="el" href="a05475.html#l00188">NLAIAGENT::IObjectIA::getStaticMemberIndex()</a>. +<p> +<div class="fragment"><pre>00262 { +00263 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_3">getStaticMember</a>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">getStaticMemberIndex</a>(compName)); +00264 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_3" doxytag="NLAIAGENT::CAgentWatchTimer::getStaticMember" ></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"> const <a class="el" href="a02149.html">IObjectIA</a> * NLAIAGENT::CAgentScript::getStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the pointer of a given components referened by an index. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea10">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00547">547</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>. +<p> +<div class="fragment"><pre>00548 { +00549 <span class="preprocessor">#ifdef NL_DEBUG</span> +00550 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> >= <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> ) +00551 { +00552 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00553 } +00554 <span class="preprocessor">#endif</span> +00555 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[ <a class="code" href="a04223.html#a566">index</a> ]; +00556 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_4" doxytag="NLAIAGENT::CAgentWatchTimer::getStaticMemberIndex" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::CAgentScript::getStaticMemberIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the index of a given components name. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea11">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05412.html#l02319">2319</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05847.html#l00344">NLAISCRIPT::CAgentClass::getInheritedStaticMemberIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a05412.html#l01032">NLAIAGENT::CAgentScript::runTellSetValue()</a>, and <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>. +<p> +<div class="fragment"><pre>02320 { +02321 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa20">getInheritedStaticMemberIndex</a>(name); +02322 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_5" doxytag="NLAIAGENT::CAgentWatchTimer::getStaticMemberSize" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::CAgentScript::getStaticMemberSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Static member is the component that the agent is create and die with. getStaticMemberSize to get the size of the static member components +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea12">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00542">542</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00543 { +00544 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>;<span class="comment">//_AgentClass->getStaticMemberSize();</span> +00545 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera33" doxytag="NLAIAGENT::CAgentWatchTimer::getSubscribedCount" ></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"> <a class="el" href="a04558.html#a14">sint</a> NLAIAGENT::CAgentWatchTimer::getSubscribedCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05417.html#l00204">204</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06733.html#l00038">NLAIAGENT::CHashTimerManager::getTimer()</a>. +<p> +<div class="fragment"><pre>00205 { +00206 <span class="keywordflow">return</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.size(); +00207 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta20" doxytag="NLAIAGENT::CAgentWatchTimer::getTopGoal" ></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"> virtual <a class="el" href="a02594.html">NLAILOGIC::CGoal</a>* NLAIAGENT::CAgentScript::getTopGoal </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00429">429</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00430 { +00431 <span class="keywordflow">return</span> NULL; +00432 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera35" doxytag="NLAIAGENT::CAgentWatchTimer::getType" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & NLAIAGENT::CAgentWatchTimer::getType </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +getType return a unique string how represente the class, it can be the name of the class. This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1672_2">NLAIAGENT::CAgentScript</a>. +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimera35">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00275">275</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05416.html#l00227">IdAgentWatchTimer</a>. +<p> +<div class="fragment"><pre>00276 { +00277 <span class="keywordflow">return</span> *<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers2">IdAgentWatchTimer</a>; +00278 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera36" doxytag="NLAIAGENT::CAgentWatchTimer::haveActivity" ></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"> virtual bool NLAIAGENT::CAgentWatchTimer::haveActivity </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +allow to know if the agent have an activity process to run. +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_6">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05417.html#l00211">211</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +<div class="fragment"><pre>00212 { +00213 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00214 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea16" doxytag="NLAIAGENT::CAgentWatchTimer::incRef" ></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 NLAIC::IPointerGestion::incRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00080">80</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00174">NLAIAGENT::CSeqFsmScript::activate()</a>, <a class="el" href="a05697.html#l00215">NLAILOGIC::CFactBase::addAssert()</a>, <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a05422.html#l00052">NLAILOGIC::IBaseAssert::addInput()</a>, <a class="el" href="a05499.html#l00118">NLAILOGIC::CBoolOperator::addPostcondition()</a>, <a class="el" href="a05499.html#l00110">NLAILOGIC::CBoolOperator::addPrecondition()</a>, <a class="el" href="a05763.html#l00829">NLAILOGIC::CInternalGoal::addPredecessor()</a>, <a class="el" href="a05763.html#l00502">NLAILOGIC::CGoal::addPredecessor()</a>, <a class="el" href="a05753.html#l00088">NLAIFUZZY::CFuzzyVar::addSet()</a>, <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a05695.html#l00177">NLAILOGIC::CFact::asValueSet()</a>, <a class="el" href="a05416.html#l00396">attach()</a>, <a class="el" href="a06662.html#l00539">NLAISCRIPT::CCompilateur::buildObject()</a>, <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, <a class="el" href="a06129.html#l00046">NLAIAGENT::CAgentOperation::CAgentOperation()</a>, <a class="el" href="a05416.html#l00676">NLAIAGENT::CAgentTimerHandle::CAgentTimerHandle()</a>, <a class="el" href="a06755.html#l00816">NLAISCRIPT::CCompilateur::callFunction()</a>, <a class="el" href="a05845.html#l00114">NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory()</a>, <a class="el" href="a05573.html#l00055">NLAISCRIPT::CCodeBrancheRunDebug::CCodeBrancheRunDebug()</a>, <a class="el" href="a05590.html#l00208">NLAISCRIPT::CCompilateur::CCompilateur()</a>, <a class="el" href="a05699.html#l00054">NLAISCRIPT::CFactorType::CFactorType()</a>, <a class="el" href="a05600.html#l00076">NLAISCRIPT::CFunctionTag::CFunctionTag()</a>, <a class="el" href="a06133.html#l00828">NLAIAGENT::COperatorScript::checkTrigMsg()</a>, <a class="el" href="a05804.html#l00140">NLAIC::CIdentType::CIdentType()</a>, <a class="el" href="a05475.html#l00083">NLAIAGENT::CIdMethod::CIdMethod()</a>, <a class="el" href="a05859.html#l00060">NLAIAGENT::CKeyObject::CKeyObject()</a>, <a class="el" href="a06120.html#l00637">NLAISCRIPT::CFindRunMsg::clone()</a>, <a class="el" href="a06114.html#l00079">NLAISCRIPT::CObjectUnknown::clone()</a>, <a class="el" href="a05605.html#l00180">NLAISCRIPT::CConstraintStackComp::clone()</a>, <a class="el" href="a05603.html#l00038">NLAISCRIPT::CConstraintFindRun::clone()</a>, <a class="el" href="a05599.html#l00332">NLAISCRIPT::CConstraintMethode::clone()</a>, <a class="el" href="a05421.html#l00132">NLAILINK::IOTrace::clone()</a>, <a class="el" href="a05843.html#l00313">NLAISCRIPT::CMethodeName::CMethodeName()</a>, <a class="el" href="a05848.html#l00115">NLAISCRIPT::CAgentClass::CMethodType::CMethodType()</a>, <a class="el" href="a06114.html#l00056">NLAISCRIPT::CObjectUnknown::CObjectUnknown()</a>, <a class="el" href="a05407.html#l00178">NLAIAGENT::CPairType::CPairType()</a>, <a class="el" href="a05847.html#l00609">NLAISCRIPT::CAgentClass::createComponents()</a>, <a class="el" href="a06658.html#l00051">NLAILOGIC::CValueSet::CValueSet()</a>, <a class="el" href="a06660.html#l00117">NLAILOGIC::CVar::CVar()</a>, <a class="el" href="a06658.html#l00532">NLAILOGIC::CValueSet::forward()</a>, <a class="el" href="a06065.html#l00124">NLAIAGENT::IMessageBase::IMessageBase()</a>, <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>, <a class="el" href="a06755.html#l00999">NLAISCRIPT::CCompilateur::initMessageManager()</a>, <a class="el" href="a05854.html#l00743">NLAISCRIPT::COperatorClass::isValidFonc()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06131.html#l00122">NLAILOGIC::IBaseOperator::load()</a>, <a class="el" href="a05847.html#l00783">NLAISCRIPT::CAgentClass::load()</a>, <a class="el" href="a05845.html#l00038">NLAISCRIPT::CComponent::load()</a>, <a class="el" href="a05843.html#l00404">NLAISCRIPT::CMethodeName::load()</a>, <a class="el" href="a05770.html#l00683">NLAIAGENT::CVectorGroupType::operator+()</a>, <a class="el" href="a05770.html#l00269">NLAIAGENT::CGroupType::operator+()</a>, <a class="el" href="a06140.html#l00053">NLAISCRIPT::CPramContainer::operator+=()</a>, <a class="el" href="a06065.html#l00150">NLAIAGENT::IMessageBase::operator=()</a>, <a class="el" href="a05859.html#l00079">NLAIAGENT::CKeyObject::operator=()</a>, <a class="el" href="a05848.html#l00122">NLAISCRIPT::CAgentClass::CMethodType::operator=()</a>, <a class="el" href="a05600.html#l00089">NLAISCRIPT::CFunctionTag::operator=()</a>, <a class="el" href="a05475.html#l00068">NLAIAGENT::CIdMethod::operator=()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a06662.html#l00389">NLAISCRIPT::CCompilateur::pushParamExpression()</a>, <a class="el" href="a05603.html#l00047">NLAISCRIPT::CConstraintFindRun::run()</a>, <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>, <a class="el" href="a05412.html#l01006">NLAIAGENT::CAgentScript::runAskGetValue()</a>, <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>, <a class="el" href="a05966.html#l00096">NLAIAGENT::CMainAgentScript::runExec()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a06129.html#l00262">NLAIAGENT::CAgentOperation::runMethodBase()</a>, <a class="el" href="a05416.html#l00441">runMethodBase()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05389.html#l00454">NLAIAGENT::CActorScript::runMethodBase()</a>, <a class="el" href="a06065.html#l00371">NLAIAGENT::IMessageBase::runMethodeMember()</a>, <a class="el" href="a05770.html#l00151">NLAIAGENT::IBaseGroupType::runMethodeMember()</a>, <a class="el" href="a05420.html#l00494">NLAIAGENT::IBasicAgent::runMethodeMember()</a>, <a class="el" href="a06126.html#l00235">NLAISCRIPT::CLdbRefOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00191">NLAISCRIPT::CLdbMemberiOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00135">NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00087">NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode()</a>, <a class="el" href="a06124.html#l00278">NLAISCRIPT::CCallStackMethodi::runOpCode()</a>, <a class="el" href="a06124.html#l00214">NLAISCRIPT::CCallStackNewMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00288">NLAISCRIPT::CLibStackNewMemberMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00242">NLAISCRIPT::CLibStackMemberMethod::runOpCode()</a>, <a class="el" href="a06121.html#l00960">NLAISCRIPT::CAffOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00724">NLAISCRIPT::CAddParamNameDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00449">NLAISCRIPT::CAffOpCodeDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00413">NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00334">NLAISCRIPT::CAffMemberOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00317">NLAISCRIPT::CAffMemberiOpCode::runOpCode()</a>, <a class="el" href="a05412.html#l00989">NLAIAGENT::CAgentScript::runTellComponent()</a>, <a class="el" href="a05412.html#l01032">NLAIAGENT::CAgentScript::runTellSetValue()</a>, <a class="el" href="a06124.html#l00080">NLAISCRIPT::CMethodContextDebug::saveContext()</a>, <a class="el" href="a06124.html#l00041">NLAISCRIPT::CMethodContext::saveContext()</a>, <a class="el" href="a05412.html#l01197">NLAIAGENT::CAgentScript::sendBroadCast()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, <a class="el" href="a05412.html#l01186">NLAIAGENT::CAgentScript::sendMethodCompoment()</a>, <a class="el" href="a06733.html#l00167">NLAIAGENT::CVolatilMemmory::sendUpdateMessage()</a>, <a class="el" href="a05699.html#l00040">NLAISCRIPT::CFactorType::set()</a>, <a class="el" href="a06131.html#l00150">NLAILOGIC::IBaseOperator::setGoal()</a>, <a class="el" href="a06662.html#l00439">NLAISCRIPT::CCompilateur::setImediateVarNill()</a>, <a class="el" href="a06662.html#l00492">NLAISCRIPT::CCompilateur::setMethodVar()</a>, <a class="el" href="a06662.html#l00337">NLAISCRIPT::CCompilateur::setParamVarName()</a>, <a class="el" href="a05600.html#l00105">NLAISCRIPT::CFunctionTag::setTypeObject()</a>, <a class="el" href="a06660.html#l00147">NLAILOGIC::CVar::setValue()</a>, <a class="el" href="a06658.html#l00140">NLAILOGIC::CValueSet::setValue()</a>, <a class="el" href="a05416.html#l00291">tellBroker()</a>, <a class="el" href="a06755.html#l00765">NLAISCRIPT::CCompilateur::typeOfMethod()</a>, <a class="el" href="a06660.html#l00242">NLAILOGIC::CVar::unify()</a>, <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>, and <a class="el" href="a06129.html#l00085">NLAIAGENT::CAgentOperation::update()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 _Ref ++; +00083 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea17" doxytag="NLAIAGENT::CAgentWatchTimer::init" ></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 NLAIAGENT::IObjectIA::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Init method alows to init the attribut of an object. the maparmetre is in more time a list of <a class="el" href="a02149.html">IObjectIA</a>. +<p> +Reimplemented in <a class="el" href="a03392.html#NLAIFUZZY_1_1CSimpleFuzzyConda17">NLAIFUZZY::CSimpleFuzzyCond</a>, <a class="el" href="a02570.html#NLAIFUZZY_1_1CFuzzyRulea22">NLAIFUZZY::CFuzzyRule</a>, <a class="el" href="a02573.html#NLAIFUZZY_1_1CFuzzyRuleSeta16">NLAIFUZZY::CFuzzyRuleSet</a>, <a class="el" href="a02568.html#NLAIFUZZY_1_1CFuzzyIntervala21">NLAIFUZZY::CFuzzyInterval</a>, <a class="el" href="a03339.html#NLAIFUZZY_1_1CRightFuzzySeta21">NLAIFUZZY::CRightFuzzySet</a>, <a class="el" href="a03619.html#NLAIFUZZY_1_1CTriangleFuzzySeta21">NLAIFUZZY::CTriangleFuzzySet</a>, <a class="el" href="a03615.html#NLAIFUZZY_1_1CTrapezeFuzzySeta21">NLAIFUZZY::CTrapezeFuzzySet</a>, <a class="el" href="a02730.html#NLAIFUZZY_1_1CLeftFuzzySeta21">NLAIFUZZY::CLeftFuzzySet</a>, <a class="el" href="a02574.html#NLAIFUZZY_1_1CFuzzyVara26">NLAIFUZZY::CFuzzyVar</a>, <a class="el" href="a02531.html#NLAILOGIC_1_1CFirstOrderAsserta30">NLAILOGIC::CFirstOrderAssert</a>, <a class="el" href="a03342.html#NLAILOGIC_1_1CRulea34">NLAILOGIC::CRule</a>, and <a class="el" href="a02505.html#NLAILOGIC_1_1CFactPatterna22">NLAILOGIC::CFactPattern</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00116">116</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +Referenced by <a class="el" href="a05749.html#l00304">NLAIFUZZY::IFuzzySet::runMethodeMember()</a>, and <a class="el" href="a06121.html#l00058">NLAISCRIPT::CLdbNewOpCode::runOpCode()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgente0" doxytag="NLAIAGENT::CAgentWatchTimer::initAgentScript" ></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 NLAIAGENT::CAgentScript::initAgentScript </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00092">92</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05403.html#l00079">_ADD_SET_</a>, <a class="el" href="a05403.html#l00035">_ADDCHILD_</a>, <a class="el" href="a05403.html#l00071">_FATHER_</a>, <a class="el" href="a05403.html#l00033">_GETCHILD_</a>, <a class="el" href="a05403.html#l00040">_GETNAME_</a>, <a class="el" href="a05403.html#l00078">_ISA_</a>, <a class="el" href="a05403.html#l00037">_REMOVECHILD_</a>, <a class="el" href="a05403.html#l00043">_RUNASK_</a>, <a class="el" href="a05403.html#l00042">_RUNTEL_</a>, <a class="el" href="a05403.html#l00059">_SELF_</a>, <a class="el" href="a05403.html#l00031">_SEND_</a>, <a class="el" href="a05403.html#l00046">_SETSTATIC_</a>, <a class="el" href="a05421.html#l00161">NLAILINK::buildScript()</a>, <a class="el" href="a05412.html#l00067">NLAIAGENT::CAgentScript::IdMsgNotifyParent</a>, <a class="el" href="a02974.html#NLAISCRIPT_1_1CMsgNotifyParentClasss2">NLAISCRIPT::CMsgNotifyParentClass::IdMsgNotifyParentClass</a>, <a class="el" href="a05412.html#l00066">NLAIAGENT::CAgentScript::IdMsgNotifyParentClass</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05412.html#l00063">NLAIAGENT::CAgentScript::msgPerf</a>, <a class="el" href="a05412.html#l00062">NLAIAGENT::CAgentScript::msgType</a>, <a class="el" href="a05412.html#l00071">NLAIAGENT::CAgentScript::ParamGetValueMsg</a>, <a class="el" href="a05412.html#l00070">NLAIAGENT::CAgentScript::ParamIdGetValueMsg</a>, <a class="el" href="a05412.html#l00076">NLAIAGENT::CAgentScript::ParamIdInitComponentMsg</a>, <a class="el" href="a05412.html#l00072">NLAIAGENT::CAgentScript::ParamIdSetValueMsg</a>, <a class="el" href="a05412.html#l00077">NLAIAGENT::CAgentScript::ParamInitComponentMsg</a>, <a class="el" href="a05412.html#l00068">NLAIAGENT::CAgentScript::ParamRunParentNotify</a>, <a class="el" href="a05412.html#l00073">NLAIAGENT::CAgentScript::ParamSetValueMsg</a>, <a class="el" href="a05412.html#l00075">NLAIAGENT::CAgentScript::ParamTellComponentMsg</a>, <a class="el" href="a05412.html#l00065">NLAIAGENT::CAgentScript::SendCompParamMessageScript</a>, and <a class="el" href="a05412.html#l00064">NLAIAGENT::CAgentScript::SendParamMessageScript</a>. +<p> +Referenced by <a class="el" href="a05421.html#l00024">NLAILINK::initIALib()</a>. +<p> +<div class="fragment"><pre>00093 { +00094 +00095 std::string msgStr; +00096 std::string scriptName(<span class="stringliteral">"MsgAgentScript"</span>); +00097 msgStr = std::string(<span class="stringliteral">"From Message : Define MsgTellComponent\n{"</span>); +00098 msgStr += std::string(<span class="stringliteral">"Component:\n"</span>); +00099 msgStr += std::string(<span class="stringliteral">"\tString<'CompomentName'>;\n"</span>); +00100 msgStr += std::string(<span class="stringliteral">"\tMessage<'MsgType'>;\n"</span>); +00101 msgStr += std::string(<span class="stringliteral">"End\n"</span>); +00102 +00103 +00104 msgStr += std::string(<span class="stringliteral">"Constructor(String i; Message msg)\n"</span>); +00105 msgStr += std::string(<span class="stringliteral">"\tCompomentName = i;\n"</span>); +00106 msgStr += std::string(<span class="stringliteral">"\tMsgType = msg;\n"</span>); +00107 msgStr += std::string(<span class="stringliteral">"End\n"</span>); +00108 msgStr += std::string(<span class="stringliteral">"}\n"</span>); +00109 <span class="comment">//NLAILINK::buildScript(msgStr,scriptName);</span> +00110 +00111 msgStr += std::string(<span class="stringliteral">"From Message : Define MsgInitCompoment\n{"</span>); +00112 msgStr += std::string(<span class="stringliteral">"Component:\n"</span>); +00113 msgStr += std::string(<span class="stringliteral">"End\n}\n"</span>); +00114 +00115 msgStr += std::string(<span class="stringliteral">"From Message : Define MsgDebugString\n{"</span>); +00116 msgStr += std::string(<span class="stringliteral">"Component:\n"</span>); +00117 msgStr += std::string(<span class="stringliteral">"End\n}\n"</span>); +00118 +00119 +00120 <a class="code" href="a05369.html#a7">NLAILINK::buildScript</a>(msgStr,scriptName); +00121 +00122 <span class="keyword">static</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> idMsgTellComponentType (<span class="stringliteral">"MsgTellComponent"</span>); +00123 <span class="keyword">static</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> idMsgInitComponentType (<span class="stringliteral">"MsgInitCompoment"</span>); +00124 <span class="keyword">static</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> idMsgDebugString (<span class="stringliteral">"MsgDebugString"</span>); +00125 +00126 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents5">msgType</a> = <span class="keyword">new</span> <a class="code" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a>(3, +00127 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CMessageList::IdMessage), +00128 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CMessageVector::IdMessageVector), +00129 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CMessageClass::IdMessageClass)); +00130 +00131 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents4">msgPerf</a> = <span class="keyword">new</span> NLAISCRIPT::COperandSimpleListOr(7, +00132 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPExec::IdPExec), +00133 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPAchieve::IdPAchieve), +00134 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPAsk::IdPAsk), +00135 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPBreak::IdPBreak), +00136 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPTell::IdPTell), +00137 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPKill::IdPKill), +00138 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CPError::IdPError)); +00139 +00140 +00141 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents24">SendParamMessageScript</a> = <span class="keyword">new</span> <a class="code" href="a03039.html">NLAISCRIPT::CParam</a>(2,msgPerf, msgType); +00142 +00143 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents4">msgPerf</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00144 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents5">msgType</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00145 +00146 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents23">SendCompParamMessageScript</a> = <span class="keyword">new</span> NLAISCRIPT::CParam(3,<span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CStringType::IdStringType)), +00147 msgPerf, msgType); +00148 +00149 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents3">IdMsgNotifyParentClass</a> = <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CMsgNotifyParentClass::IdMsgNotifyParentClass)); +00150 +00151 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents2">IdMsgNotifyParent</a> = <span class="keyword">new</span> NLAISCRIPT::COperandSimpleListOr(2, +00152 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CMsgNotifyParentClass::IdMsgNotifyParentClass), +00153 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CNotifyParentScript::IdNotifyParentScript)); +00154 +00155 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents12">ParamRunParentNotify</a> = <span class="keyword">new</span> NLAISCRIPT::CParam(1,IdMsgNotifyParent); +00156 +00157 NLAISCRIPT::COperandSimple *idMsgTellComponent = <span class="keyword">new</span> NLAISCRIPT::COperandSimple(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(idMsgTellComponentType)); +00158 NLAISCRIPT::CParam *<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents15">ParamTellComponentMsg</a> = <span class="keyword">new</span> NLAISCRIPT::CParam(1,idMsgTellComponent); +00159 +00160 NLAISCRIPT::COperandSimple *idOpMsgDebugString = <span class="keyword">new</span> NLAISCRIPT::COperandSimple(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(idMsgDebugString)); +00161 NLAISCRIPT::CParam *ParamMsgDebugString = <span class="keyword">new</span> NLAISCRIPT::CParam(1,idOpMsgDebugString); +00162 +00163 CAgentScript::ParamIdGetValueMsg = <span class="keyword">new</span> NLAISCRIPT::COperandSimpleListOr(2, +00164 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIAGENT::CGetValueMsg::IdGetValueMsg), +00165 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CGetValueMsgClass::IdGetValueMsgClass) ); +00166 +00167 CAgentScript::ParamGetValueMsg = <span class="keyword">new</span> NLAISCRIPT::CParam(1,ParamIdGetValueMsg); +00168 +00169 CAgentScript::ParamIdSetValueMsg = <span class="keyword">new</span> NLAISCRIPT::COperandSimpleListOr(2, +00170 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIAGENT::CSetValueMsg::IdSetValueMsg), +00171 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CSetValueMsgClass::IdSetValueMsgClass) ); +00172 +00173 CAgentScript::ParamSetValueMsg = <span class="keyword">new</span> NLAISCRIPT::CParam(1,ParamIdSetValueMsg); +00174 +00176 CAgentScript::ParamIdInitComponentMsg = <span class="keyword">new</span> NLAISCRIPT::COperandSimpleListOr(2, +00177 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(idMsgInitComponentType), +00178 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(idMsgInitComponentType) ); +00179 +00180 CAgentScript::ParamInitComponentMsg = <span class="keyword">new</span> NLAISCRIPT::CParam(1,ParamIdInitComponentMsg); +00182 +00183 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a> = <span class="keyword">new</span> CAgentScript::CMethodCall *[CAgentScript::TLastM]; +00184 +00185 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TRunAskParentNotify] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNASK_, +00186 CAgentScript::TRunAskParentNotify, ParamRunParentNotify, +00187 CAgentScript::CheckAll, +00188 1, +00189 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(IdMsgNotifyParentClass)); +00190 +00191 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents3">IdMsgNotifyParentClass</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00192 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents12">ParamRunParentNotify</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00193 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TRunTellParentNotify] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNTEL_, +00194 CAgentScript::TRunTellParentNotify, ParamRunParentNotify, +00195 CAgentScript::CheckAll, +00196 1, +00197 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(IdMsgNotifyParentClass)); +00198 +00199 idMsgTellComponent-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00200 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TRunTellComponent] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNTEL_, +00201 CAgentScript::TRunTellComponent, ParamTellComponentMsg, +00202 CAgentScript::CheckAll, +00203 1, +00204 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(idMsgTellComponent)); +00205 +00206 idOpMsgDebugString-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00207 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TRunAskDebugString] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNASK_, +00208 CAgentScript::TRunAskDebugString, ParamMsgDebugString, +00209 CAgentScript::CheckAll, +00210 1, +00211 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(idOpMsgDebugString)); +00212 +00213 <span class="comment">/*idOpMsgDebugString->incRef();</span> +00214 <span class="comment"> ParamMsgDebugString->incRef();</span> +00215 <span class="comment"> StaticMethod[CAgentScript::TRunAskDebugString] = new CAgentScript::CMethodCall( _RUNTEL_, </span> +00216 <span class="comment"> CAgentScript::TRunTellComponent, ParamMsgDebugString,</span> +00217 <span class="comment"> CAgentScript::CheckAll,</span> +00218 <span class="comment"> 1,</span> +00219 <span class="comment"> new NLAISCRIPT::CObjectUnknown(idOpMsgDebugString));*/</span> +00220 +00221 ParamTellComponentMsg-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00222 idMsgTellComponent-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00223 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TRunAskComponent] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNASK_, +00224 CAgentScript::TRunAskComponent, ParamTellComponentMsg, +00225 CAgentScript::CheckAll, +00226 1, +00227 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(idMsgTellComponent)); +00228 +00229 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TSend] = <span class="keyword">new</span> CAgentScript::CMethodCall( _SEND_, +00230 CAgentScript::TSend, SendParamMessageScript, +00231 CAgentScript::CheckAll, +00232 2, +00233 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)); +00234 +00235 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TSendComponent] = <span class="keyword">new</span> CAgentScript::CMethodCall( _SEND_, +00236 CAgentScript::TSendComponent, +00237 SendCompParamMessageScript,CAgentScript::CheckAll, +00238 3, +00239 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)); +00240 +00241 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TGetChildTag] = <span class="keyword">new</span> CAgentScript::CMethodCall( _GETCHILD_, +00242 CAgentScript::TGetChildTag, +00243 NULL, +00244 CAgentScript::CheckCount, +00245 1, +00246 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> +00247 NLAISCRIPT::COperandSimple( +00248 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CVectorGroupManager::IdVectorGroupManager)))); +00249 +00250 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TAddChildTag] = <span class="keyword">new</span> CAgentScript::CMethodCall( _ADDCHILD_, +00251 CAgentScript::TAddChildTag, +00252 NULL,CAgentScript::DoNotCheck, +00253 2, +00254 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00255 <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00256 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(DigitalType::IdDigitalType)))); +00257 +00258 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TFather] = <span class="keyword">new</span> CAgentScript::CMethodCall( _FATHER_, +00259 CAgentScript::TFather, +00260 NULL,CAgentScript::CheckCount, +00261 0, +00262 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00263 <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00264 <span class="comment">//check if correct</span> +00265 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(*IAgent::IdAgent)))); +00266 +00267 +00268 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TSelf] = <span class="keyword">new</span> CAgentScript::CMethodCall( _SELF_, +00269 CAgentScript::TSelf, +00270 NULL,CAgentScript::CheckCount, +00271 0, +00272 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00273 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CAgentScript::IdAgentScript)))); +00274 +00275 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TGetName] = <span class="keyword">new</span> CAgentScript::CMethodCall( _GETNAME_, +00276 CAgentScript::TGetName, +00277 NULL,CAgentScript::CheckCount, +00278 0, +00279 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00280 <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00281 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CStringType::IdStringType)))); +00282 +00283 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TGetClassName] = <span class="keyword">new</span> CAgentScript::CMethodCall( <span class="stringliteral">"GetClassName"</span>, +00284 CAgentScript::TGetClassName, +00285 NULL,CAgentScript::CheckCount, +00286 0, +00287 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00288 <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00289 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CStringType::IdStringType)))); +00290 +00291 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TIsInherited] = <span class="keyword">new</span> CAgentScript::CMethodCall( <span class="stringliteral">"IsInherited"</span>, +00292 CAgentScript::TIsInherited, +00293 NULL,CAgentScript::CheckCount, +00294 1, +00295 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00296 <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00297 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAILOGIC::CBoolType::IdBoolType)))); +00298 +00299 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TRemoveChild] = <span class="keyword">new</span> CAgentScript::CMethodCall( _REMOVECHILD_, +00300 CAgentScript::TRemoveChild, +00301 NULL,CAgentScript::CheckCount, +00302 0, +00303 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00304 <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00305 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(DigitalType::IdDigitalType)))); +00306 +00307 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TSetStatic] = <span class="keyword">new</span> CAgentScript::CMethodCall( _SETSTATIC_, +00308 CAgentScript::TSetStatic, NULL, +00309 CAgentScript::CheckCount, +00310 2, +00311 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)) ; +00312 +00313 +00314 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TGetValue] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNASK_, +00315 CAgentScript::TGetValue, ParamGetValueMsg, +00316 CAgentScript::CheckAll, +00317 1, +00318 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)) ; +00319 +00320 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TSetValue] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNTEL_, +00321 CAgentScript::TSetValue, ParamSetValueMsg, +00322 CAgentScript::CheckAll, +00323 1, +00324 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)) ; +00325 +00326 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgents8">ParamIdInitComponentMsg</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00327 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TInitComponent] = <span class="keyword">new</span> CAgentScript::CMethodCall( _RUNTEL_, +00328 CAgentScript::TInitComponent, ParamInitComponentMsg, +00329 CAgentScript::CheckAll, +00330 1, +00331 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(ParamIdInitComponentMsg)) ; +00332 +00333 NLAISCRIPT::CParam *ParamString = <span class="keyword">new</span> NLAISCRIPT::CParam(1,<span class="keyword">new</span> NLAISCRIPT::COperandSimple(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CStringType::IdStringType))); +00334 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TIsEUU] = <span class="keyword">new</span> CAgentScript::CMethodCall( _ISA_, +00335 CAgentScript::TIsEUU, +00336 ParamString,CAgentScript::CheckAll, +00337 0, <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( <span class="keyword">new</span> NLAISCRIPT::COperandSimple( +00338 <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIAGENT::UInt32Type::IdUInt32Type)))); +00339 ParamString-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00340 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TAddSet] = <span class="keyword">new</span> CAgentScript::CMethodCall(_ADD_SET_, +00341 CAgentScript::TAddSet, +00342 ParamString,CAgentScript::CheckAll, +00343 0, <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)); +00344 +00345 +00346 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[CAgentScript::TDeflautProccessMsg] = <span class="keyword">new</span> CAgentScript::CMethodCall(<span class="stringliteral">"DeflautProccessMsg"</span>, +00347 CAgentScript::TDeflautProccessMsg, NULL, +00348 CAgentScript::CheckCount, +00349 1, +00350 <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>(<span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>)); +00351 +00352 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimere1" doxytag="NLAIAGENT::CAgentWatchTimer::initClass" ></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 NLAIAGENT::CAgentWatchTimer::initClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimere1">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00530">530</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05403.html#l00054">_ADDATTRIB_</a>, <a class="el" href="a05403.html#l00050">_ATTACH_</a>, <a class="el" href="a05403.html#l00052">_GETCLOCK_</a>, <a class="el" href="a05403.html#l00051">_SETCLOCK_</a>, <a class="el" href="a05416.html#l00516">initMsgClass()</a>, and <a class="el" href="a05410.html#l00043">NLAIAGENT::Param</a>. +<p> +<div class="fragment"><pre>00531 { +00532 CAgentTimerHandle::initClass(); +00533 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimere2">initMsgClass</a>(); +00534 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera7">CAgentWatchTimer</a> h; +00535 CAgentWatchTimer::IdAgentWatchTimer = <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> (<span class="stringliteral">"AgentWatchTimer"</span>, <a class="code" href="a03361.html">NLAIC::CSelfClassFactory</a>((<span class="keyword">const</span> <a class="code" href="a02154.html">NLAIC::IBasicInterface</a> &)h), +00536 <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a>(NLAIC::CTypeOfObject::tAgent), +00537 <a class="code" href="a03626.html">NLAIC::CTypeOfOperator</a>(NLAIC::CTypeOfOperator::opNone)); +00538 +00539 <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> *<a class="code" href="a05364.html#a1">Param</a> = <span class="keyword">new</span> <a class="code" href="a03039.html">NLAISCRIPT::CParam</a>(1, <span class="keyword">new</span> <a class="code" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a>(2, +00540 <span class="keyword">new</span> NLAIC::CIdentType(NLAIAGENT::DDigitalType::IdDDigitalType), +00541 <span class="keyword">new</span> NLAIC::CIdentType(NLAIAGENT::DigitalType::IdDigitalType))); +00542 +00543 +00544 CAgentWatchTimer::StaticMethod = <span class="keyword">new</span> <a class="code" href="a02191.html">NLAIAGENT::CAgentScript::CMethodCall</a> *[CAgentWatchTimer::TLastM]; +00545 +00546 CAgentWatchTimer::StaticMethod[CAgentWatchTimer::TAttach] = +00547 <span class="keyword">new</span> NLAIAGENT::CAgentScript::CMethodCall(_ATTACH_, +00548 CAgentWatchTimer::TAttach, +00549 NULL,NLAIAGENT::CAgentScript::DoNotCheck, +00550 2, <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>( +00551 <span class="keyword">new</span> NLAIC::CIdentType(*CAgentTimerHandle::IdAgentTimerHandle)))); +00552 +00553 CAgentWatchTimer::StaticMethod[CAgentWatchTimer::TAddAttrib] = +00554 <span class="keyword">new</span> NLAIAGENT::CAgentScript::CMethodCall(_ADDATTRIB_, +00555 CAgentWatchTimer::TAddAttrib, +00556 NULL,NLAIAGENT::CAgentScript::CheckCount, +00557 2, <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>( +00558 <span class="keyword">new</span> NLAIC::CIdentType(*CAgentTimerHandle::IdAgentTimerHandle)))); +00559 +00560 CAgentWatchTimer::StaticMethod[CAgentWatchTimer::TGetClock] = +00561 <span class="keyword">new</span> NLAIAGENT::CAgentScript::CMethodCall(_GETCLOCK_, +00562 CAgentWatchTimer::TGetClock, +00563 NULL,NLAIAGENT::CAgentScript::CheckCount, +00564 0, <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00565 <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>( +00566 <span class="keyword">new</span> NLAIC::CIdentType(NLAIAGENT::DigitalType::IdDigitalType)))); +00567 +00568 CAgentWatchTimer::StaticMethod[CAgentWatchTimer::TSetClock] = +00569 <span class="keyword">new</span> NLAIAGENT::CAgentScript::CMethodCall(_SETCLOCK_, +00570 CAgentWatchTimer::TSetClock, +00571 Param,NLAIAGENT::CAgentScript::CheckAll, +00572 1, <span class="keyword">new</span> <a class="code" href="a02999.html">NLAISCRIPT::CObjectUnknown</a>( +00573 <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>( +00574 <span class="keyword">new</span> NLAIC::CIdentType(NLAIAGENT::DigitalType::IdDigitalType)))); +00575 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimere2" doxytag="NLAIAGENT::CAgentWatchTimer::initMsgClass" ></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 NLAIAGENT::CAgentWatchTimer::initMsgClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00516">516</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05421.html#l00161">NLAILINK::buildScript()</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00530">initClass()</a>. +<p> +<div class="fragment"><pre>00517 { +00518 std::string msgStr; +00519 std::string scriptName(<span class="stringliteral">"MsgTimer"</span>); +00520 msgStr = std::string(<span class="stringliteral">"From Message : Define MsgStopTimer\n{"</span>); +00521 msgStr += std::string(<span class="stringliteral">"Component:\n"</span>); +00522 msgStr += std::string(<span class="stringliteral">"End\n}\n"</span>); +00523 <a class="code" href="a05369.html#a7">NLAILINK::buildScript</a>(msgStr,scriptName); +00524 msgStr = std::string(<span class="stringliteral">"From Message : Define MsgStartTimer\n{"</span>); +00525 msgStr += std::string(<span class="stringliteral">"Component:\n"</span>); +00526 msgStr += std::string(<span class="stringliteral">"End\n}\n"</span>); +00527 <a class="code" href="a05369.html#a7">NLAILINK::buildScript</a>(msgStr,scriptName); +00528 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta27" doxytag="NLAIAGENT::CAgentWatchTimer::isa" ></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"> bool NLAIAGENT::CAgentScript::isa </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test the set of the agent. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00741">741</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05412.html#l02314">NLAIAGENT::CAgentScript::isClassInheritedFrom()</a>, <a class="el" href="a05413.html#l00181">NLAIAGENT::CAgentScript::mapSet</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01849">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00742 { +00743 std::set<std::string>::iterator it = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">mapSet</a>.find(s); +00744 <span class="keywordflow">if</span>(it != <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">mapSet</a>.end()) <span class="keywordflow">return</span> <span class="keyword">true</span>; +00745 <span class="keywordflow">else</span> +00746 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_7">isClassInheritedFrom</a>(CStringVarName(<a class="code" href="a04223.html#a626">s</a>.c_str())) >= 0) +00747 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00748 <span class="keywordflow">else</span> +00749 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a626">s</a> == (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>()) +00750 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00751 +00752 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00753 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea25" doxytag="NLAIAGENT::CAgentWatchTimer::isClassInheritedFrom" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::IObjectIA::isClassInheritedFrom </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +isClassInheritedFrom(className) allow us to known if this class have a base class with the name className.<p> +If true the method return the range of the base class, this range is an arbitrary reference id define by the programmer or bay the scrypt. the false return is define by -1. +<p> +Reimplemented in <a class="el" href="a03884.html#NLAIAGENT_1_1VectorTypea18">NLAIAGENT::IVector</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila18">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02146.html#NLAIAGENT_1_1UInt8Typez1644_1">NLAIAGENT::INombreDefine</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IMessageBasez1652_0">NLAIAGENT::IBaseGroupType</a>, and <a class="el" href="a02326.html#NLAIAGENT_1_1CSuccessMsgz1708_4">NLAIAGENT::CMessageScript</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00246">246</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05789.html#l00104">NLAISCRIPT::CCompilateur::getValidateHierarchyBase()</a>, <a class="el" href="a05401.html#l00146">NLAIAGENT::CLocalAgentMail::isClassInheritedFrom()</a>, <a class="el" href="a05389.html#l00609">NLAIAGENT::CActorScript::Launch()</a>, <a class="el" href="a05734.html#l00283">NLAIAGENT::CFsmScript::setTopLevel()</a>, and <a class="el" href="a05389.html#l00932">NLAIAGENT::CActorScript::setTopLevel()</a>. +<p> +<div class="fragment"><pre>00247 { +00248 <span class="keywordflow">return</span> -1; +00249 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_7" doxytag="NLAIAGENT::CAgentWatchTimer::isClassInheritedFrom" ></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"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::CAgentScript::isClassInheritedFrom </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02314">2314</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05847.html#l00678">NLAISCRIPT::CAgentClass::isClassInheritedFrom()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00741">NLAIAGENT::CAgentScript::isa()</a>, and <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>02315 { +02316 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_6">isClassInheritedFrom</a>( name ); +02317 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_8" doxytag="NLAIAGENT::CAgentWatchTimer::isDeflautProccessMsg" ></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"> <a class="el" href="a05364.html#a31">TQueue</a> NLAIAGENT::CAgentScript::isDeflautProccessMsg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02292">2292</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentw15NLAIAGENT_1_1IMainAgentw5">NLAIAGENT::CAgentScript::TDeflautProccessMsg</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>. +<p> +<div class="fragment"><pre>02293 { +02294 <span class="keyword">const</span> <span class="keywordtype">char</span> *name = methodName-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +02295 <span class="keywordflow">if</span>(name[0] == <span class="charliteral">'R'</span> && name[1] == <span class="charliteral">'u'</span> && name[2] == <span class="charliteral">'n'</span>) +02296 { +02297 <span class="keyword">static</span> CStringVarName runMsgName[7] = {<span class="stringliteral">"RunTell"</span>, <span class="stringliteral">"RunAchieve"</span>, <span class="stringliteral">"RunAsk"</span>, <span class="stringliteral">"RunExec"</span>, <span class="stringliteral">"RunBreak"</span>, <span class="stringliteral">"RunKill"</span>, <span class="stringliteral">"RunError"</span>}; +02298 <a class="code" href="a04558.html#a14">sint</a> i; +02299 <span class="keywordflow">for</span>(i = 0; i < 7; i ++) +02300 { +02301 <span class="keywordflow">if</span>(*methodName == runMsgName[i]) +02302 { +02303 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +02304 CObjectType *c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIC::CIdentType::VoidType)); +02305 <a class="code" href="a04223.html#a628">r</a>.push(CIdMethod(TDeflautProccessMsg + IAgent::getMethodIndexSize(),0.0,NULL,c)); +02306 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02307 } +02308 } +02309 } +02310 +02311 <span class="keywordflow">return</span> <a class="code" href="a05364.html#a31">TQueue</a>(); +02312 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_9" doxytag="NLAIAGENT::CAgentWatchTimer::isEqual" ></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"> bool NLAIAGENT::CAgentScript::isEqual </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02153.html">IBasicObjectIA</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Implementation of the isEqual of the <a class="el" href="a02153.html">IBasicObjectIA</a>. +<p> + +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagera25">NLAIAGENT::IAgent</a>. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAILOGIC_1_1CGoalPatha40">NLAIAGENT::CActorScript</a>, <a class="el" href="a02190.html#NLAIAGENT_1_1CAgentOperationa44">NLAIAGENT::CAgentOperation</a>, <a class="el" href="a02564.html#NLAIAGENT_1_1CFsmScripta41">NLAIAGENT::CFsmScript</a>, <a class="el" href="a03363.html#NLAIAGENT_1_1CSeqFsmScripta42">NLAIAGENT::CSeqFsmScript</a>, and <a class="el" href="a03026.html#NLAIAGENT_1_1COperatorScripta47">NLAIAGENT::COperatorScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00720">720</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +<div class="fragment"><pre>00721 { +00722 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00723 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea20" doxytag="NLAIAGENT::CAgentWatchTimer::isLocal" ></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"> bool NLAIAGENT::IObjectIA::isLocal </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If the result is true the object is loclal else its a representation of an object on the server. By the method return true. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00356">356</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +<div class="fragment"><pre>00357 { +00358 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00359 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1609_0" doxytag="NLAIAGENT::CAgentWatchTimer::isMember" ></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"> <a class="el" href="a05364.html#a31">TQueue</a> NLAIAGENT::IBasicAgent::isMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. remember we use the overloadind method.<p> +NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.<p> +methodName: is the name of the class.<p> +param: is an <a class="el" href="a02149.html">IObjectIA</a> where it defined the parametre of the method. lot of method use a <a class="el" href="a02149.html">IObjectIA</a> vector object with an <a class="el" href="a02650.html">NLAIC::CIdentType</a> as the the template argm. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea29">NLAIAGENT::IObjectIA</a>. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila20">NLAIAGENT::CLocalAgentMail</a>, and <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1662_2">NLAIAGENT::CProxyAgentMail</a>. +<p> +Definition at line <a class="el" href="a05420.html#l00452">452</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a05420.html#l00434">NLAIAGENT::_GetNumId</a>, <a class="el" href="a05420.html#l00433">NLAIAGENT::_RunAsk</a>, <a class="el" href="a05420.html#l00432">NLAIAGENT::_RunTel</a>, <a class="el" href="a05843.html#l00068">NLAISCRIPT::CParam::eval()</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>, <a class="el" href="a05400.html#l00073">NLAIAGENT::CLocalAgentMail::isMember()</a>, and <a class="el" href="a05387.html#l00179">NLAIAGENT::CActor::isMember()</a>. +<p> +<div class="fragment"><pre>00453 { +00454 <span class="keywordflow">if</span>(className == NULL) +00455 { +00456 <a class="code" href="a05364.html#a31">TQueue</a> a; +00457 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i < _LastM; i++) +00458 { +00459 <span class="keywordflow">if</span>(*methodName == IBasicAgent::_Method[i].MethodName) +00460 { +00461 CObjectType *c; +00462 <span class="keywordflow">if</span>(i == <a class="code" href="a05364.html#a4">_RunTel</a> || i == <a class="code" href="a05364.html#a5">_RunAsk</a>) +00463 { +00464 <span class="keyword">static</span> <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> paramMsg(1,<span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a> (<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CMsgNotifyParentClass::IdMsgNotifyParentClass))); +00465 +00466 <span class="keywordflow">if</span>(paramMsg.<a class="code" href="a03039.html#NLAISCRIPT_1_1CParama6">eval</a>((<a class="code" href="a03039.html">NLAISCRIPT::CParam</a> &)p) < 0.0) <span class="keywordflow">continue</span>; +00467 c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAISCRIPT::CMessageClass::IdMessageClass)); +00468 } +00469 <span class="keywordflow">else</span> +00470 <span class="keywordflow">if</span> (i == <a class="code" href="a05364.html#a6">_GetNumId</a>) +00471 { +00472 c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CStringType::IdStringType)); +00473 } +00474 <span class="keywordflow">else</span> +00475 { +00476 c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(CLocalAgentMail::LocalAgentMail)); +00477 } +00478 a.push(CIdMethod(IBasicAgent::_Method[i].Index + IObjectIA::getMethodIndexSize(),0.0,NULL,c)); +00479 <span class="keywordflow">break</span>; +00480 } +00481 } +00482 +00483 <span class="keywordflow">if</span>(a.size()) <span class="keywordflow">return</span> a; +00484 <span class="keywordflow">else</span> <span class="keywordflow">return</span> IConnectIA::isMember(className,methodName,p); +00485 } +00486 <span class="keywordflow">return</span> IConnectIA::isMember(className,methodName,p); +00487 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_10" doxytag="NLAIAGENT::CAgentWatchTimer::isMember" ></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"> <a class="el" href="a05364.html#a31">TQueue</a> NLAIAGENT::CAgentScript::isMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l02237">2237</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05412.html#l02228">NLAIAGENT::CAgentScript::getPrivateMember()</a>, <a class="el" href="a05847.html#l00506">NLAISCRIPT::CAgentClass::getPrivateMember()</a>, <a class="el" href="a05412.html#l02292">NLAIAGENT::CAgentScript::isDeflautProccessMsg()</a>, <a class="el" href="a05420.html#l00452">NLAIAGENT::IBasicAgent::isMember()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00091">NLAIAGENT::COperatorScript::getDebugString()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05416.html#l00424">isMember()</a>, and <a class="el" href="a05412.html#l01284">NLAIAGENT::CAgentScript::sendMessage()</a>. +<p> +<div class="fragment"><pre>02238 { +02239 +02240 +02241 <span class="keywordflow">if</span>(className == NULL) +02242 { +02243 +02244 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +02245 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a> != NULL) +02246 <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_7">getPrivateMember</a>(className,methodName,param); +02247 +02248 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) +02249 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02250 <span class="keywordflow">else</span> +02251 { +02252 <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_2">getPrivateMember</a>(className,methodName,param); +02253 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02254 <span class="keywordflow">else</span> +02255 { +02256 <a class="code" href="a04223.html#a628">r</a> = IAgent::isMember(className,methodName,param); +02257 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) +02258 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02259 <span class="keywordflow">else</span> +02260 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_8">isDeflautProccessMsg</a>(className,methodName,param); +02261 } +02262 } +02263 +02264 } +02265 <span class="keywordflow">else</span> +02266 <span class="keywordflow">if</span>(*className == CStringVarName(<span class="stringliteral">"Agent"</span>)) +02267 { +02268 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +02269 <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_2">getPrivateMember</a>(className,methodName,param); +02270 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) +02271 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02272 <span class="keywordflow">else</span> +02273 { +02274 <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_7">getPrivateMember</a>(className,methodName,param); +02275 +02276 <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a628">r</a>.size() ) +02277 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02278 <span class="keywordflow">else</span> +02279 { +02280 <a class="code" href="a04223.html#a628">r</a> = IAgent::isMember(className,methodName,param); +02281 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) +02282 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02283 <span class="keywordflow">else</span> +02284 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_8">isDeflautProccessMsg</a>(className,methodName,param); +02285 } +02286 } +02287 +02288 } +02289 <span class="keywordflow">return</span> <a class="code" href="a05364.html#a31">TQueue</a>(); +02290 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera42" doxytag="NLAIAGENT::CAgentWatchTimer::isMember" ></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"> <a class="el" href="a05364.html#a31">NLAIAGENT::TQueue</a> NLAIAGENT::CAgentWatchTimer::isMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00424">424</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>, <a class="el" href="a05412.html#l02324">NLAIAGENT::isTemplateMember()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00767">NLAIAGENT::CAgentTimerHandle::isMember()</a>. +<p> +<div class="fragment"><pre>00425 { +00426 <a class="code" href="a05364.html#a31">NLAIAGENT::TQueue</a> <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a05364.html#a42">NLAIAGENT::isTemplateMember</a>(CAgentWatchTimer::StaticMethod,CAgentWatchTimer::TLastM,CAgentScript::getMethodIndexSize(),className,methodName,param); +00427 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00428 <span class="keywordflow">else</span> <span class="keywordflow">return</span> CAgentScript::isMember(className,methodName,param); +00429 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta30" doxytag="NLAIAGENT::CAgentWatchTimer::Kill" ></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 NLAIAGENT::IAgent::Kill </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Call this function to destroy an agent including its referneces in other agents and its childs. +<p> + +<p> +Reimplemented from <a class="el" href="a02164.html#NLAIAGENT_1_1IMailBoxa32">NLAIAGENT::IConnectIA</a>. +<p> +Definition at line <a class="el" href="a05420.html#l00057">57</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00651">NLAIAGENT::IConnectIA::onKill()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00476">NLAIAGENT::CAgentScript::~CAgentScript()</a>, <a class="el" href="a05966.html#l00061">NLAIAGENT::CMainAgentScript::~CMainAgentScript()</a>, <a class="el" href="a05420.html#l00120">NLAIAGENT::IAgent::~IAgent()</a>, and <a class="el" href="a05967.html#l00057">NLAIAGENT::IMainAgent::~IMainAgent()</a>. +<p> +<div class="fragment"><pre>00058 { +00059 <span class="comment">//sint n = _SizeChild;</span> +00060 +00061 <span class="preprocessor">#ifdef NL_DEBUG</span> +00062 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> != (<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.size()) +00063 { +00064 <a class="code" href="a04558.html#a14">sint</a> i = (<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.size(); +00065 <span class="keywordflow">throw</span>; +00066 } +00067 +00068 <span class="preprocessor">#endif</span> +00069 <span class="preprocessor"></span> <a class="code" href="a04558.html#a14">sint</a> n = <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> ; +00070 <span class="keywordflow">while</span> ( <span class="comment">/*_AgentList.begin() != _AgentList.end()*/</span> n--) +00071 { +00072 <a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *c = <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.front(); +00073 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.pop_front(); +00074 c->onKill(<span class="keyword">this</span>); +00075 c->release(); +00076 } +00077 _SizeChild = 0; +00078 IAgentComposite::Kill(); +00079 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1672_3" doxytag="NLAIAGENT::CAgentWatchTimer::load" ></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 NLAIAGENT::CAgentScript::load </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load the class from a stream. +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1617_3">NLAIAGENT::IAgent</a>. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAILOGIC_1_1CGoalPatha44">NLAIAGENT::CActorScript</a>, <a class="el" href="a02185.html#NLAIAGENT_1_1CAgentManagerTimerz1679_3">NLAIAGENT::CAgentManagerTimer</a>, <a class="el" href="a02190.html#NLAIAGENT_1_1CAgentOperationa49">NLAIAGENT::CAgentOperation</a>, <a class="el" href="a02564.html#NLAIAGENT_1_1CFsmScripta46">NLAIAGENT::CFsmScript</a>, <a class="el" href="a03363.html#NLAIAGENT_1_1CSeqFsmScripta47">NLAIAGENT::CSeqFsmScript</a>, and <a class="el" href="a03026.html#NLAIAGENT_1_1COperatorScripta53">NLAIAGENT::COperatorScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00605">605</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a05386.html#l00350">NLAIC::IBasicInterface::load()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00645">size</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00438">NLAIAGENT::CActorScript::load()</a>. +<p> +<div class="fragment"><pre>00606 { +00607 IBasicAgent::load(is); +00608 +00609 <span class="comment">// Loads static components</span> +00610 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a587">size</a>; +00611 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( size ); +00612 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> = <a class="code" href="a04223.html#a587">size</a>; +00613 +00614 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>) +00615 { +00616 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; i++ ) +00617 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i]->release(); +00618 <span class="keyword">delete</span>[] <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>; +00619 } +00620 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a> = <span class="keyword">new</span> <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *[ <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> ]; +00621 +00622 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; i++ ) +00623 { +00624 <a class="code" href="a02651.html">NLAIC::CIdentTypeAlloc</a> <span class="keywordtype">id</span>; +00625 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( <span class="keywordtype">id</span> ); +00626 IObjectIA *tmp_c = (IObjectIA *)<span class="keywordtype">id</span>.allocClass(); +00627 tmp_c->load(is); +00628 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i] = tmp_c; +00629 } +00630 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera44" doxytag="NLAIAGENT::CAgentWatchTimer::newInstance" ></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"> const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * NLAIAGENT::CAgentWatchTimer::newInstance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function allow a new instance, that mean that the class is a class factory. +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1672_4">NLAIAGENT::CAgentScript</a>. +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimera44">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00270">270</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05416.html#l00230">CAgentWatchTimer()</a>. +<p> +<div class="fragment"><pre>00271 { +00272 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera7">CAgentWatchTimer</a>(); +00273 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera45" doxytag="NLAIAGENT::CAgentWatchTimer::onKill" ></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 NLAIAGENT::CAgentWatchTimer::onKill </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>A</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Called by an agent who's destroyed te remove its references. +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_11">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00338">338</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05416.html#l00377">detach()</a>, and <a class="el" href="a05412.html#l00725">NLAIAGENT::CAgentScript::onKill()</a>. +<p> +<div class="fragment"><pre>00339 { +00340 <span class="keywordflow">if</span>(!<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera15">detach</a>(a,<span class="keyword">false</span>)) CAgentScript::onKill(a); +00341 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea34" doxytag="NLAIAGENT::CAgentWatchTimer::operator const IWordNumRef &" ></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"> NLAIAGENT::IRefrence::operator const <a class="el" href="a03887.html">IWordNumRef</a> & </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get a word num ref of the agents. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00380">380</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00358">NLAIAGENT::IRefrence::_NumRef</a>. +<p> +<div class="fragment"><pre>00381 { +00382 <span class="keywordflow">return</span> *_NumRef; +00383 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea35" doxytag="NLAIAGENT::CAgentWatchTimer::operator const IWordNumRef *" ></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"> NLAIAGENT::IRefrence::operator const <a class="el" href="a03887.html">IWordNumRef</a> * </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get a word num ref pointer of the agents. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00385">385</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00358">NLAIAGENT::IRefrence::_NumRef</a>. +<p> +<div class="fragment"><pre>00386 { +00387 <span class="keywordflow">return</span> _NumRef; +00388 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea42" doxytag="NLAIAGENT::CAgentWatchTimer::operator==" ></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"> bool NLAIAGENT::IBasicObjectIA::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02153.html">IBasicObjectIA</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>classType</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Lot of algo use this function to determine the equality between 2 class, in particular the extraction from stl list. the == operator call the bool isEqual(const IBasicObjectIA &a) const member method to determine the equality between tow class. +<p> +Definition at line <a class="el" href="a05475.html#l00134">134</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a02153.html#NLAICHARACTER_1_1IZonea26">NLAIAGENT::IBasicObjectIA::isEqual()</a>. +<p> +<div class="fragment"><pre>00135 { +00136 <span class="keywordflow">if</span>(a.getType() == <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>() ) <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_9">isEqual</a>(a); +00137 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00138 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_12" doxytag="NLAIAGENT::CAgentWatchTimer::processContinuation" ></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 NLAIAGENT::CAgentScript::processContinuation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01461">1461</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, <a class="el" href="a06066.html#l00152">NLAIAGENT::IMessageBase::getContinuation()</a>, <a class="el" href="a06066.html#l00131">NLAIAGENT::IMessageBase::getPerformatif()</a>, <a class="el" href="a06066.html#l00142">NLAIAGENT::IMessageBase::getSender()</a>, <a class="el" href="a06066.html#l00161">NLAIAGENT::IMessageBase::setMethodIndex()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00170">NLAIAGENT::IMessageBase::setReceiver()</a>, and <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>. +<p> +<div class="fragment"><pre>01462 { +01463 <span class="keywordflow">switch</span>(msg->getPerformatif()) +01464 { +01465 <span class="keywordflow">case</span> IMessageBase::PExec: +01466 <span class="keywordflow">if</span>(msg->getContinuation() != NULL) +01467 { +01468 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01469 o->setMethodIndex(-1,-1); +01470 <span class="comment">//this->incRef();</span> +01471 o->setSender(<span class="keyword">this</span>); +01472 <span class="comment">//((IObjectIA *)msg->getContinuation())->incRef();</span> +01473 o->setReceiver((IObjectIA *)msg->getContinuation()); +01474 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getContinuation())->sendMessage(o); +01475 } +01476 <span class="keywordflow">break</span>; +01477 <span class="keywordflow">case</span> IMessageBase::PAchieve: +01478 <span class="keywordflow">if</span>(msg->getContinuation() != NULL) +01479 { +01480 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01481 o->setMethodIndex(-1,-1); +01482 <span class="comment">//this->incRef();</span> +01483 o->setSender(<span class="keyword">this</span>); +01484 <span class="comment">//((IObjectIA *)msg->getContinuation())->incRef();</span> +01485 o->setReceiver((IObjectIA *)msg->getContinuation()); +01486 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getContinuation())->sendMessage(o); +01487 } +01488 <span class="keywordflow">break</span>; +01489 <span class="keywordflow">case</span> IMessageBase::PAsk: +01490 { +01491 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01492 o->setMethodIndex(-1,-1); +01493 <span class="comment">//this->incRef();</span> +01494 o->setSender(<span class="keyword">this</span>); +01495 o->setPerformatif(IMessageBase::PTell); +01496 <span class="comment">//if(returnMsg->getSender() != NULL) ((IObjectIA *)returnMsg->getSender())->incRef();</span> +01497 o->setReceiver((IObjectIA *)returnMsg->getSender()); +01498 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getSender())->sendMessage(o); +01499 +01500 +01501 <span class="keywordflow">if</span>(msg->getContinuation() != NULL) +01502 { +01503 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01504 o->setMethodIndex(-1,-1); +01505 <span class="comment">//this->incRef();</span> +01506 o->setSender(<span class="keyword">this</span>); +01507 <span class="comment">//if(msg->getContinuation() != NULL) ((IObjectIA *)msg->getContinuation())->incRef();</span> +01508 o->setReceiver((IObjectIA *)msg->getContinuation()); +01509 o->setPerformatif(IMessageBase::PTell); +01510 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getContinuation())->sendMessage(o); +01511 } +01512 } +01513 <span class="keywordflow">break</span>; +01514 <span class="keywordflow">case</span> IMessageBase::PTell: +01515 <span class="keywordflow">if</span>(msg->getContinuation() != NULL) +01516 { +01517 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01518 o->setMethodIndex(-1,-1); +01519 <span class="comment">//this->incRef();</span> +01520 o->setSender(<span class="keyword">this</span>); +01521 <span class="comment">//if(msg->getContinuation() != NULL) ((IObjectIA *)msg->getContinuation())->incRef();</span> +01522 o->setReceiver((IObjectIA *)msg->getContinuation()); +01523 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getContinuation())->sendMessage(o); +01524 } +01525 <span class="keywordflow">break</span>; +01526 <span class="keywordflow">case</span> IMessageBase::PBreak: +01527 <span class="keywordflow">if</span>(msg->getContinuation() != NULL) +01528 { +01529 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01530 o->setMethodIndex(-1,-1); +01531 <span class="comment">//this->incRef();</span> +01532 o->setSender(<span class="keyword">this</span>); +01533 <span class="comment">//if(msg->getContinuation() != NULL) ((IObjectIA *)msg->getContinuation())->incRef();</span> +01534 o->setReceiver((IObjectIA *)msg->getContinuation()); +01535 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getContinuation())->sendMessage(o); +01536 } +01537 <span class="keywordflow">break</span>; +01538 <span class="keywordflow">case</span> IMessageBase::PKill: +01539 <span class="keywordflow">if</span>(msg->getContinuation() != NULL) +01540 { +01541 IMessageBase *o = (IMessageBase *)returnMsg->clone(); +01542 o->setMethodIndex(-1,-1); +01543 <span class="comment">//this->incRef();</span> +01544 o->setSender(<span class="keyword">this</span>); +01545 <span class="comment">//if(msg->getContinuation() != NULL) ((IObjectIA *)msg->getContinuation())->incRef();</span> +01546 o->setReceiver((IObjectIA *)msg->getContinuation()); +01547 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->getContinuation())->sendMessage(o); +01548 } +01549 <span class="keywordflow">break</span>; +01550 <span class="keywordflow">default</span>: <span class="keywordflow">break</span>; +01551 } +01552 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_13" doxytag="NLAIAGENT::CAgentWatchTimer::processMessages" ></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 NLAIAGENT::CAgentScript::processMessages </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03026.html#NLAIAGENT_1_1COperatorScripta71">NLAIAGENT::COperatorScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01412">1412</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05572.html#l00347">NLAISCRIPT::CCodeContext::ContextDebug</a>, <a class="el" href="a05412.html#l02107">NLAIAGENT::CAgentScript::getBaseMethodCount()</a>, <a class="el" href="a06066.html#l00172">NLAIAGENT::IMessageBase::getHeritanceIndex()</a>, <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>, <a class="el" href="a05412.html#l00558">NLAIAGENT::CAgentScript::getMethode()</a>, <a class="el" href="a06066.html#l00167">NLAIAGENT::IMessageBase::getMethodIndex()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa38">NLAIAGENT::IMailBox::popMessage()</a>, <a class="el" href="a05412.html#l01461">NLAIAGENT::CAgentScript::processContinuation()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a06124.html#l00140">NLAISCRIPT::CCallMethod::runOpCode()</a>, <a class="el" href="a05572.html#l00341">NLAISCRIPT::CCodeContext::Self</a>, and <a class="el" href="a05572.html#l00335">NLAISCRIPT::CCodeContext::Stack</a>. +<p> +<div class="fragment"><pre>01413 { +01414 <span class="preprocessor">#ifdef NL_DEBUG</span> +01415 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *txt = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)msg->getType(); +01416 <span class="keywordtype">bool</span> dbugB = <span class="keyword">false</span>; +01417 <span class="preprocessor">#endif</span> +01418 <span class="preprocessor"></span> <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &context = (<a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &)*c; +01419 IBaseGroupType *<a class="code" href="a04223.html#a590">param</a> = <span class="keyword">new</span> CGroupType(); +01420 msg->incRef(); +01421 <a class="code" href="a04223.html#a590">param</a>->push(msg); +01422 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a> ++; +01423 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>[(<span class="keywordtype">int</span>)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>] = <a class="code" href="a04223.html#a590">param</a>; +01424 +01425 <span class="keywordtype">int</span> indexM = msg->getMethodIndex() - <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera17">getBaseMethodCount</a>(); +01426 <span class="keywordflow">if</span>(indexM >= 0) +01427 { +01428 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *code = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_9">getMethode</a>(indexM); +01429 <span class="keywordflow">if</span>(code == NULL) +01430 { +01431 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta14">getMail</a>()->popMessage(); +01432 <span class="keywordflow">return</span>; +01433 } +01434 } +01435 +01436 <a class="code" href="a03866.html">NLAISCRIPT::IMethodContext</a> *methodContex; +01437 +01438 <span class="keywordflow">if</span> (context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto1">ContextDebug</a>.Active) +01439 { +01440 <span class="comment">/*context.ContextDebug.Param.push_back(&listBidon); </span> +01441 <span class="comment"> listBidon.incRef();*/</span> +01442 methodContex = <span class="keyword">new</span> <a class="code" href="a02924.html">NLAISCRIPT::CMethodContextDebug</a>(); +01443 } +01444 <span class="keywordflow">else</span> +01445 { +01446 methodContex = <span class="keyword">new</span> <a class="code" href="a02923.html">NLAISCRIPT::CMethodContext</a>(); +01447 } +01448 <span class="keyword">const</span> <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *self = context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto5">Self</a>; +01449 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto5">Self</a> = <span class="keyword">this</span>; +01450 <a class="code" href="a02310.html">NLAISCRIPT::CCallMethod</a> opCall(methodContex,msg->getHeritanceIndex(),msg->getMethodIndex()); +01451 opCall.<a class="code" href="a02310.html#NLAISCRIPT_1_1CCallMethoda31">runOpCode</a>(context); +01452 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto5">Self</a> = self; +01453 IMessageBase *returnMsg = (IMessageBase *)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>[(<span class="keywordtype">int</span>)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>]; +01454 returnMsg->incRef(); +01455 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>--; +01456 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_12">processContinuation</a>(msg, returnMsg); +01457 +01458 returnMsg->release(); +01459 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_14" doxytag="NLAIAGENT::CAgentWatchTimer::processMessages" ></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 NLAIAGENT::CAgentScript::processMessages </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The processMessages method, process the loop/Run message. +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1619_0">NLAIAGENT::IAgent</a>. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAIAGENT_1_1CSeqFsmScripta63">NLAIAGENT::CActorScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01554">1554</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00170">NLAIAGENT::CAgentScript::_AgentManager</a>, <a class="el" href="a03834.html#NLAIAGENT_1_1IAgentManagera3">NLAIAGENT::IAgentManager::getAgentContext()</a>, <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>, <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa9">NLAIAGENT::IMailBox::getMessage()</a>, <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa10">NLAIAGENT::IMailBox::getMessageCount()</a>, <a class="el" href="a06066.html#l00167">NLAIAGENT::IMessageBase::getMethodIndex()</a>, <a class="el" href="a05420.html#l00447">NLAIAGENT::IBasicAgent::getMethodIndexSize()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa38">NLAIAGENT::IMailBox::popMessage()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00395">NLAIAGENT::CActorScript::processMessages()</a>, and <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>. +<p> +<div class="fragment"><pre>01555 { +01556 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *c = NULL; +01557 <span class="keywordflow">if</span>( <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp2">_AgentManager</a> != NULL) +01558 c = (<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp2">_AgentManager</a>->getAgentContext(); +01559 <span class="keywordflow">else</span> +01560 c = NULL; +01561 +01562 IMailBox *mail = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta14">getMail</a>(); +01563 +01564 +01565 <span class="comment">//const IMailBox::TListMessage &l = mail->getMesseageListe();</span> +01566 <a class="code" href="a04558.html#a14">sint</a> n = mail->getMessageCount(); +01567 +01568 <span class="keywordflow">while</span>(<span class="comment">/*l.begin() != l.end()*/</span>n--) +01569 { +01570 IMessageBase &msg = (IMessageBase &)mail->getMessage(); +01571 <span class="preprocessor">#ifdef NL_DEBUG</span> +01572 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_this = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +01573 <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_msg = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) msg.getType(); +01574 <span class="preprocessor">#endif</span> +01575 <span class="preprocessor"></span> +01576 <span class="keywordflow">if</span>(msg.getMethodIndex() >= 0 && c != NULL) +01577 { +01578 <a class="code" href="a04558.html#a14">sint</a> indexM = msg.getMethodIndex() - IAgent::getMethodIndexSize(); +01579 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *o; +01580 <span class="keywordflow">if</span>(indexM != CAgentScript::TDeflautProccessMsg) <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_14">processMessages</a>(&msg,c); +01581 <span class="keywordflow">else</span> +01582 { +01583 o = IBasicAgent::run( msg ); +01584 <span class="keywordflow">if</span>(o != NULL) o->release(); +01585 } +01586 <span class="keywordflow">if</span> ( mail->getMessageCount() != 0 ) +01587 mail->popMessage(); +01588 } +01589 <span class="keywordflow">else</span> +01590 { +01591 <span class="keywordflow">try</span> +01592 { +01593 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *o = IBasicAgent::run( msg ); +01594 <span class="keywordflow">if</span> (o != NULL) +01595 o->release(); +01596 mail->popMessage(); +01597 } +01598 <span class="keywordflow">catch</span>(<a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a> &e) +01599 { +01600 mail->popMessage(); +01601 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(e.what()); +01602 } +01603 } +01604 } +01605 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZoneb0" doxytag="NLAIAGENT::CAgentWatchTimer::refLoadStream" ></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 NLAIAGENT::IRefrence::refLoadStream </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the loader of the class. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00433">433</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00358">NLAIAGENT::IRefrence::_NumRef</a>, <a class="el" href="a05386.html#l00350">NLAIC::IBasicInterface::load()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00375">NLAIAGENT::IRefrence::IRefrence()</a>, and <a class="el" href="a05475.html#l00456">NLAIAGENT::IRefrence::load()</a>. +<p> +<div class="fragment"><pre>00434 { +00435 IObjectIA::load(is); +00436 _NumRef->release(); +00437 <a class="code" href="a02651.html">NLAIC::CIdentTypeAlloc</a> <span class="keywordtype">id</span>; +00438 is >> <span class="keywordtype">id</span>; +00439 _NumRef = (IWordNumRef *)<span class="keywordtype">id</span>.allocClass(); +00440 _NumRef->load(is); +00441 <span class="keywordtype">bool</span> k; +00442 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( k ); +00443 <span class="keywordflow">if</span> ( k ) +00444 { +00445 <span class="keywordflow">if</span>(_Parent) _Parent->release(); +00446 is >> <span class="keywordtype">id</span>; +00447 _Parent = (IWordNumRef *)<span class="keywordtype">id</span>.allocClass(); +00448 _Parent->load(is); +00449 } +00450 <span class="keywordflow">else</span> +00451 { +00452 _Parent = NULL; +00453 } +00454 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea46" doxytag="NLAIAGENT::CAgentWatchTimer::release" ></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"> virtual void NLAIC::IPointerGestion::release </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Release allow to release the pointer. The last release when the _Ref is nul delete the object. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00086">86</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00093">NLAIC::IPointerGestion::decRef()</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00174">NLAIAGENT::CSeqFsmScript::activate()</a>, <a class="el" href="a05847.html#l00458">NLAISCRIPT::CAgentClass::addBrancheCode()</a>, <a class="el" href="a05601.html#l00047">NLAISCRIPT::CConstraintDebug::addIndex()</a>, <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a06755.html#l00327">NLAISCRIPT::CCompilateur::affectationMember()</a>, <a class="el" href="a05854.html#l00334">NLAISCRIPT::COperatorClass::backward()</a>, <a class="el" href="a05718.html#l00313">NLAILOGIC::CFirstOrderOperator::backward()</a>, <a class="el" href="a05716.html#l00235">NLAILOGIC::CFirstOrderAssert::backward()</a>, <a class="el" href="a06662.html#l00539">NLAISCRIPT::CCompilateur::buildObject()</a>, <a class="el" href="a05421.html#l00161">NLAILINK::buildScript()</a>, <a class="el" href="a06755.html#l00816">NLAISCRIPT::CCompilateur::callFunction()</a>, <a class="el" href="a05804.html#l00117">NLAIC::CIdentType::CIdentType()</a>, <a class="el" href="a05589.html#l00366">NLAISCRIPT::CCompilateur::clean()</a>, <a class="el" href="a05843.html#l00185">NLAISCRIPT::CParam::clear()</a>, <a class="el" href="a05770.html#l01076">NLAIAGENT::CVectorGroupType::clear()</a>, <a class="el" href="a05770.html#l00664">NLAIAGENT::CGroupType::clear()</a>, <a class="el" href="a06733.html#l00075">NLAIAGENT::CVolatilMemmory::CVolatilMemmory()</a>, <a class="el" href="a05699.html#l00030">NLAISCRIPT::CFactorType::del()</a>, <a class="el" href="a05477.html#l00126">NLAIAGENT::IAgentComposite::deleteListe()</a>, <a class="el" href="a06294.html#l00251">NLAIPYSERVER::endPythonInterface()</a>, <a class="el" href="a05770.html#l00962">NLAIAGENT::CVectorGroupType::erase()</a>, <a class="el" href="a05770.html#l00545">NLAIAGENT::CGroupType::erase()</a>, <a class="el" href="a05770.html#l00946">NLAIAGENT::CVectorGroupType::eraseAll()</a>, <a class="el" href="a05770.html#l00529">NLAIAGENT::CGroupType::eraseAll()</a>, <a class="el" href="a05589.html#l00340">NLAISCRIPT::CCompilateur::errorMethodConstraint()</a>, <a class="el" href="a05589.html#l00325">NLAISCRIPT::CCompilateur::errorTypeConstraint()</a>, <a class="el" href="a05589.html#l00160">NLAISCRIPT::CCompilateur::findMethode()</a>, <a class="el" href="a05854.html#l00350">NLAISCRIPT::COperatorClass::forward()</a>, <a class="el" href="a05718.html#l00330">NLAILOGIC::CFirstOrderOperator::forward()</a>, <a class="el" href="a05588.html#l00070">NLAIAGENT::CComponentHandle::getComponent()</a>, <a class="el" href="a06133.html#l00091">NLAIAGENT::COperatorScript::getDebugString()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a06131.html#l00046">NLAILOGIC::IBaseOperator::IBaseOperator()</a>, <a class="el" href="a06755.html#l00063">NLAISCRIPT::CCompilateur::ifInterrogation()</a>, <a class="el" href="a06755.html#l00097">NLAISCRIPT::CCompilateur::ifInterrogationEnd()</a>, <a class="el" href="a06669.html#l00361">NLAILOGIC::CFactPattern::init()</a>, <a class="el" href="a06343.html#l00197">NLAILOGIC::CRule::init()</a>, <a class="el" href="a05749.html#l00679">NLAIFUZZY::CTrapezeFuzzySet::init()</a>, <a class="el" href="a05749.html#l00563">NLAIFUZZY::CLeftFuzzySet::init()</a>, <a class="el" href="a05749.html#l00442">NLAIFUZZY::CTriangleFuzzySet::init()</a>, <a class="el" href="a05749.html#l00177">NLAIFUZZY::CRightFuzzySet::init()</a>, <a class="el" href="a05749.html#l00074">NLAIFUZZY::CFuzzyInterval::init()</a>, <a class="el" href="a05745.html#l00214">NLAIFUZZY::CFuzzyRule::init()</a>, <a class="el" href="a05741.html#l00068">NLAIFUZZY::CSimpleFuzzyCond::init()</a>, <a class="el" href="a06755.html#l00036">NLAISCRIPT::CCompilateur::interrogationEnd()</a>, <a class="el" href="a05854.html#l00743">NLAISCRIPT::COperatorClass::isValidFonc()</a>, <a class="el" href="a05420.html#l00057">NLAIAGENT::IAgent::Kill()</a>, <a class="el" href="a06660.html#l00190">NLAILOGIC::CVar::load()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06127.html#l00072">NLAISCRIPT::CLdbOpCode::load()</a>, <a class="el" href="a06123.html#l00370">NLAISCRIPT::CLibCallMethodi::load()</a>, <a class="el" href="a06123.html#l00303">NLAISCRIPT::CLibCallInheritedMethod::load()</a>, <a class="el" href="a06123.html#l00241">NLAISCRIPT::CLibCallMethod::load()</a>, <a class="el" href="a06121.html#l00102">NLAISCRIPT::CLdbNewOpCode::load()</a>, <a class="el" href="a06120.html#l00758">NLAISCRIPT::CAddParamNameDebug::load()</a>, <a class="el" href="a06120.html#l00658">NLAISCRIPT::CFindRunMsg::load()</a>, <a class="el" href="a05911.html#l00061">NLAIAGENT::IListBasicManager::load()</a>, <a class="el" href="a05770.html#l01055">NLAIAGENT::CVectorGroupType::load()</a>, <a class="el" href="a05770.html#l00643">NLAIAGENT::CGroupType::load()</a>, <a class="el" href="a05412.html#l00605">NLAIAGENT::CAgentScript::load()</a>, <a class="el" href="a05407.html#l00087">NLAIAGENT::CStringType::load()</a>, <a class="el" href="a05401.html#l00070">NLAIAGENT::CLocalAgentMail::load()</a>, <a class="el" href="a06124.html#l00103">NLAISCRIPT::CMethodContextDebug::loadContext()</a>, <a class="el" href="a05589.html#l00052">NLAISCRIPT::CCompilateur::onEndClass()</a>, <a class="el" href="a05964.html#l00143">NLAIAGENT::CLocalMailBox::onKill()</a>, <a class="el" href="a05420.html#l00081">NLAIAGENT::IAgent::onKill()</a>, <a class="el" href="a05400.html#l00058">NLAIAGENT::CLocalAgentMail::onKill()</a>, <a class="el" href="a05770.html#l00698">NLAIAGENT::CVectorGroupType::operator-()</a>, <a class="el" href="a05770.html#l00284">NLAIAGENT::CGroupType::operator-()</a>, <a class="el" href="a05859.html#l00079">NLAIAGENT::CKeyObject::operator=()</a>, <a class="el" href="a05600.html#l00089">NLAISCRIPT::CFunctionTag::operator=()</a>, <a class="el" href="a05475.html#l00068">NLAIAGENT::CIdMethod::operator=()</a>, <a class="el" href="a06755.html#l00358">NLAISCRIPT::CCompilateur::PrivateError()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a05475.html#l00433">NLAIAGENT::IRefrence::refLoadStream()</a>, <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>, <a class="el" href="a05477.html#l00108">NLAIAGENT::IAgentComposite::removeChild()</a>, <a class="el" href="a05716.html#l00095">NLAILOGIC::CFirstOrderAssert::removeFact()</a>, <a class="el" href="a05605.html#l00067">NLAISCRIPT::CConstraintStackComp::run()</a>, <a class="el" href="a05603.html#l00047">NLAISCRIPT::CConstraintFindRun::run()</a>, <a class="el" href="a05599.html#l00050">NLAISCRIPT::CConstraintMethode::run()</a>, <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a06733.html#l00218">NLAIAGENT::CVolatilMemmory::runMessage()</a>, <a class="el" href="a06129.html#l00262">NLAIAGENT::CAgentOperation::runMethodBase()</a>, <a class="el" href="a05589.html#l00286">NLAISCRIPT::CCompilateur::runMethodConstraint()</a>, <a class="el" href="a05763.html#l00773">NLAILOGIC::CInternalGoal::runMethodeMember()</a>, <a class="el" href="a05763.html#l00439">NLAILOGIC::CGoal::runMethodeMember()</a>, <a class="el" href="a05695.html#l00222">NLAILOGIC::CFact::runMethodeMember()</a>, <a class="el" href="a05475.html#l00266">NLAIAGENT::IObjectIA::runMethodeMember()</a>, <a class="el" href="a06126.html#l00087">NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode()</a>, <a class="el" href="a06124.html#l00278">NLAISCRIPT::CCallStackMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00333">NLAISCRIPT::CLibHeapMemberMethod::runOpCode()</a>, <a class="el" href="a06121.html#l00960">NLAISCRIPT::CAffOpCode::runOpCode()</a>, <a class="el" href="a06121.html#l00819">NLAISCRIPT::CJFalseOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00449">NLAISCRIPT::CAffOpCodeDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00274">NLAISCRIPT::CDiffOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00250">NLAISCRIPT::CInfEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00226">NLAISCRIPT::CSupEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00202">NLAISCRIPT::CEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00177">NLAISCRIPT::CInfOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00150">NLAISCRIPT::CSupOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00126">NLAISCRIPT::CMulOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00101">NLAISCRIPT::CDivOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00077">NLAISCRIPT::CSubOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00053">NLAISCRIPT::CAddOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00034">NLAISCRIPT::CNegOpCode::runOpCode()</a>, <a class="el" href="a05412.html#l00953">NLAIAGENT::CAgentScript::runTellParentNotify()</a>, <a class="el" href="a05589.html#l00260">NLAISCRIPT::CCompilateur::runTypeConstraint()</a>, <a class="el" href="a06734.html#l00092">NLAIAGENT::CHashTimerManager::sendMessage()</a>, <a class="el" href="a06733.html#l00202">NLAIAGENT::CVolatilMemmory::sendMessage()</a>, <a class="el" href="a05964.html#l00093">NLAIAGENT::CLocalMailBox::sendMessage()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, <a class="el" href="a05416.html#l00741">NLAIAGENT::CAgentTimerHandle::sendMessage()</a>, <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>, <a class="el" href="a05412.html#l01177">NLAIAGENT::CAgentScript::sendMethod()</a>, <a class="el" href="a06589.html#l00283">NLAISCRIPT::COperandSimple::serial()</a>, <a class="el" href="a06114.html#l00142">NLAISCRIPT::CObjectUnknown::setBaseType()</a>, <a class="el" href="a06662.html#l00471">NLAISCRIPT::CCompilateur::setChaineVar()</a>, <a class="el" href="a05845.html#l00133">NLAISCRIPT::CClassInterpretFactory::setClass()</a>, <a class="el" href="a05386.html#l00437">NLAIC::CSelfClassFactory::setClass()</a>, <a class="el" href="a05845.html#l00096">NLAISCRIPT::IClassInterpret::setClassName()</a>, <a class="el" href="a06114.html#l00136">NLAISCRIPT::CObjectUnknown::setClassType()</a>, <a class="el" href="a06065.html#l00177">NLAIAGENT::IMessageBase::setContinuation()</a>, <a class="el" href="a06131.html#l00150">NLAILOGIC::IBaseOperator::setGoal()</a>, <a class="el" href="a05854.html#l00698">NLAISCRIPT::COperatorClass::setGoal()</a>, <a class="el" href="a06662.html#l00452">NLAISCRIPT::CCompilateur::setImediateVar()</a>, <a class="el" href="a06662.html#l00439">NLAISCRIPT::CCompilateur::setImediateVarNill()</a>, <a class="el" href="a05843.html#l00278">NLAISCRIPT::CParam::setInfo()</a>, <a class="el" href="a05847.html#l00836">NLAISCRIPT::CAgentClass::setInheritanceName()</a>, <a class="el" href="a06662.html#l00463">NLAISCRIPT::CCompilateur::setListVar()</a>, <a class="el" href="a06066.html#l00106">NLAIAGENT::IMessageBase::setMessageGroup()</a>, <a class="el" href="a06662.html#l00492">NLAISCRIPT::CCompilateur::setMethodVar()</a>, <a class="el" href="a06660.html#l00098">NLAILOGIC::IBaseVar::setName()</a>, <a class="el" href="a06130.html#l00087">NLAIAGENT::CAgentOperation::setName()</a>, <a class="el" href="a05843.html#l00339">NLAISCRIPT::CMethodeName::setName()</a>, <a class="el" href="a05475.html#l00461">NLAIAGENT::IRefrence::setNumRef()</a>, <a class="el" href="a05603.html#l00114">NLAISCRIPT::CConstraintFindRun::setOpCode()</a>, <a class="el" href="a05599.html#l00285">NLAISCRIPT::CConstraintMethode::setOpCode()</a>, <a class="el" href="a06662.html#l00401">NLAISCRIPT::CCompilateur::setPerformative()</a>, <a class="el" href="a05763.html#l00891">NLAILOGIC::CInternalGoal::setProperty()</a>, <a class="el" href="a06065.html#l00170">NLAIAGENT::IMessageBase::setReceiver()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a06658.html#l00550">NLAILOGIC::CValueSet::setSize()</a>, <a class="el" href="a06662.html#l00482">NLAISCRIPT::CCompilateur::setStackVar()</a>, <a class="el" href="a06030.html#l00263">NLAIAGENT::CMessageScript::setStaticMember()</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, <a class="el" href="a05845.html#l00083">NLAISCRIPT::IClassInterpret::setType()</a>, <a class="el" href="a05600.html#l00105">NLAISCRIPT::CFunctionTag::setTypeObject()</a>, <a class="el" href="a05843.html#l00376">NLAISCRIPT::CMethodeName::setTypeOfMethode()</a>, <a class="el" href="a06660.html#l00147">NLAILOGIC::CVar::setValue()</a>, <a class="el" href="a06130.html#l00075">NLAIAGENT::CAgentOperation::setValue()</a>, <a class="el" href="a05398.html#l00075">NLAIAGENT::IAgentInput::setValue()</a>, <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>, <a class="el" href="a05854.html#l00246">NLAISCRIPT::COperatorClass::unifyBackward()</a>, <a class="el" href="a05718.html#l00225">NLAILOGIC::CFirstOrderOperator::unifyBackward()</a>, <a class="el" href="a05854.html#l00285">NLAISCRIPT::COperatorClass::unifyForward()</a>, <a class="el" href="a05718.html#l00264">NLAILOGIC::CFirstOrderOperator::unifyForward()</a>, <a class="el" href="a06343.html#l00402">NLAILOGIC::CRule::unifyLiaisonBack()</a>, <a class="el" href="a06120.html#l00719">NLAISCRIPT::CAddParamNameDebug::~CAddParamNameDebug()</a>, <a class="el" href="a05847.html#l00105">NLAISCRIPT::CAgentClass::~CAgentClass()</a>, <a class="el" href="a06129.html#l00062">NLAIAGENT::CAgentOperation::~CAgentOperation()</a>, <a class="el" href="a05412.html#l00476">NLAIAGENT::CAgentScript::~CAgentScript()</a>, <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>, <a class="el" href="a05416.html#l00253">~CAgentWatchTimer()</a>, <a class="el" href="a05845.html#l00128">NLAISCRIPT::CClassInterpretFactory::~CClassInterpretFactory()</a>, <a class="el" href="a05573.html#l00083">NLAISCRIPT::CCodeBrancheRunDebug::~CCodeBrancheRunDebug()</a>, <a class="el" href="a05590.html#l00317">NLAISCRIPT::CCompilateur::~CCompilateur()</a>, <a class="el" href="a05588.html#l00052">NLAIAGENT::CComponentHandle::~CComponentHandle()</a>, <a class="el" href="a05607.html#l00085">NLAISCRIPT::CConstraintChkMethodeType::~CConstraintChkMethodeType()</a>, <a class="el" href="a05600.html#l00372">NLAISCRIPT::CConstraintMethode::~CConstraintMethode()</a>, <a class="el" href="a05605.html#l00060">NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp()</a>, <a class="el" href="a05695.html#l00110">NLAILOGIC::CFact::~CFact()</a>, <a class="el" href="a06120.html#l00599">NLAISCRIPT::CFindRunMsg::~CFindRunMsg()</a>, <a class="el" href="a05716.html#l00052">NLAILOGIC::CFirstOrderAssert::~CFirstOrderAssert()</a>, <a class="el" href="a05600.html#l00112">NLAISCRIPT::CFunctionTag::~CFunctionTag()</a>, <a class="el" href="a05804.html#l00093">NLAIC::CIdentType::~CIdentType()</a>, <a class="el" href="a05475.html#l00107">NLAIAGENT::CIdMethod::~CIdMethod()</a>, <a class="el" href="a05763.html#l00569">NLAILOGIC::CInternalGoal::~CInternalGoal()</a>, <a class="el" href="a05859.html#l00074">NLAIAGENT::CKeyObject::~CKeyObject()</a>, <a class="el" href="a06121.html#l00113">NLAISCRIPT::CLdbNewOpCode::~CLdbNewOpCode()</a>, <a class="el" href="a06127.html#l00081">NLAISCRIPT::CLdbOpCode::~CLdbOpCode()</a>, <a class="el" href="a06123.html#l00319">NLAISCRIPT::CLibCallInheritedMethod::~CLibCallInheritedMethod()</a>, <a class="el" href="a06123.html#l00254">NLAISCRIPT::CLibCallMethod::~CLibCallMethod()</a>, <a class="el" href="a06123.html#l00386">NLAISCRIPT::CLibCallMethodi::~CLibCallMethodi()</a>, <a class="el" href="a05964.html#l00060">NLAIAGENT::CLocalMailBox::~CLocalMailBox()</a>, <a class="el" href="a05966.html#l00061">NLAIAGENT::CMainAgentScript::~CMainAgentScript()</a>, <a class="el" href="a06500.html#l00076">NLAISCRIPT::CLibTest::CMethodCall::~CMethodCall()</a>, <a class="el" href="a05413.html#l00114">NLAIAGENT::CAgentScript::CMethodCall::~CMethodCall()</a>, <a class="el" href="a05843.html#l00299">NLAISCRIPT::CMethodeName::~CMethodeName()</a>, <a class="el" href="a05848.html#l00136">NLAISCRIPT::CAgentClass::CMethodType::~CMethodType()</a>, <a class="el" href="a06114.html#l00149">NLAISCRIPT::CObjectUnknown::~CObjectUnknown()</a>, <a class="el" href="a06589.html#l00300">NLAISCRIPT::COperandSimple::~COperandSimple()</a>, <a class="el" href="a06589.html#l00552">NLAISCRIPT::COperandUnknown::~COperandUnknown()</a>, <a class="el" href="a06589.html#l00679">NLAISCRIPT::COperationType::~COperationType()</a>, <a class="el" href="a06589.html#l00813">NLAISCRIPT::COperationTypeGD::~COperationTypeGD()</a>, <a class="el" href="a05854.html#l00094">NLAISCRIPT::COperatorClass::~COperatorClass()</a>, <a class="el" href="a05407.html#l00243">NLAIAGENT::CPairType::~CPairType()</a>, <a class="el" href="a05386.html#l00444">NLAIC::CSelfClassFactory::~CSelfClassFactory()</a>, <a class="el" href="a05407.html#l00128">NLAIAGENT::CStringType::~CStringType()</a>, <a class="el" href="a06658.html#l00132">NLAILOGIC::CValueSet::~CValueSet()</a>, <a class="el" href="a06660.html#l00141">NLAILOGIC::CVar::~CVar()</a>, <a class="el" href="a06733.html#l00080">NLAIAGENT::CVolatilMemmory::~CVolatilMemmory()</a>, <a class="el" href="a05398.html#l00043">NLAIAGENT::IAgentInput::~IAgentInput()</a>, <a class="el" href="a05422.html#l00039">NLAILOGIC::IBaseAssert::~IBaseAssert()</a>, <a class="el" href="a06131.html#l00068">NLAILOGIC::IBaseOperator::~IBaseOperator()</a>, <a class="el" href="a06660.html#l00111">NLAILOGIC::IBaseVar::~IBaseVar()</a>, <a class="el" href="a05420.html#l00303">NLAIAGENT::IBasicAgent::~IBasicAgent()</a>, <a class="el" href="a06039.html#l00091">NLAISCRIPT::IBlock::~IBlock()</a>, <a class="el" href="a05845.html#l00065">NLAISCRIPT::IClassInterpret::~IClassInterpret()</a>, <a class="el" href="a05763.html#l00059">NLAILOGIC::IGoal::~IGoal()</a>, <a class="el" href="a05911.html#l00050">NLAIAGENT::IListBasicManager::~IListBasicManager()</a>, <a class="el" href="a06065.html#l00142">NLAIAGENT::IMessageBase::~IMessageBase()</a>, <a class="el" href="a05475.html#l00467">NLAIAGENT::IRefrence::~IRefrence()</a>, and <a class="el" href="a06759.html#l00041">NLAICHARACTER::IZone::~IZone()</a>. +<p> +<div class="fragment"><pre>00087 { +00088 <span class="keywordflow">if</span>(<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea2">decRef</a>() == 0) +00089 <span class="keyword">delete</span> <span class="keyword">this</span>; +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgente1" doxytag="NLAIAGENT::CAgentWatchTimer::releaseAgentScript" ></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 NLAIAGENT::CAgentScript::releaseAgentScript </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00355">355</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a05421.html#l00047">NLAILINK::releaseIALib()</a>. +<p> +<div class="fragment"><pre>00356 { +00357 <span class="comment">//SendParamMessageScript->release();</span> +00358 <span class="comment">//IdMsgNotifyParentClass->release(); </span> +00360 <span class="comment"></span> <span class="comment">// Temp, to be transfered in CGDAgentScript (Goal Driven Agent)</span> +00361 <span class="comment">// IdGoalMsgClass->release();</span> +00362 <span class="comment">// IdGoalMsg->release();</span> +00363 <span class="comment">//ParamGoalMsg->release();</span> +00364 <span class="comment">//ParamCancelGoalMsg->release();</span> +00366 <span class="comment"></span> +00367 <span class="comment">//ParamRunParentNotify->release();</span> +00368 <span class="comment">//SendCompParamMessageScript->release();</span> +00369 <a class="code" href="a04558.html#a14">sint</a> i; +00370 <span class="keywordflow">for</span>(i = 0; i < CAgentScript::TLastM; i++) +00371 { +00372 <span class="keyword">delete</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>[i]; +00373 } +00374 <span class="keyword">delete</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">StaticMethod</a>; +00375 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimere4" doxytag="NLAIAGENT::CAgentWatchTimer::releaseClass" ></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 NLAIAGENT::CAgentWatchTimer::releaseClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimere4">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00577">577</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +<div class="fragment"><pre>00578 { +00579 CAgentTimerHandle::releaseClass(); +00580 <span class="keyword">delete</span> CAgentWatchTimer::IdAgentWatchTimer; +00581 <span class="keywordtype">int</span> i; +00582 <span class="keywordflow">for</span>(i = 0; i < CAgentWatchTimer::TLastM; i++) +00583 { +00584 <span class="keyword">delete</span> CAgentWatchTimer::StaticMethod[i]; +00585 } +00586 <span class="keyword">delete</span> CAgentWatchTimer::StaticMethod; +00587 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_10" doxytag="NLAIAGENT::CAgentWatchTimer::remOperator" ></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 NLAIAGENT::CAgentScript::remOperator </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02288.html">NLAILOGIC::IBaseOperator</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Removing operator from th agent. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01672">1672</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +<div class="fragment"><pre>01673 { +01674 <span class="comment">/* std::vector<NLAILOGIC::IBaseOperator *>::iterator it_o = _Operators.begin();</span> +01675 <span class="comment"> while ( it_o != _Operators.end() )</span> +01676 <span class="comment"> {</span> +01677 <span class="comment"> if ( op == *it_o )</span> +01678 <span class="comment"> {</span> +01679 <span class="comment"> _Operators.erase( it_o );</span> +01680 <span class="comment"> return;</span> +01681 <span class="comment"> }</span> +01682 <span class="comment"> it_o++;</span> +01683 <span class="comment"> }</span> +01684 <span class="comment"> char buf[2048];</span> +01685 <span class="comment"> op->getDebugString(buf);</span> +01686 <span class="comment"> throw NLAIE::CExceptionObjectNotFoundError(buf);</span> +01687 <span class="comment"> */</span> +01688 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1611_2" doxytag="NLAIAGENT::CAgentWatchTimer::removeChild" ></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 NLAIAGENT::IAgentComposite::removeChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02162.html">IBasicAgent</a> * >::iterator & </td> + <td class="mdname1" valign="top" nowrap> <em>iter</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Remove a child from the std::list<IBasicAgent *> child list. +<p> +Implements <a class="el" href="a02162.html#NLAIAGENT_1_1IBasicAgenta34">NLAIAGENT::IBasicAgent</a>. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMailz1642_4">NLAIAGENT::CLocalAgentMail</a>. +<p> +Definition at line <a class="el" href="a05477.html#l00084">84</a> of file <a class="el" href="a05477.html">basic_agent.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00340">NLAIAGENT::IAgentComposite::_AgentList</a>, and <a class="el" href="a05393.html#l00342">NLAIAGENT::IAgentComposite::_SizeChild</a>. +<p> +<div class="fragment"><pre>00085 { +00086 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.erase(iter); +00087 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> --; +00088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1611_3" doxytag="NLAIAGENT::CAgentWatchTimer::removeChild" ></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 NLAIAGENT::IAgentComposite::removeChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02162.html">IBasicAgent</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Remove a child from the std::list<IBasicAgent *> child list. +<p> +Implements <a class="el" href="a02162.html#NLAIAGENT_1_1IBasicAgenta35">NLAIAGENT::IBasicAgent</a>. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMailz1642_5">NLAIAGENT::CLocalAgentMail</a>. +<p> +Definition at line <a class="el" href="a05477.html#l00108">108</a> of file <a class="el" href="a05477.html">basic_agent.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00340">NLAIAGENT::IAgentComposite::_AgentList</a>, <a class="el" href="a05393.html#l00342">NLAIAGENT::IAgentComposite::_SizeChild</a>, <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa41">NLAIAGENT::IMailBox::removeMailBox()</a>. +<p> +<div class="fragment"><pre>00109 { +00110 std::list<IBasicAgent *>::iterator i = <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.begin(); +00111 <span class="keywordflow">while</span>(i != <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.end()) +00112 { +00113 <a class="code" href="a02162.html#NLAIAGENT_1_1IBasicAgentb1">IBasicAgent</a> *c = *i; +00114 <span class="keywordflow">if</span>(c == p) +00115 { +00116 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.erase(i); +00117 p->getMail()->removeMailBox( this->getMail() ); +00118 c->release(); +00119 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> --; +00120 <span class="comment">// Supprime chez l'ancien fils la boite au lettre du père </span> +00121 <span class="keywordflow">break</span>; +00122 } +00123 i++; +00124 } +00125 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1611_4" doxytag="NLAIAGENT::CAgentWatchTimer::removeChild" ></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 NLAIAGENT::IAgentComposite::removeChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02162.html">IBasicAgent</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05477.html#l00090">90</a> of file <a class="el" href="a05477.html">basic_agent.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00340">NLAIAGENT::IAgentComposite::_AgentList</a>, <a class="el" href="a05393.html#l00342">NLAIAGENT::IAgentComposite::_SizeChild</a>, <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>, and <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa41">NLAIAGENT::IMailBox::removeMailBox()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00840">NLAIAGENT::CAgentScript::removeDynamic()</a>, <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>, and <a class="el" href="a05420.html#l00137">NLAIAGENT::IAgent::runChildrenStepByStep()</a>. +<p> +<div class="fragment"><pre>00091 { +00092 std::list<IBasicAgent *>::iterator i = <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.begin(); +00093 <span class="keywordflow">while</span>(i != <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.end()) +00094 { +00095 <span class="keywordflow">if</span>(*((*i)) == p) +00096 { +00097 (*i)->release(); +00098 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">_AgentList</a>.erase(i); +00099 <span class="comment">// Supprime chez l'ancien fils la boite au lettre du père</span> +00100 p.getMail()->removeMailBox( this->getMail() ); +00101 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">_SizeChild</a> --; +00102 <span class="keywordflow">return</span>; +00103 } +00104 i++; +00105 } +00106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta35" doxytag="NLAIAGENT::CAgentWatchTimer::removeConnection" ></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 NLAIAGENT::IConnectIA::removeConnection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>Agent</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To release a connection. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00561">561</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00600">NLAIAGENT::IConnectIA::removeInConnectedList()</a>, and <a class="el" href="a05475.html#l00577">NLAIAGENT::IConnectIA::removeInConnectionList()</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00343">detach()</a>, <a class="el" href="a05420.html#l00081">NLAIAGENT::IAgent::onKill()</a>, <a class="el" href="a05398.html#l00055">NLAIAGENT::IAgentInput::releaseInputConnexion()</a>, and <a class="el" href="a05964.html#l00114">NLAIAGENT::CLocalMailBox::removeMailBox()</a>. +<p> +<div class="fragment"><pre>00562 { +00563 Agent->removeInConnectedList(<span class="keyword">this</span>); +00564 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentz1689_3">removeInConnectionList</a>(Agent); +00565 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_11" doxytag="NLAIAGENT::CAgentWatchTimer::removeDynamic" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::removeDynamic </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">NLAIAGENT::IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>g</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +that is a surchage of the method member virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_1">addDynamicAgent(NLAIAGENT::IBaseGroupType *g)</a>; +<p> +Definition at line <a class="el" href="a05412.html#l00840">840</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_9">NLAIAGENT::IBaseGroupType::getFront()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05477.html#l00090">NLAIAGENT::IAgentComposite::removeChild()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00841 { +00842 CStringType *<a class="code" href="a04223.html#a626">s</a> = (CStringType *)g-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_9">getFront</a>(); +00843 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00844 <a class="code" href="a04223.html#a628">r</a>.ResultState = IObjectIA::ProcessIdle; +00845 std::pair<TSetDefNameAgent::iterator,TSetDefNameAgent::iterator> p = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.equal_range(CKeyAgent(*s)); +00846 +00847 <span class="keywordflow">if</span>(p.first != p.second) +00848 { +00849 <span class="keywordflow">while</span>(p.first != p.second) +00850 { +00851 TSetDefNameAgent::iterator iTmp = p.first; +00852 p.first ++; +00853 +00854 <a class="code" href="a02162.html">NLAIAGENT::IBasicAgent</a> *o = *iTmp->Itr; +00855 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.erase(iTmp); +00856 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentz1611_4">removeChild</a>(o); +00857 } +00858 <a class="code" href="a04223.html#a628">r</a>.Result = <span class="keyword">new</span> DigitalType(1.0); +00859 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00860 } +00861 <a class="code" href="a04223.html#a628">r</a>.Result = &DigitalType::NullOperator; +00862 <a class="code" href="a04223.html#a628">r</a>.Result->incRef(); +00863 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00864 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_12" doxytag="NLAIAGENT::CAgentWatchTimer::removeDynamic" ></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 NLAIAGENT::CAgentScript::removeDynamic </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02162.html">NLAIAGENT::IBasicAgent</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ag</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove an agent from the manager. The rgument g must store an <a class="el" href="a03453.html">CStringType</a>. This string is the name of the agent to remove. The methode return the state of the operation, an digital at 1.0 if the remove is done an digital at 0.0 is the method did'nt find the agent. +<p> +Definition at line <a class="el" href="a05412.html#l00867">867</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, and <a class="el" href="a05477.html#l00090">NLAIAGENT::IAgentComposite::removeChild()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>00868 { +00869 +00870 TSetDefNameAgent::iterator p = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.begin(); +00871 +00872 <span class="keywordflow">while</span>(p != <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.end()) +00873 { +00874 <span class="keywordflow">if</span>((*(*p).Itr) == ag) +00875 { +00876 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.erase(p); +00877 <a class="code" href="a02161.html#NLAIAGENT_1_1IMainAgentz1611_4">removeChild</a>(ag); +00878 <span class="keywordflow">break</span>; +00879 } +00880 p ++; +00881 } +00882 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1673_1" doxytag="NLAIAGENT::CAgentWatchTimer::removeGoal" ></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"> virtual void NLAIAGENT::CAgentScript::removeGoal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02594.html">NLAILOGIC::CGoal</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove a goal, it hapend when it neaded by user, when the priorty is down or when the goal is satisfay. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00410">410</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05763.html#l00225">NLAILOGIC::CGoal::operatorSuccess()</a>. +<p> +<div class="fragment"><pre>00411 { +00412 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1689_2" doxytag="NLAIAGENT::CAgentWatchTimer::removeInConnectedList" ></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 NLAIAGENT::IConnectIA::removeInConnectedList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00600">600</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00427">NLAIAGENT::IConnectIA::_Connected</a>, and <a class="el" href="a05476.html#l00422">NLAIAGENT::IConnectIA::TListIBasicItr</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00618">NLAIAGENT::IConnectIA::Kill()</a>, and <a class="el" href="a05475.html#l00561">NLAIAGENT::IConnectIA::removeConnection()</a>. +<p> +<div class="fragment"><pre>00601 { +00602 TListIBasicItr i = <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp4">_Connected</a>.find(a); +00603 <span class="keywordflow">if</span>(i != <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp4">_Connected</a>.end()) +00604 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp4">_Connected</a>.erase(i); +00605 <span class="comment">/*TListIBasicItr i = _Connected.begin();</span> +00606 <span class="comment"> while(i != _Connected.end())</span> +00607 <span class="comment"> { </span> +00608 <span class="comment"> const IConnectIA *o = *i;</span> +00609 <span class="comment"> if(o == a)</span> +00610 <span class="comment"> { </span> +00611 <span class="comment"> _Connected.erase(i);</span> +00612 <span class="comment"> return;</span> +00613 <span class="comment"> }</span> +00614 <span class="comment"> i++;</span> +00615 <span class="comment"> }*/</span> +00616 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1689_3" doxytag="NLAIAGENT::CAgentWatchTimer::removeInConnectionList" ></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 NLAIAGENT::IConnectIA::removeInConnectionList </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02164.html">IConnectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00577">577</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00426">NLAIAGENT::IConnectIA::_Connection</a>, and <a class="el" href="a05476.html#l00422">NLAIAGENT::IConnectIA::TListIBasicItr</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00618">NLAIAGENT::IConnectIA::Kill()</a>, and <a class="el" href="a05475.html#l00561">NLAIAGENT::IConnectIA::removeConnection()</a>. +<p> +<div class="fragment"><pre>00578 { +00579 +00580 TListIBasicItr i = <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp5">_Connection</a>.find(a); +00581 <span class="keywordflow">if</span>(i != <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp5">_Connection</a>.end()) +00582 <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgentp5">_Connection</a>.erase(i); +00583 <span class="comment">/*TListIBasicItr i = _Connection.begin();</span> +00584 <span class="comment"> while(i != _Connection.end())</span> +00585 <span class="comment"> { </span> +00586 <span class="comment"> if(*i == a)</span> +00587 <span class="comment"> {</span> +00588 <span class="comment"> _Connection.erase(i);</span> +00589 <span class="comment"> return;</span> +00590 <span class="comment"> }</span> +00591 <span class="comment"> i++;</span> +00592 <span class="comment"> }*/</span> +00593 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb3" doxytag="NLAIAGENT::CAgentWatchTimer::run" ></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"> <a class="el" href="a02149.html">IObjectIA</a> * NLAIAGENT::IBasicAgent::run </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Run message is the message processing. +<p> +Reimplemented in <a class="el" href="a02977.html#NLAIAGENT_1_1CMsgWaitera37">NLAIAGENT::CMsgWaiter</a>. +<p> +Definition at line <a class="el" href="a05420.html#l00365">365</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a06066.html#l00152">NLAIAGENT::IMessageBase::getContinuation()</a>, <a class="el" href="a06066.html#l00131">NLAIAGENT::IMessageBase::getPerformatif()</a>, <a class="el" href="a06066.html#l00142">NLAIAGENT::IMessageBase::getSender()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05393.html#l00127">NLAIAGENT::IBasicAgent::runAchieve()</a>, <a class="el" href="a05420.html#l00546">NLAIAGENT::IBasicAgent::runAsk()</a>, <a class="el" href="a05393.html#l00159">NLAIAGENT::IBasicAgent::runBreak()</a>, <a class="el" href="a05393.html#l00206">NLAIAGENT::IBasicAgent::runError()</a>, <a class="el" href="a05393.html#l00105">NLAIAGENT::IBasicAgent::runEven()</a>, <a class="el" href="a05393.html#l00083">NLAIAGENT::IBasicAgent::runExec()</a>, <a class="el" href="a05393.html#l00184">NLAIAGENT::IBasicAgent::runKill()</a>, <a class="el" href="a05420.html#l00572">NLAIAGENT::IBasicAgent::runTell()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00200">NLAIAGENT::CSeqFsmScript::runChildren()</a>, and <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>. +<p> +<div class="fragment"><pre>00366 { +00367 IMessageBase *returnMsg = NULL; +00368 <span class="keywordflow">switch</span>(msg.getPerformatif()) +00369 { +00370 <span class="keywordflow">case</span> IMessageBase::PUndefine: +00371 { +00372 std::string text; +00373 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"Function IObjectIA *IBasicAgent::run('%s') proccess an IMessageBase::PUndefine performatif"</span>,(<span class="keyword">const</span> <span class="keywordtype">char</span> *)msg.getType()); +00374 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00375 } +00376 <span class="keywordflow">break</span>; +00377 <span class="keywordflow">case</span> IMessageBase::PExec: +00378 +00379 returnMsg = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentb9">runExec</a>(msg); +00380 <span class="keywordflow">if</span>(msg.getContinuation() != NULL) +00381 { +00382 returnMsg->incRef(); +00383 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg.getContinuation())->sendMessage(returnMsg); +00384 } +00385 <span class="keywordflow">break</span>; +00386 <span class="keywordflow">case</span> IMessageBase::PAchieve: +00387 returnMsg = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentb4">runAchieve</a>(msg); +00388 <span class="keywordflow">if</span>(msg.getContinuation() != NULL) +00389 { +00390 returnMsg->incRef(); +00391 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg.getContinuation())->sendMessage(returnMsg); +00392 } +00393 <span class="keywordflow">break</span>; +00394 <span class="keywordflow">case</span> IMessageBase::PAsk: +00395 returnMsg = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentb5">runAsk</a>(msg); +00396 returnMsg->setPerformatif(IMessageBase::PTell); +00397 returnMsg->incRef(); +00398 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg.getSender())->sendMessage(returnMsg); +00399 <span class="keywordflow">if</span>(msg.getContinuation() != NULL) +00400 { +00401 returnMsg->incRef(); +00402 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg.getContinuation())->sendMessage(returnMsg); +00403 } +00404 <span class="keywordflow">break</span>; +00405 <span class="keywordflow">case</span> IMessageBase::PTell: +00406 returnMsg = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera56">runTell</a>(msg); +00407 +00408 <span class="keywordflow">break</span>; +00409 <span class="keywordflow">case</span> IMessageBase::PBreak: +00410 returnMsg = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentb6">runBreak</a>(msg); +00411 <span class="keywordflow">break</span>; +00412 <span class="keywordflow">case</span> IMessageBase::PKill: +00413 returnMsg = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera52">runKill</a>(msg); +00414 <span class="keywordflow">break</span>; +00415 <span class="keywordflow">case</span> IMessageBase::PError: +00416 returnMsg = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentb7">runError</a>(msg); +00417 <span class="keywordflow">break</span>; +00418 +00419 <span class="keywordflow">case</span> IMessageBase::PEven: +00420 returnMsg = <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentb8">runEven</a>(msg); +00421 <span class="keywordflow">break</span>; +00422 <span class="keywordflow">default</span>: <span class="keywordflow">break</span>; +00423 } +00424 +00425 <span class="keywordflow">if</span>(returnMsg) returnMsg->release(); +00426 <span class="keywordflow">return</span> NULL; +00427 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_15" doxytag="NLAIAGENT::CAgentWatchTimer::run" ></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"> const <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> & NLAIAGENT::CAgentScript::run </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The work of an agent. Typically agent process child message, process its message and run its activity. +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1619_1">NLAIAGENT::IAgent</a>. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAILOGIC_1_1CGoalPatha63">NLAIAGENT::CActorScript</a>, <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta44">NLAIAGENT::CMainAgentScript</a>, <a class="el" href="a02190.html#NLAIAGENT_1_1CAgentOperationa79">NLAIAGENT::CAgentOperation</a>, <a class="el" href="a02564.html#NLAIAGENT_1_1CSeqFsmScripta68">NLAIAGENT::CFsmScript</a>, and <a class="el" href="a03026.html#NLAIAGENT_1_1COperatorScripta78">NLAIAGENT::COperatorScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01628">1628</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a06552.html#l00105">NLMISC::CTime::getPerformanceTime()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a06553.html#l00048">NLMISC::TTicks</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00401">NLAIAGENT::CActorScript::run()</a>. +<p> +<div class="fragment"><pre>01629 { +01630 +01631 <span class="preprocessor">#ifdef NL_DEBUG</span> +01632 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_class_name = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +01633 <span class="comment">//const NLAIAGENT::IRefrence *dbg_mail_parent = _ScriptMail->getParent();</span> +01634 <span class="preprocessor">#endif</span> +01635 <span class="preprocessor"></span> +01636 <span class="preprocessor">#ifdef PROFILE</span> +01637 <span class="preprocessor"></span> <a class="code" href="a05378.html#a243">NLMISC::TTicks</a> time = <a class="code" href="a02142.html#NLMISC_1_1CTimee1">NLMISC::CTime::getPerformanceTime</a>(); +01638 <span class="preprocessor">#endif</span> +01639 <span class="preprocessor"></span> +01640 <span class="keyword">const</span> IObjectIA::CProcessResult &<a class="code" href="a04223.html#a628">r</a> = IAgentManager::run(); +01641 +01642 <span class="preprocessor">#ifdef PROFILE</span> +01643 <span class="preprocessor"></span> time = <a class="code" href="a02142.html#NLMISC_1_1CTimee1">NLMISC::CTime::getPerformanceTime</a>() - time; +01644 <span class="comment">//if(time)</span> +01645 { +01646 TimeRun = time; +01647 NbRun = 1; +01648 } +01649 <span class="preprocessor">#endif</span> +01650 <span class="preprocessor"></span> +01651 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01652 +01653 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb4" doxytag="NLAIAGENT::CAgentWatchTimer::runAchieve" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::IBasicAgent::runAchieve </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runAchieve ist to processing reltative to PAchieve Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Definition at line <a class="el" href="a05393.html#l00127">127</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>. +<p> +<div class="fragment"><pre>00128 { +00129 std::string debugString; +00130 std::string text; +00131 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00132 text = <span class="stringliteral">"IMessageBase *runAchieve("</span>; +00133 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(); +00134 text += <span class="stringliteral">" note implementaited for the '"</span>; +00135 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00136 text += <span class="stringliteral">"' interface for the instence '"</span>; +00137 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00138 text += <span class="stringliteral">"' '"</span>; +00139 text += debugString; +00140 text += <span class="stringliteral">"'"</span>; +00141 +00142 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00143 <span class="keywordflow">return</span> NULL; +00144 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera51" doxytag="NLAIAGENT::CAgentWatchTimer::runActivity" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentWatchTimer::runActivity </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Mailer do'nt have own activity. +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_16">NLAIAGENT::CAgentScript</a>. +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimera51">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00280">280</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00169">_Clock</a>, <a class="el" href="a05417.html#l00170">_DTime</a>, <a class="el" href="a06552.html#l00055">NLMISC::CTime::getLocalTime()</a>, <a class="el" href="a05420.html#l00309">NLAIAGENT::IBasicAgent::getState()</a>, <a class="el" href="a05364.html#a50a36">NLAIAGENT::processToKill</a>, <a class="el" href="a05420.html#l00314">NLAIAGENT::IBasicAgent::setState()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05416.html#l00291">tellBroker()</a>, and <a class="el" href="a06553.html#l00048">NLMISC::TTicks</a>. +<p> +<div class="fragment"><pre>00281 { +00282 <a class="code" href="a05378.html#a243">NLMISC::TTicks</a> time = <a class="code" href="a02142.html#NLMISC_1_1CTimee0">NLMISC::CTime::getLocalTime</a> () - <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp9">_DTime</a>; +00283 <span class="keywordflow">if</span>((<a class="code" href="a04558.html#a14">sint</a>) (time) >= <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a>) +00284 { +00285 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera65">tellBroker</a>(); +00286 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta42">setState</a>(processToKill,NULL); +00287 } +00288 <span class="keywordflow">return</span> <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta18">getState</a>(); +00289 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb5" doxytag="NLAIAGENT::CAgentWatchTimer::runAsk" ></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"> <a class="el" href="a02325.html">IMessageBase</a> * NLAIAGENT::IBasicAgent::runAsk </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runAsk is to processing reltative to PAsk Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Definition at line <a class="el" href="a05420.html#l00546">546</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, <a class="el" href="a05475.html#l00511">NLAIAGENT::IConnectIA::getParent()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>. +<p> +<div class="fragment"><pre>00547 { +00548 <span class="keywordflow">if</span>(<a class="code" href="a02974.html#NLAISCRIPT_1_1CMsgNotifyParentClasss2">NLAISCRIPT::CMsgNotifyParentClass::IdMsgNotifyParentClass</a> == m.getType()) +00549 { +00550 <span class="keywordflow">if</span>(<a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>() != NULL) +00551 { +00552 CNotifyParentScript *msg = <span class="keyword">new</span> CNotifyParentScript(); +00553 <span class="keywordflow">return</span> msg; +00554 } +00555 <span class="keywordflow">else</span> +00556 { +00557 CNotifyParentScript *msg = <span class="keyword">new</span> CNotifyParentScript((IBasicAgent *)<a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>()); +00558 <span class="keywordflow">return</span> msg; +00559 } +00560 } +00561 <span class="keywordflow">else</span> +00562 { +00563 std::string debugString; +00564 std::string text; +00565 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00566 text += <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"runAsk(%s) note implementaited for the '%s' interface for the instence '%s'"</span>,(<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(),(<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(),debugString.c_str()); +00567 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00568 <span class="keywordflow">return</span> NULL; +00569 } +00570 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_13" doxytag="NLAIAGENT::CAgentWatchTimer::runAskDebugString" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runAskDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function process the message ask debug string for the runTell. +<p> +Definition at line <a class="el" href="a05412.html#l00923">923</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05804.html#l00173">NLAIC::CIdentType::allocClass()</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05475.html#l00511">NLAIAGENT::IConnectIA::getParent()</a>, <a class="el" href="a06066.html#l00142">NLAIAGENT::IMessageBase::getSender()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05911.html#l00113">NLAIAGENT::IListBasicManager::push()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, and <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00924 { +00925 +00926 <span class="preprocessor">#ifdef NL_DEBUG</span> +00927 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *text = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00928 <span class="keyword">const</span> <span class="keywordtype">char</span> *textP = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>()->getType(); +00929 <span class="preprocessor">#endif</span> +00930 <span class="preprocessor"></span> <span class="keyword">static</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> idMsgDebugString (<span class="stringliteral">"MsgDebugString"</span>); +00931 +00932 <a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &mOriginal = (<a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &)*g->get(); +00933 +00934 IMessageBase *m = (IMessageBase *)idMsgDebugString.<a class="code" href="a02650.html#NLAIC_1_1CIdentTypea1">allocClass</a>(); +00935 m->setPerformatif(IMessageBase::PTell); +00936 m->setSender(<span class="keyword">this</span>); +00937 +00938 std::string str; +00939 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(str); +00940 +00941 m->push(<span class="keyword">new</span> CStringType(str)); +00942 +00943 <span class="keywordflow">if</span>(mOriginal.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1714_2">getSender</a>() != NULL) +00944 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)mOriginal.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1714_2">getSender</a>())->sendMessage((IObjectIA *)m); +00945 +00946 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00947 +00948 <span class="comment">//m->incRef();</span> +00949 <a class="code" href="a04223.html#a628">r</a>.Result = m; +00950 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00951 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_14" doxytag="NLAIAGENT::CAgentWatchTimer::runAskGetValue" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runAskGetValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +that is a surchage of the method member virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_1">addDynamicAgent(NLAIAGENT::IBaseGroupType *g)</a>; +<p> +Definition at line <a class="el" href="a05412.html#l01006">1006</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a05847.html#l00344">NLAISCRIPT::CAgentClass::getInheritedStaticMemberIndex()</a>, <a class="el" href="a06066.html#l00142">NLAIAGENT::IMessageBase::getSender()</a>, <a class="el" href="a05407.html#l00102">NLAIAGENT::CStringType::getStr()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05912.html#l00058">NLAIAGENT::IListBasicManager::set()</a>, <a class="el" href="a06065.html#l00177">NLAIAGENT::IMessageBase::setContinuation()</a>, <a class="el" href="a06066.html#l00161">NLAIAGENT::IMessageBase::setMethodIndex()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>01007 { +01008 <a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &msg_result = (<a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &)*g->get(); +01009 msg_result.<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +01010 +01011 CStringType *comp_name = (CStringType *)msg_result[(<a class="code" href="a04558.html#a10">sint32</a>)0]; +01012 +01013 msg_result.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasea53">setPerformatif</a>(IMessageBase::PTell); +01014 msg_result.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1716_2">setMethodIndex</a>(-1,-1); +01015 msg_result.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1714_3">setContinuation</a>( (IObjectIA *) msg_result.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1714_2">getSender</a>() ); +01016 +01017 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa20">getInheritedStaticMemberIndex</a>( comp_name->getStr() ); +01018 <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> != -1 ) +01019 { +01020 msg_result.<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_22">set</a>( 1, _Components[ index ] ); +01021 } +01022 <span class="keywordflow">else</span> +01023 { +01024 <span class="comment">// Component not foud: return error msg</span> +01025 } +01026 +01027 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01028 <a class="code" href="a04223.html#a628">r</a>.Result = &msg_result; +01029 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01030 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_15" doxytag="NLAIAGENT::CAgentWatchTimer::runAskParentNotify" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runAskParentNotify </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function process the message <a class="el" href="a02993.html">CNotifyParentScript</a> for the runAsk. +<p> +Definition at line <a class="el" href="a05412.html#l00912">912</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00511">NLAIAGENT::IConnectIA::getParent()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, and <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00913 { +00914 CNotifyParentScript *m = <span class="keyword">new</span> CNotifyParentScript((IBasicAgent *)<a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>()); +00915 m->setPerformatif(IMessageBase::PTell); +00916 <span class="comment">//this->incRef();</span> +00917 m->setSender(<span class="keyword">this</span>); +00918 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00919 <a class="code" href="a04223.html#a628">r</a>.Result = m; +00920 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00921 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb6" doxytag="NLAIAGENT::CAgentWatchTimer::runBreak" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::IBasicAgent::runBreak </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runBreak is to processing reltative to PBreak Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Definition at line <a class="el" href="a05393.html#l00159">159</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>. +<p> +<div class="fragment"><pre>00160 { +00161 std::string debugString; +00162 std::string text; +00163 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00164 text = <span class="stringliteral">"IMessageBase *runBreak("</span>; +00165 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(); +00166 text += <span class="stringliteral">" note implementaited for the '"</span>; +00167 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00168 text += <span class="stringliteral">"' interface for the instence '"</span>; +00169 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00170 text += <span class="stringliteral">"' '"</span>; +00171 text += debugString; +00172 text += <span class="stringliteral">"'"</span>; +00173 +00174 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00175 <span class="keywordflow">return</span> NULL; +00176 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1673_2" doxytag="NLAIAGENT::CAgentWatchTimer::runCancelGoalMsg" ></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"> virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runCancelGoalMsg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Cancel a goal, it call by message manager when a cancel goal message is occure. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00398">398</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00399 { +00400 <span class="keywordflow">return</span> IObjectIA::CProcessResult(); +00401 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_17" doxytag="NLAIAGENT::CAgentWatchTimer::runChildren" ></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 NLAIAGENT::CAgentScript::runChildren </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Run all child. +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1615_0">NLAIAGENT::IAgent</a>. +<p> +Reimplemented in <a class="el" href="a02564.html#NLAIAGENT_1_1CFsmScripta66">NLAIAGENT::CFsmScript</a>, and <a class="el" href="a03363.html#NLAIAGENT_1_1CSeqFsmScripta69">NLAIAGENT::CSeqFsmScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01377">1377</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea39">NLAIAGENT::IObjectIA::run()</a>, and <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>. +<p> +Referenced by <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>. +<p> +<div class="fragment"><pre>01378 { +01379 <span class="preprocessor">#ifdef NL_DEBUG </span> +01380 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *classBase = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +01381 <span class="preprocessor">#endif</span> +01382 <span class="preprocessor"></span> <span class="comment">// Activation des agents de la partie statique</span> +01383 <span class="keywordtype">int</span> i = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; +01384 +01385 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> **com = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>; +01386 +01387 <span class="keywordflow">while</span>(i --) +01388 (*com ++)->run(); +01389 +01390 <span class="comment">// Activation des fils</span> +01391 IAgent::runChildren(); +01392 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_18" doxytag="NLAIAGENT::CAgentWatchTimer::runChildrenStepByStep" ></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"> bool NLAIAGENT::CAgentScript::runChildrenStepByStep </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Activates the child agents. +<p> + +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1615_1">NLAIAGENT::IAgent</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01394">1394</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00179">NLAIAGENT::CAgentScript::_iComponents</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea39">NLAIAGENT::IObjectIA::run()</a>, and <a class="el" href="a05420.html#l00137">NLAIAGENT::IAgent::runChildrenStepByStep()</a>. +<p> +<div class="fragment"><pre>01395 { +01396 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp7">_iComponents</a> == <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>) +01397 { +01398 <span class="keywordflow">if</span>(IAgent::runChildrenStepByStep()) +01399 { +01400 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp7">_iComponents</a> = 0; +01401 <span class="keywordflow">return</span> <span class="keyword">true</span>; +01402 } +01403 <span class="keywordflow">else</span> <span class="keywordflow">return</span> <span class="keyword">false</span>; +01404 } +01405 +01406 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *o = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp7">_iComponents</a> ++]; +01407 o->run(); +01408 +01409 <span class="keywordflow">return</span> <span class="keyword">false</span>; +01410 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb7" doxytag="NLAIAGENT::CAgentWatchTimer::runError" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::IBasicAgent::runError </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runError is to processing reltative to PError Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Definition at line <a class="el" href="a05393.html#l00206">206</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>. +<p> +<div class="fragment"><pre>00207 { +00208 std::string debugString; +00209 std::string text; +00210 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00211 text = <span class="stringliteral">"IMessageBase *runError("</span>; +00212 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(); +00213 text += <span class="stringliteral">" note implementaited for the '"</span>; +00214 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00215 text += <span class="stringliteral">"' interface for the instence '"</span>; +00216 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00217 text += <span class="stringliteral">"' '"</span>; +00218 text += debugString; +00219 text += <span class="stringliteral">"'"</span>; +00220 +00221 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00222 <span class="keywordflow">return</span> NULL; +00223 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb8" doxytag="NLAIAGENT::CAgentWatchTimer::runEven" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::IBasicAgent::runEven </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +RunExec is to processing reltative to PExec Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Definition at line <a class="el" href="a05393.html#l00105">105</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>. +<p> +<div class="fragment"><pre>00106 { +00107 std::string debugString; +00108 std::string text; +00109 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00110 text = <span class="stringliteral">"IMessageBase *runEven("</span>; +00111 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(); +00112 text += <span class="stringliteral">" note implementaited for the '"</span>; +00113 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00114 text += <span class="stringliteral">"' interface for the instence '"</span>; +00115 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00116 text += <span class="stringliteral">"' '"</span>; +00117 text += debugString; +00118 text += <span class="stringliteral">"'"</span>; +00119 +00120 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00121 <span class="keywordflow">return</span> NULL; +00122 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb9" doxytag="NLAIAGENT::CAgentWatchTimer::runExec" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::IBasicAgent::runExec </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +RunExec is to processing reltative to PExec Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Reimplemented in <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta45">NLAIAGENT::CMainAgentScript</a>. +<p> +Definition at line <a class="el" href="a05393.html#l00083">83</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>. +<p> +<div class="fragment"><pre>00084 { +00085 std::string debugString; +00086 std::string text; +00087 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00088 text = <span class="stringliteral">"IMessageBase *runExec("</span>; +00089 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(); +00090 text += <span class="stringliteral">" note implementaited for the '"</span>; +00091 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00092 text += <span class="stringliteral">"' interface for the instence '"</span>; +00093 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00094 text += <span class="stringliteral">"' '"</span>; +00095 text += debugString; +00096 text += <span class="stringliteral">"'"</span>; +00097 +00098 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00099 <span class="keywordflow">return</span> NULL; +00100 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1673_3" doxytag="NLAIAGENT::CAgentWatchTimer::runFactMsg" ></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"> virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runFactMsg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a fact on the fact base, it occur when a fact message hapend. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00404">404</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00405 { +00406 <span class="keywordflow">return</span> IObjectIA::CProcessResult(); +00407 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1673_4" doxytag="NLAIAGENT::CAgentWatchTimer::runGoalMsg" ></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"> virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runGoalMsg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Run all goal message, it call by message manager when a goal message is occure. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00392">392</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +<div class="fragment"><pre>00393 { +00394 <span class="keywordflow">return</span> IObjectIA::CProcessResult(); +00395 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_16" doxytag="NLAIAGENT::CAgentWatchTimer::runInitClass" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runInitClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +that is a surchage of the method member virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_1">addDynamicAgent(NLAIAGENT::IBaseGroupType *g)</a>; +<p> +Definition at line <a class="el" href="a05412.html#l01103">1103</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, and <a class="el" href="a05646.html#l00993">r</a>. +<p> +<div class="fragment"><pre>01104 { +01105 <span class="keyword">const</span> <span class="keywordtype">char</span> * class_name = ((<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)g->get())->getString(); +01106 <a class="code" href="a02650.html">NLAIC::CIdentType</a> id_class( class_name ); +01107 +01108 +01109 +01110 <span class="comment">/*</span> +01111 <span class="comment"> NLAIAGENT::IMessageBase &msg_result = (NLAIAGENT::IMessageBase &)*g->get();</span> +01112 <span class="comment"> msg_result.incRef();</span> +01113 <span class="comment"></span> +01114 <span class="comment"></span> +01115 <span class="comment"> // Cleans previous components</span> +01116 <span class="comment"> if ( _Components != NULL )</span> +01117 <span class="comment"> {</span> +01118 <span class="comment"> for ( int i = 0; i < _NbComponents; i++ )</span> +01119 <span class="comment"> _Components[i]->release();</span> +01120 <span class="comment"> }</span> +01121 <span class="comment"></span> +01122 <span class="comment"> // Creates a new component array</span> +01123 <span class="comment"> _NbComponents = (sint32) msg_result.size() / 3;</span> +01124 <span class="comment"> _Components = new IObjectIA *[ _NbComponents ];</span> +01125 <span class="comment"></span> +01126 <span class="comment"> int test = 0;</span> +01127 <span class="comment"></span> +01128 <span class="comment"> for ( int i = 0; i < msg_result.size() ; i += 3 )</span> +01129 <span class="comment"> {</span> +01130 <span class="comment"> CStringType *comp_name = (CStringType *) msg_result[ (sint32) i ];</span> +01131 <span class="comment"> CStringType *comp_type = (CStringType *) msg_result[ (sint32) (i + 1) ];</span> +01132 <span class="comment"> IObjectIA *comp_val = (IObjectIA *) msg_result[ (sint32) (i + 2) ];</span> +01133 <span class="comment"> </span> +01134 <span class="comment"> sint32 index = getStaticMemberIndex( comp_name->getStr() ); //_AgentClass->getInheritedStaticMemberIndex( comp_name->getStr() );</span> +01135 <span class="comment"> if ( index != -1 )</span> +01136 <span class="comment"> {</span> +01137 <span class="comment"> // Sets the component to the new value</span> +01138 <span class="comment"> setStaticMember( index, comp_val ); </span> +01139 <span class="comment"> }</span> +01140 <span class="comment"> else</span> +01141 <span class="comment"> {</span> +01142 <span class="comment"> setStaticMember( (sint32) (i / 3) , comp_val );</span> +01143 <span class="comment"> }</span> +01144 <span class="comment"> test++;</span> +01145 <span class="comment"> }</span> +01146 <span class="comment"> */</span> +01147 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01148 <a class="code" href="a04223.html#a628">r</a>.Result = NULL; +01149 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01150 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_17" doxytag="NLAIAGENT::CAgentWatchTimer::runInitComponent" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runInitComponent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +that is a surchage of the method member virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_1">addDynamicAgent(NLAIAGENT::IBaseGroupType *g)</a>; +<p> +Definition at line <a class="el" href="a05412.html#l01060">1060</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a05412.html#l02319">NLAIAGENT::CAgentScript::getStaticMemberIndex()</a>, <a class="el" href="a05407.html#l00102">NLAIAGENT::CStringType::getStr()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05911.html#l00143">NLAIAGENT::IListBasicManager::size()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>01061 { +01062 <a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &msg_result = (<a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &)*g->get(); +01063 msg_result.<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +01064 +01065 +01066 <span class="comment">// Cleans previous components</span> +01067 <span class="keywordflow">if</span> ( <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a> != NULL ) +01068 { +01069 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; i++ ) +01070 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i]->release(); +01071 } +01072 +01073 <span class="comment">// Creates a new component array</span> +01074 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> = (<a class="code" href="a04558.html#a10">sint32</a>) msg_result.<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_23">size</a>() / 3; +01075 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a> = <span class="keyword">new</span> <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *[ <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> ]; +01076 +01077 <span class="keywordtype">int</span> <a class="code" href="a05373.html#a4">test</a> = 0; +01078 +01079 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < msg_result.<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_23">size</a>() ; i += 3 ) +01080 { +01081 CStringType *comp_name = (CStringType *) msg_result[ (<a class="code" href="a04558.html#a10">sint32</a>) i ]; +01082 IObjectIA *comp_val = (IObjectIA *) msg_result[ (<a class="code" href="a04558.html#a10">sint32</a>) (i + 2) ]; +01083 +01084 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">getStaticMemberIndex</a>( comp_name->getStr() ); <span class="comment">//_AgentClass->getInheritedStaticMemberIndex( comp_name->getStr() );</span> +01085 <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> != -1 ) +01086 { +01087 <span class="comment">// Sets the component to the new value</span> +01088 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_29">setStaticMember</a>( index, comp_val ); +01089 } +01090 <span class="keywordflow">else</span> +01091 { +01092 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_29">setStaticMember</a>( (<a class="code" href="a04558.html#a10">sint32</a>) (i / 3) , comp_val ); +01093 } +01094 <a class="code" href="a05373.html#a4">test</a>++; +01095 } +01096 +01097 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01098 msg_result.<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +01099 <a class="code" href="a04223.html#a628">r</a>.Result = &msg_result; +01100 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01101 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera52" doxytag="NLAIAGENT::CAgentWatchTimer::runKill" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::CAgentWatchTimer::runKill </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runKill is to processing reltative to PKill Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Reimplemented from <a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb10">NLAIAGENT::IBasicAgent</a>. +<p> +Definition at line <a class="el" href="a05417.html#l00225">225</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +References <a class="el" href="a05364.html#a50a36">NLAIAGENT::processToKill</a>, and <a class="el" href="a05420.html#l00314">NLAIAGENT::IBasicAgent::setState()</a>. +<p> +<div class="fragment"><pre>00226 { +00227 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta42">setState</a>(processToKill,NULL); +00228 <span class="keywordflow">return</span> NULL; +00229 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera53" doxytag="NLAIAGENT::CAgentWatchTimer::runMethodBase" ></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"> <a class="el" href="a03869.html">NLAIAGENT::IObjectIA::CProcessResult</a> NLAIAGENT::CAgentWatchTimer::runMethodBase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_19">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00441">441</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05416.html#l00308">addAttrib()</a>, <a class="el" href="a05416.html#l00396">attach()</a>, <a class="el" href="a05417.html#l00189">getClock()</a>, <a class="el" href="a05412.html#l00632">NLAIAGENT::CAgentScript::getMethodIndexSize()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05476.html#l00188">NLAIAGENT::IObjectIA::CProcessResult::Result</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05417.html#l00194">setClock()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00442 { +00443 <a class="code" href="a02327.html">NLAIAGENT::IBaseGroupType</a> *<a class="code" href="a04223.html#a590">param</a> = (<a class="code" href="a02327.html">NLAIAGENT::IBaseGroupType</a> *)o; +00444 +00445 <span class="keywordflow">switch</span>(<a class="code" href="a04223.html#a566">index</a> - CAgentScript::getMethodIndexSize()) +00446 { +00447 <span class="keywordflow">case</span> CAgentWatchTimer::TAttach: +00448 { +00449 CIteratorContener i = <a class="code" href="a04223.html#a590">param</a>->getIterator(); +00450 +00451 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a590">param</a>->size()) +00452 { +00453 <a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *call = (<a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *)i++; +00454 call->incRef(); +00455 IMessageBase *msg = (IMessageBase *)i++; +00456 msg->incRef(); +00457 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera0">addAttrib</a>(call,msg); +00458 } +00459 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera2">attach</a>(); +00460 IObjectIA::CProcessResult a; +00461 +00462 a.Result = <span class="keyword">new</span> CAgentTimerHandle(<span class="keyword">this</span>); +00463 <span class="keywordflow">return</span> a; +00464 } +00465 +00466 <span class="keywordflow">case</span> CAgentWatchTimer::TAddAttrib: +00467 { +00468 CIteratorContener i = <a class="code" href="a04223.html#a590">param</a>->getIterator(); +00469 <a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *call = (<a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *)i++; +00470 call->incRef(); +00471 IMessageBase *msg = (IMessageBase *)i++; +00472 msg->incRef(); +00473 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera0">addAttrib</a>(call,msg); +00474 IObjectIA::CProcessResult a; +00475 +00476 a.Result = <span class="keyword">new</span> CAgentTimerHandle(<span class="keyword">this</span>); +00477 <span class="keywordflow">return</span> a; +00478 } +00479 +00480 <span class="keywordflow">case</span> CAgentWatchTimer::TSetClock: +00481 { +00482 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera60">setClock</a>( (<a class="code" href="a04558.html#a15">uint</a>)((<a class="code" href="a02146.html">NLAIAGENT::INombreDefine</a> *)<a class="code" href="a04223.html#a590">param</a>->get())->getNumber() ); +00483 <span class="keywordflow">return</span> <a class="code" href="a03869.html">NLAIAGENT::IObjectIA::CProcessResult</a>(); +00484 } +00485 <span class="keywordflow">case</span> CAgentWatchTimer::TGetClock: +00486 { +00487 <a class="code" href="a03869.html">NLAIAGENT::IObjectIA::CProcessResult</a> <a class="code" href="a04223.html#a628">r</a>; +00488 <a class="code" href="a04223.html#a628">r</a>.Result = <span class="keyword">new</span> <a class="code" href="a03769.html">NLAIAGENT::DDigitalType</a>((<span class="keywordtype">double</span>)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera21">getClock</a>()); +00489 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00490 } +00491 <span class="keywordflow">default</span>: +00492 <span class="keywordflow">return</span> CAgentScript::runMethodBase(index,o); +00493 } +00494 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera54" doxytag="NLAIAGENT::CAgentWatchTimer::runMethodBase" ></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"> <a class="el" href="a03869.html">NLAIAGENT::IObjectIA::CProcessResult</a> NLAIAGENT::CAgentWatchTimer::runMethodBase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>heritance</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_20">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00431">431</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00436">runMethodeMember()</a>. +<p> +<div class="fragment"><pre>00432 { +00433 <span class="keywordflow">return</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera54">runMethodBase</a>(index,o); +00434 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_22" doxytag="NLAIAGENT::CAgentWatchTimer::runMethodeMember" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runMethodeMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>heritance</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The methode <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_22">runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param)</a> allow us to run a member method.<p> +heritance: is the id returned by the methodisClassInheritedFrom(const IVarName &). index: is the method id return by the <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_10">isMember(const IVarName *,const IVarName *,const IObjectIA &) const</a> method. param: is the parametre for the method. +<p> +Reimplemented from <a class="el" href="a02162.html#NLAIAGENT_1_1IBasicAgentz1609_3">NLAIAGENT::IBasicAgent</a>. +<p> +Definition at line <a class="el" href="a05412.html#l02112">2112</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05572.html#l00339">NLAISCRIPT::CCodeContext::Code</a>, <a class="el" href="a05572.html#l00347">NLAISCRIPT::CCodeContext::ContextDebug</a>, <a class="el" href="a05412.html#l02107">NLAIAGENT::CAgentScript::getBaseMethodCount()</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05412.html#l00558">NLAIAGENT::CAgentScript::getMethode()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05572.html#l00345">NLAISCRIPT::CCodeContext::Param</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05420.html#l00489">NLAIAGENT::IBasicAgent::runMethodeMember()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05572.html#l00335">NLAISCRIPT::CCodeContext::Stack</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00236">NLAIAGENT::COperatorScript::execOnActivate()</a>, <a class="el" href="a05389.html#l00985">NLAIAGENT::CActorScript::failure()</a>, <a class="el" href="a05389.html#l00191">NLAIAGENT::CActorScript::pause()</a>, <a class="el" href="a05389.html#l00243">NLAIAGENT::CActorScript::restart()</a>, <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>, <a class="el" href="a05389.html#l00401">NLAIAGENT::CActorScript::run()</a>, <a class="el" href="a05412.html#l01607">NLAIAGENT::CAgentScript::runActivity()</a>, <a class="el" href="a05389.html#l00966">NLAIAGENT::CActorScript::success()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>02113 { +02114 +02115 <span class="keywordflow">if</span>(c->getType() != <a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexts0">NLAISCRIPT::CCodeContext::IdCodeContext</a>) +02116 { +02117 <span class="keywordflow">return</span> IAgent::runMethodeMember(inheritance,index, c); +02118 } +02119 +02120 <a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> *opPtr = NULL; +02121 <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &context = (<a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &)*c; +02122 +02123 <span class="keywordtype">int</span> i = <a class="code" href="a04223.html#a566">index</a> - <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera17">getBaseMethodCount</a>(); +02124 <span class="keywordflow">if</span>(i < 0) +02125 { +02126 <span class="comment">/*if (context.ContextDebug.Active)</span> +02127 <span class="comment"> {</span> +02128 <span class="comment"> context.ContextDebug.Param.push_back(&listBidon);</span> +02129 <span class="comment"> listBidon.incRef();</span> +02130 <span class="comment"> }*/</span> +02131 +02132 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera54">runMethodBase</a>(index,(IObjectIA *)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto4">Param</a>.back()); +02133 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.Result != NULL) +02134 { +02135 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>++; +02136 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>[(<span class="keywordtype">int</span>)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>] = <a class="code" href="a04223.html#a628">r</a>.Result; +02137 } +02138 <a class="code" href="a04223.html#a628">r</a>.Result = NULL; +02139 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02140 } +02141 <span class="keywordflow">else</span> +02142 { +02143 opPtr = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_9">getMethode</a>(inheritance,i); +02144 } +02145 +02146 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +02147 <span class="keywordflow">if</span>(opPtr != NULL) +02148 { +02149 <span class="preprocessor">#ifdef NL_DEBUG</span> +02150 <span class="preprocessor"></span> std::string nameDbg; +02151 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(inheritance,i).getName().getDebugString(nameDbg); +02152 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a>-><a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>(inheritance,i).getParam().getDebugString(nameDbg); +02153 <span class="preprocessor">#endif</span> +02154 <span class="preprocessor"></span> <a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> &op = *opPtr; +02155 <a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *opTmp = context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +02156 <span class="keywordtype">int</span> ip = (<a class="code" href="a04558.html#a11">uint32</a>)*context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +02157 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = (<a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *)&op; +02158 *context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = 0; +02159 +02160 <a class="code" href="a04223.html#a628">r</a> = ((<a class="code" href="a03847.html">NLAISCRIPT::ICodeBranche</a> *)opPtr)->run(context); +02161 <span class="comment">// If we are in Debug Mode</span> +02162 <span class="keywordflow">if</span> (context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto1">ContextDebug</a>.Active) +02163 { +02164 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto1">ContextDebug</a>.callStackPop(); +02165 } +02166 *context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = ip; +02167 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = opTmp; +02168 } +02169 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +02170 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera55" doxytag="NLAIAGENT::CAgentWatchTimer::runMethodeMember" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentWatchTimer::runMethodeMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The methode <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera55">runMethodeMember(sint32 index,IObjectIA *param)</a> allow us to run a own member method.<p> +index: is the method id return by the <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera42">isMember(const IVarName *,const IVarName *,const IObjectIA &) const</a> method. param: is the parametre for the method. +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_21">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00436">436</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05416.html#l00431">runMethodBase()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00784">NLAIAGENT::CAgentTimerHandle::runMethodeMember()</a>. +<p> +<div class="fragment"><pre>00437 { +00438 <span class="keywordflow">return</span> <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera54">runMethodBase</a>(index, o); +00439 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb11" doxytag="NLAIAGENT::CAgentWatchTimer::runService" ></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"> virtual <a class="el" href="a02325.html">IMessageBase</a>* NLAIAGENT::IBasicAgent::runService </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runService is to processing reltative to PService Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Definition at line <a class="el" href="a05393.html#l00228">228</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>. +<p> +<div class="fragment"><pre>00229 { +00230 std::string debugString; +00231 std::string text; +00232 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera22">getDebugString</a>(debugString); +00233 text = <span class="stringliteral">"IMessageBase *runService("</span>; +00234 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m.getType(); +00235 text += <span class="stringliteral">" note implementaited for the '"</span>; +00236 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00237 text += <span class="stringliteral">"' interface for the instence '"</span>; +00238 text += (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00239 text += <span class="stringliteral">"' '"</span>; +00240 text += debugString; +00241 text += <span class="stringliteral">"'"</span>; +00242 +00243 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00244 <span class="keywordflow">return</span> NULL; +00245 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_23" doxytag="NLAIAGENT::CAgentWatchTimer::runStep" ></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"> const <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> & NLAIAGENT::CAgentScript::runStep </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Some where Run method define the process of the agen. +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1619_2">NLAIAGENT::IAgent</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01655">1655</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>. +<p> +<div class="fragment"><pre>01656 { +01657 +01658 <span class="preprocessor">#ifdef NL_DEBUG</span> +01659 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_class_name = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +01660 <span class="comment">//const NLAIAGENT::IRefrence *dbg_mail_parent = _ScriptMail->getParent();</span> +01661 <span class="preprocessor">#endif</span> +01662 <span class="preprocessor"></span> +01663 <span class="keywordflow">return</span> IAgentManager::runStep(); +01664 +01665 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera56" doxytag="NLAIAGENT::CAgentWatchTimer::runTell" ></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"> <a class="el" href="a02325.html">IMessageBase</a> * NLAIAGENT::CAgentWatchTimer::runTell </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">IMessageBase</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +runTell is to processing reltative to PTell Performatif. its call from the <a class="el" href="a02149.html">IObjectIA</a> *run(const <a class="el" href="a02325.html">IMessageBase</a> &m) method. +<p> +Reimplemented from <a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentb12">NLAIAGENT::IBasicAgent</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00496">496</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05364.html#a50a35">NLAIAGENT::processEnd</a>, <a class="el" href="a05364.html#a50a32">NLAIAGENT::processIdle</a>, <a class="el" href="a05420.html#l00572">NLAIAGENT::IBasicAgent::runTell()</a>, and <a class="el" href="a05420.html#l00314">NLAIAGENT::IBasicAgent::setState()</a>. +<p> +<div class="fragment"><pre>00497 { +00498 <span class="keyword">static</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> idMsgKillTimer (<span class="stringliteral">"MsgStopTimer"</span>); +00499 <span class="keyword">static</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> idMsgStartTimer (<span class="stringliteral">"MsgStartTimer"</span>); +00500 <span class="keywordflow">if</span>(m.getType() == idMsgKillTimer) +00501 { +00502 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta42">setState</a>(processEnd,NULL); +00503 <span class="keywordflow">return</span> NULL; +00504 } +00505 <span class="keywordflow">else</span> +00506 <span class="keywordflow">if</span>(m.getType() == idMsgStartTimer) +00507 { +00508 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgenta42">setState</a>(processIdle,NULL); +00509 <span class="keywordflow">return</span> NULL; +00510 } +00511 <span class="keywordflow">else</span> <span class="keywordflow">return</span> CAgentScript::runTell(m); +00512 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_18" doxytag="NLAIAGENT::CAgentWatchTimer::runTellComponent" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runTellComponent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function process the message MsgTellCompoment the result is to transmit a Message to an compoment. +<p> +Definition at line <a class="el" href="a05412.html#l00989">989</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a06066.html#l00131">NLAIAGENT::IMessageBase::getPerformatif()</a>, <a class="el" href="a06066.html#l00142">NLAIAGENT::IMessageBase::getSender()</a>, <a class="el" href="a05407.html#l00102">NLAIAGENT::CStringType::getStr()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05412.html#l01284">NLAIAGENT::CAgentScript::sendMessage()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00990 { +00991 <a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &mOriginal = (<a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &)*g->get(); +00992 CStringType *c = (CStringType *)mOriginal[(<a class="code" href="a04558.html#a10">sint32</a>)0]; +00993 <a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> *m = (<a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> *)mOriginal[(<a class="code" href="a04558.html#a10">sint32</a>)1]; +00994 m-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00995 m-><a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1714_5">setSender</a>((IObjectIA *)mOriginal.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1714_2">getSender</a>()); +00996 m-><a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasea53">setPerformatif</a>(mOriginal.<a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasea9">getPerformatif</a>()); +00997 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_25">sendMessage</a>(c->getStr(), (<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)m); +00998 +00999 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01000 +01001 m-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +01002 <a class="code" href="a04223.html#a628">r</a>.Result = m; +01003 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01004 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_19" doxytag="NLAIAGENT::CAgentWatchTimer::runTellParentNotify" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runTellParentNotify </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function process the message <a class="el" href="a02993.html">CNotifyParentScript</a> for the runTell. +<p> +Definition at line <a class="el" href="a05412.html#l00953">953</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a06078.html#l00068">NLAIAGENT::CNotifyParentScript::clone()</a>, <a class="el" href="a05475.html#l00511">NLAIAGENT::IConnectIA::getParent()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05646.html#l00985">t</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00954 { +00955 <a class="code" href="a04558.html#a14">sint</a> i; +00956 +00957 <span class="preprocessor">#ifdef NL_DEBUG</span> +00958 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *text = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +00959 <span class="keyword">const</span> <span class="keywordtype">char</span> *textP = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>()->getType(); +00960 <span class="preprocessor">#endif</span> +00961 <span class="preprocessor"></span> CNotifyParentScript *m = <span class="keyword">new</span> CNotifyParentScript(<span class="keyword">this</span>); +00962 m->setPerformatif(IMessageBase::PTell); +00963 m->setSender(<span class="keyword">this</span>); +00964 +00965 <span class="keywordflow">for</span>(i = 0; i < <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; i++) +00966 { +00967 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i] != NULL) +00968 { +00969 CNotifyParentScript *msg = (CNotifyParentScript *)m->clone(); +00970 <span class="keywordflow">try</span> +00971 { +00972 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +00973 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i]->getType(); +00974 +00975 <span class="keywordflow">if</span>((<a class="code" href="a04223.html#a627">t</a>.getValue() & b) == b) +00976 _Components[i]->sendMessage(msg); +00977 } +00978 <span class="keywordflow">catch</span>(<a class="code" href="a03853.html">NLAIE::IException</a> &) +00979 { +00980 msg->release(); +00981 } +00982 } +00983 } +00984 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00985 <a class="code" href="a04223.html#a628">r</a>.Result = m; +00986 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00987 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_20" doxytag="NLAIAGENT::CAgentWatchTimer::runTellSetValue" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::runTellSetValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02327.html">IBaseGroupType</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +that is a surchage of the method member virtual <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1666_1">addDynamicAgent(NLAIAGENT::IBaseGroupType *g)</a>; +<p> +Definition at line <a class="el" href="a05412.html#l01032">1032</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_7">NLAIAGENT::IBaseGroupType::get()</a>, <a class="el" href="a05412.html#l02319">NLAIAGENT::CAgentScript::getStaticMemberIndex()</a>, <a class="el" href="a05407.html#l00102">NLAIAGENT::CStringType::getStr()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05911.html#l00143">NLAIAGENT::IListBasicManager::size()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>01033 { +01034 <a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &msg_result = (<a class="code" href="a02325.html">NLAIAGENT::IMessageBase</a> &)*g->get(); +01035 msg_result.<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +01036 +01037 <span class="keywordflow">while</span> ( msg_result.<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_23">size</a>() ) +01038 { +01039 CStringType *comp_name = (CStringType *) msg_result[ (<a class="code" href="a04558.html#a10">sint32</a>) 0 ]; +01040 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *comp_val = (<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *) msg_result[ (<a class="code" href="a04558.html#a10">sint32</a>) 1 ]; +01041 +01042 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">getStaticMemberIndex</a>( comp_name->getStr() ); +01043 <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> != -1 ) +01044 { +01045 <span class="comment">// Sets the component to the new value</span> +01046 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_29">setStaticMember</a>( index, comp_val ); +01047 } +01048 <span class="keywordflow">else</span> +01049 { +01050 <span class="comment">// Component not found: creates it</span> +01051 +01052 } +01053 } +01054 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01055 msg_result.<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +01056 <a class="code" href="a04223.html#a628">r</a>.Result = &msg_result; +01057 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01058 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1672_5" doxytag="NLAIAGENT::CAgentWatchTimer::save" ></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 NLAIAGENT::CAgentScript::save </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>os</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +programmer have to call this method to load or save internal attribut. +<p> +Reimplemented from <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1617_5">NLAIAGENT::IAgent</a>. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAILOGIC_1_1CGoalPatha67">NLAIAGENT::CActorScript</a>, <a class="el" href="a02185.html#NLAIAGENT_1_1CAgentManagerTimerz1679_5">NLAIAGENT::CAgentManagerTimer</a>, <a class="el" href="a02190.html#NLAIAGENT_1_1CAgentOperationa84">NLAIAGENT::CAgentOperation</a>, <a class="el" href="a02564.html#NLAIAGENT_1_1CFsmScripta70">NLAIAGENT::CFsmScript</a>, <a class="el" href="a03363.html#NLAIAGENT_1_1CSeqFsmScripta73">NLAIAGENT::CSeqFsmScript</a>, and <a class="el" href="a03026.html#NLAIAGENT_1_1COperatorScripta82">NLAIAGENT::COperatorScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00593">593</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05386.html#l00346">NLAIC::IBasicInterface::save()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00645">size</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00431">NLAIAGENT::CActorScript::save()</a>. +<p> +<div class="fragment"><pre>00594 { +00595 IBasicAgent::save(os); +00596 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; +00597 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( size ); +00598 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < _NbComponents; i++ ) +00599 { +00600 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( (<a class="code" href="a02650.html">NLAIC::CIdentType</a> &) _Components[i]-><a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>() ); +00601 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i]->save(os); +00602 } +00603 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentb13" doxytag="NLAIAGENT::CAgentWatchTimer::sendBroadCast" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::sendBroadCast </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01197">1197</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, and <a class="el" href="a05475.html#l00342">NLAIAGENT::IObjectIA::sendMessage()</a>. +<p> +<div class="fragment"><pre>01198 { +01199 TSetDefNameAgent::iterator i = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.begin(); +01200 +01201 <span class="keywordflow">if</span>(i != <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.end()) +01202 { +01203 ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)(*(*(i)).Itr))->sendMessage(m); +01204 i ++; +01205 +01206 <span class="keywordflow">while</span>(i != <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.end()) +01207 { +01208 m->incRef(); +01209 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *o = ((<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)(*(*(i)).Itr)); +01210 o->sendMessage(m); +01211 i++; +01212 } +01213 } +01214 +01215 <span class="keywordflow">return</span> IObjectIA::CProcessResult(); +01216 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta36" doxytag="NLAIAGENT::CAgentWatchTimer::sendMessage" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::IBasicAgent::sendMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname" nowrap> <em>msg</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02162.html">IBasicAgent</a> & </td> + <td class="mdname" nowrap> <em>receiver</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Send message to an receiver agent. +<p> + +<p> +Definition at line <a class="el" href="a05420.html#l00326">326</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa1">NLAIAGENT::IMailBox::addMessage()</a>, and <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>. +<p> +<div class="fragment"><pre>00327 { +00328 receiver.getMail()->addMessage( msg ); +00329 <span class="keywordflow">return</span> IObjectIA::ProcessRun; +00330 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta37" doxytag="NLAIAGENT::CAgentWatchTimer::sendMessage" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::IBasicAgent::sendMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02325.html">IMessageBase</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>msg</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Send a message to the agent. +<p> + +<p> +Implements <a class="el" href="a02164.html#NLAIAGENT_1_1IMailBoxa47">NLAIAGENT::IConnectIA</a>. +<p> +Definition at line <a class="el" href="a05420.html#l00320">320</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00063">NLAIAGENT::IBasicAgent::_Mail</a>, and <a class="el" href="a02786.html#NLAIAGENT_1_1IMailBoxa1">NLAIAGENT::IMailBox::addMessage()</a>. +<p> +Referenced by <a class="el" href="a05763.html#l00096">NLAILOGIC::IGoal::failure()</a>, <a class="el" href="a05412.html#l01284">NLAIAGENT::CAgentScript::sendMessage()</a>, and <a class="el" href="a05763.html#l00108">NLAILOGIC::IGoal::success()</a>. +<p> +<div class="fragment"><pre>00321 { +00322 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentp8">_Mail</a>->addMessage(msg); +00323 <span class="keywordflow">return</span> IObjectIA::ProcessRun; +00324 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_24" doxytag="NLAIAGENT::CAgentWatchTimer::sendMessage" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::sendMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method allow to send a message to an compoment given by an string <a class="el" href="a02661.html">IVarName</a>. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea52">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01250">1250</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00178">NLAIAGENT::CAgentScript::_AgentClass</a>, <a class="el" href="a05412.html#l00547">NLAIAGENT::CAgentScript::getStaticMember()</a>, <a class="el" href="a05412.html#l02319">NLAIAGENT::CAgentScript::getStaticMemberIndex()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05364.html#a50a39">NLAIAGENT::processError</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05475.html#l00342">NLAIAGENT::IObjectIA::sendMessage()</a>, and <a class="el" href="a05412.html#l01218">NLAIAGENT::CAgentScript::sendMessageToDynmaicChild()</a>. +<p> +<div class="fragment"><pre>01251 { +01252 <span class="preprocessor">#ifdef NL_DEBUG</span> +01253 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *txt = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)msg->getType(); +01254 <span class="keyword">const</span> <span class="keywordtype">char</span> *compNameDb = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)compName.getString(); +01255 <span class="comment">//nlinfo("MSG %s %4x", txt, this);</span> +01256 <span class="preprocessor">#endif</span> +01257 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">_AgentClass</a> != NULL) +01258 { +01259 <span class="keywordtype">int</span> i = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">getStaticMemberIndex</a>(compName); +01260 <span class="keywordflow">if</span>(i >= 0) +01261 { +01262 <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *comp = (<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_3">getStaticMember</a>(i); +01263 <span class="keywordflow">if</span>(comp != NULL) +01264 { +01265 comp->sendMessage(msg); +01266 } +01267 <span class="keywordflow">else</span> +01268 { +01269 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_26">sendMessageToDynmaicChild</a>(compName,msg).ResultState == <a class="code" href="a05364.html#a50a39">processError</a>) msg->release(); +01270 } +01271 } +01272 <span class="keywordflow">else</span> +01273 { +01274 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_26">sendMessageToDynmaicChild</a>(compName,msg).ResultState == <a class="code" href="a05364.html#a50a39">processError</a>) msg->release(); +01275 } +01276 } +01277 <span class="keywordflow">else</span> +01278 { +01279 <span class="keywordflow">if</span>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_26">sendMessageToDynmaicChild</a>(compName,msg).ResultState == <a class="code" href="a05364.html#a50a39">processError</a>) msg->release(); +01280 } +01281 <span class="keywordflow">return</span> IObjectIA::CProcessResult(); +01282 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_25" doxytag="NLAIAGENT::CAgentWatchTimer::sendMessage" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::sendMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>m</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +sendMessage allow agent to send a message to an ather agent. The message is a <a class="el" href="a02325.html">IMessageBase</a>. +<p> +Reimplemented from <a class="el" href="a02164.html#NLAIAGENT_1_1IMailBoxa48">NLAIAGENT::IConnectIA</a>. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAIAGENT_1_1CSeqFsmScripta76">NLAIAGENT::CActorScript</a>, and <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta50">NLAIAGENT::CMainAgentScript</a>. +<p> +Definition at line <a class="el" href="a05412.html#l01284">1284</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a06066.html#l00167">NLAIAGENT::IMessageBase::getMethodIndex()</a>, <a class="el" href="a06552.html#l00105">NLMISC::CTime::getPerformanceTime()</a>, <a class="el" href="a06066.html#l00131">NLAIAGENT::IMessageBase::getPerformatif()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05476.html#l00120">NLAIAGENT::CIdMethod::Index</a>, <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05420.html#l00320">NLAIAGENT::IBasicAgent::sendMessage()</a>, <a class="el" href="a06066.html#l00161">NLAIAGENT::IMessageBase::setMethodIndex()</a>, <a class="el" href="a06065.html#l00170">NLAIAGENT::IMessageBase::setReceiver()</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00989">NLAIAGENT::CAgentScript::runTellComponent()</a>, <a class="el" href="a05416.html#l00741">NLAIAGENT::CAgentTimerHandle::sendMessage()</a>, <a class="el" href="a05389.html#l00390">NLAIAGENT::CActorScript::sendMessage()</a>, <a class="el" href="a05412.html#l01218">NLAIAGENT::CAgentScript::sendMessageToDynmaicChild()</a>, <a class="el" href="a05412.html#l01177">NLAIAGENT::CAgentScript::sendMethod()</a>, and <a class="el" href="a05412.html#l01186">NLAIAGENT::CAgentScript::sendMethodCompoment()</a>. +<p> +<div class="fragment"><pre>01285 { +01286 <span class="preprocessor">#ifdef NL_DEBUG</span> +01287 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *txt = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)m->getType(); +01288 <span class="keyword">const</span> <span class="keywordtype">char</span> *classBase = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera35">getType</a>(); +01289 <span class="comment">//nlinfo("MSG %s %4x", txt, m);</span> +01290 <span class="preprocessor">#endif</span> +01291 <span class="preprocessor"></span> IMessageBase *msg = (IMessageBase *)m; +01292 <span class="comment">//this->incRef();</span> +01293 msg->setReceiver(<span class="keyword">this</span>); +01294 <span class="keywordflow">if</span>(msg->getMethodIndex() < 0) +01295 { +01296 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw6">NLAIC::CTypeOfObject::tMessage</a>; +01297 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = m->getType(); +01298 +01299 <span class="keywordflow">if</span>((<a class="code" href="a04223.html#a627">t</a>.getValue() & b) == b) +01300 { +01301 <span class="comment">//char runMsg[1024];</span> +01302 <span class="comment">//strcpy(runMsg,_RUN_);</span> +01303 <span class="keyword">static</span> CStringVarName sRunTell(<span class="stringliteral">"RunTell"</span>); +01304 <span class="keyword">static</span> CStringVarName sRunAchieve(<span class="stringliteral">"RunAchieve"</span>); +01305 <span class="keyword">static</span> CStringVarName sRunAsk(<span class="stringliteral">"RunAsk"</span>); +01306 <span class="keyword">static</span> CStringVarName sRunExec(<span class="stringliteral">"RunExec"</span>); +01307 <span class="keyword">static</span> CStringVarName sRunBreak(<span class="stringliteral">"RunBreak"</span>); +01308 <span class="keyword">static</span> CStringVarName sRunKill(<span class="stringliteral">"RunKill"</span>); +01309 <span class="keyword">static</span> CStringVarName sRunError(<span class="stringliteral">"RunError"</span>); +01310 +01311 CStringVarName *runMsg = NULL;<span class="comment">//sRunTell;</span> +01312 +01313 <span class="keywordflow">switch</span>(msg->getPerformatif()) +01314 { +01315 <span class="keywordflow">case</span> IMessageBase::PExec: +01316 <span class="comment">//strcat(runMsg,"Exec");</span> +01317 runMsg = &sRunExec; +01318 <span class="keywordflow">break</span>; +01319 <span class="keywordflow">case</span> IMessageBase::PAchieve: +01320 <span class="comment">//strcat(runMsg,"Achieve");</span> +01321 runMsg = &sRunAchieve; +01322 <span class="keywordflow">break</span>; +01323 <span class="keywordflow">case</span> IMessageBase::PAsk: +01324 <span class="comment">//strcat(runMsg,"Ask");</span> +01325 runMsg = &sRunAsk; +01326 <span class="keywordflow">break</span>; +01327 <span class="keywordflow">case</span> IMessageBase::PTell: +01328 <span class="comment">//strcat(runMsg,"Tell");</span> +01329 runMsg = &sRunTell; +01330 <span class="keywordflow">break</span>; +01331 <span class="keywordflow">case</span> IMessageBase::PBreak: +01332 runMsg = &sRunBreak; +01333 <span class="keywordflow">break</span>; +01334 <span class="keywordflow">case</span> IMessageBase::PKill: +01335 runMsg = &sRunKill; +01336 <span class="keywordflow">break</span>; +01337 <span class="keywordflow">case</span> IMessageBase::PError: +01338 runMsg = &sRunError; +01339 <span class="keywordflow">break</span>; +01340 +01341 <span class="keywordflow">default</span>: +01342 <span class="keywordflow">throw</span>; +01343 <span class="keywordflow">break</span>; +01344 } +01345 +01346 CStringVarName &tmp_name = *runMsg; +01347 +01348 <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a> *<a class="code" href="a04223.html#a627">t</a> = <span class="keyword">new</span> <a class="code" href="a03019.html">NLAISCRIPT::COperandSimple</a>(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(m->getType())); +01349 <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> p(1,t); +01350 +01351 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera42">isMember</a>(NULL,&tmp_name,p); +01352 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a628">r</a>.size()) +01353 { +01354 <a class="code" href="a02652.html">NLAIAGENT::CIdMethod</a> m = <a class="code" href="a04223.html#a628">r</a>.top(); +01355 msg->setMethodIndex(0,m.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo0">Index</a>); +01356 } +01357 } +01358 } +01359 +01360 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a> = IAgent::sendMessage(msg); +01361 +01362 +01363 +01364 <span class="preprocessor">#ifdef PROFILE</span> +01365 <span class="preprocessor"></span> time = <a class="code" href="a02142.html#NLMISC_1_1CTimee1">NLMISC::CTime::getPerformanceTime</a>() - time; +01366 <span class="comment">//if(time)</span> +01367 { +01368 TimeSend += time; +01369 NbSend ++; +01370 } +01371 <span class="preprocessor">#endif</span> +01372 <span class="preprocessor"></span> +01373 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01374 <span class="comment">//return IObjectIA::CProcessResult();</span> +01375 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_26" doxytag="NLAIAGENT::CAgentWatchTimer::sendMessageToDynmaicChild" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::sendMessageToDynmaicChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01218">1218</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00173">NLAIAGENT::CAgentScript::_DynamicAgentName</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05364.html#a50a39">NLAIAGENT::processError</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05412.html#l01284">NLAIAGENT::CAgentScript::sendMessage()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>. +<p> +<div class="fragment"><pre>01219 { +01220 <span class="comment">//TSetDefNameAgent::iterator p = _DynamicAgentName.find(CKeyAgent(CStringType(compName)));</span> +01221 std::pair<TSetDefNameAgent::iterator,TSetDefNameAgent::iterator> p = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">_DynamicAgentName</a>.equal_range(CKeyAgent(CStringType(compName))); +01222 +01223 <span class="preprocessor">#ifdef NL_DEBUG</span> +01224 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *txt = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)msg->getType(); +01225 std::string txtName; +01226 compName.getDebugString(txtName); +01227 <span class="preprocessor">#endif</span> +01228 <span class="preprocessor"></span> +01229 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +01230 +01231 <span class="keywordflow">if</span>(p.first != p.second) +01232 { +01233 <span class="keywordflow">while</span>(p.first != p.second) +01234 { +01235 <a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *o = (<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *)*((*(p.first)).Itr); +01236 o->sendMessage(msg); +01237 p.first ++; +01238 <span class="keywordflow">if</span>(p.first != p.second) msg = (<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)msg->clone(); +01239 } +01240 } +01241 <span class="keywordflow">else</span> +01242 { +01243 <a class="code" href="a04223.html#a628">r</a>.ResultState = <a class="code" href="a05364.html#a50a39">processError</a>; +01244 <a class="code" href="a04223.html#a628">r</a>.Result = NULL; +01245 } +01246 +01247 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +01248 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_27" doxytag="NLAIAGENT::CAgentWatchTimer::sendMethod" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::sendMethod </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01177">1177</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02146.html#NLAIAGENT_1_1INombreDefinea7">NLAIAGENT::INombreDefine::getNumber()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05412.html#l01284">NLAIAGENT::CAgentScript::sendMessage()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>01178 { +01179 INombreDefine *p = (INombreDefine *)((IBaseGroupType *)<a class="code" href="a04223.html#a590">param</a>)->popFront(); +01180 IMessageBase *msg = (IMessageBase *)((IBaseGroupType *)<a class="code" href="a04223.html#a590">param</a>)->popFront(); +01181 msg->setPerformatif((IMessageBase::TPerformatif)(<a class="code" href="a04558.html#a14">sint</a>)p->getNumber()); +01182 p->release(); +01183 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_25">sendMessage</a>(msg); +01184 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_28" doxytag="NLAIAGENT::CAgentWatchTimer::sendMethodCompoment" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> NLAIAGENT::CAgentScript::sendMethodCompoment </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l01186">1186</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a02146.html#NLAIAGENT_1_1INombreDefinea7">NLAIAGENT::INombreDefine::getNumber()</a>, <a class="el" href="a05407.html#l00102">NLAIAGENT::CStringType::getStr()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05412.html#l01284">NLAIAGENT::CAgentScript::sendMessage()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>01187 { +01188 <a class="code" href="a02692.html">NLAIAGENT::CIteratorContener</a> It = ((IBaseGroupType *)<a class="code" href="a04223.html#a590">param</a>)->getIterator(); +01189 <span class="keyword">const</span> CStringType *n = (<span class="keyword">const</span> CStringType *)It++; +01190 INombreDefine *p = (INombreDefine *)((IBaseGroupType *)It++); +01191 IMessageBase *msg = (IMessageBase *)((IBaseGroupType *)It++); +01192 msg->setPerformatif((IMessageBase::TPerformatif)(<a class="code" href="a04558.html#a14">sint</a>)p->getNumber()); +01193 msg->incRef(); +01194 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_25">sendMessage</a>(n->getStr(),msg); +01195 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea54" doxytag="NLAIAGENT::CAgentWatchTimer::serial" ></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"> virtual void NLAIC::IBasicInterface::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02145.html#NLAIC_1_1IPointerGestionz1764_1">NLAIC::IPointerGestion</a>. +<p> +Definition at line <a class="el" href="a05386.html#l00328">328</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00350">NLAIC::IBasicInterface::load()</a>, and <a class="el" href="a05386.html#l00346">NLAIC::IBasicInterface::save()</a>. +<p> +<div class="fragment"><pre>00329 { +00330 <span class="keywordflow">if</span> ( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ) +00331 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1672_3">load</a>( f ); +00332 <span class="keywordflow">else</span> +00333 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1672_5">save</a>( f ); +00334 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1666_21" doxytag="NLAIAGENT::CAgentWatchTimer::setAgentManager" ></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 NLAIAGENT::CAgentScript::setAgentManager </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03834.html">IAgentManager</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>manager</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the manager for this instance. +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00496">496</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00170">NLAIAGENT::CAgentScript::_AgentManager</a>, <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05646.html#l00985">t</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00497 { +00498 <span class="comment">//if(_AgentManager != NULL) _AgentManager->release();</span> +00499 <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp2">_AgentManager</a> = manager; +00500 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a>; i++ ) +00501 { +00502 +00503 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +00504 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = (<span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &)<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i]->getType(); +00505 <span class="keywordflow">if</span>( (<a class="code" href="a04223.html#a627">t</a>.getValue() & b ) == b) +00506 { +00507 ((<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *)<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[i])->setAgentManager(_AgentManager); +00508 } +00509 } +00510 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera60" doxytag="NLAIAGENT::CAgentWatchTimer::setClock" ></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"> virtual void NLAIAGENT::CAgentWatchTimer::setClock </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>c</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02183.html#NLAIAGENT_1_1CAgentClockTimera60">NLAIAGENT::CAgentClockTimer</a>. +<p> +Definition at line <a class="el" href="a05417.html#l00194">194</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +References <a class="el" href="a05417.html#l00169">_Clock</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00441">runMethodBase()</a>. +<p> +<div class="fragment"><pre>00195 { +00196 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">_Clock</a> = c; +00197 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZoneb1" doxytag="NLAIAGENT::CAgentWatchTimer::setNumRef" ></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 NLAIAGENT::IRefrence::setNumRef </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03887.html">IWordNumRef</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>ref</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00461">461</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00358">NLAIAGENT::IRefrence::_NumRef</a>, <a class="el" href="a03887.html#NLAIAGENT_1_1IWordNumRefa4">NLAIAGENT::IWordNumRef::getNumIdent()</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +<div class="fragment"><pre>00462 { +00463 <span class="keywordflow">if</span>(_NumRef != NULL) _NumRef->release(); +00464 _NumRef = <span class="keyword">new</span> CLocWordNumRef(ref.getNumIdent(),<span class="keyword">this</span>); +00465 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta41" doxytag="NLAIAGENT::CAgentWatchTimer::setParent" ></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 NLAIAGENT::IConnectIA::setParent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03887.html">IWordNumRef</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>parent</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to set the parent of the agents. +<p> + +<p> +Reimplemented from <a class="el" href="a02165.html#NLAICHARACTER_1_1IZonea47">NLAIAGENT::IRefrence</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00661">661</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05475.html#l00555">NLAIAGENT::IConnectIA::connect()</a>, and <a class="el" href="a05475.html#l00511">NLAIAGENT::IConnectIA::getParent()</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00761">NLAIAGENT::CAgentScript::addDynamicAgent()</a>, <a class="el" href="a05477.html#l00126">NLAIAGENT::IAgentComposite::deleteListe()</a>, <a class="el" href="a05420.html#l00286">NLAIAGENT::IBasicAgent::IBasicAgent()</a>, <a class="el" href="a05475.html#l00651">NLAIAGENT::IConnectIA::onKill()</a>, <a class="el" href="a05410.html#l00120">NLAIAGENT::CProxyAgentMail::sendMessage()</a>, <a class="el" href="a05400.html#l00087">NLAIAGENT::CLocalAgentMail::sendMessage()</a>, and <a class="el" href="a05420.html#l00303">NLAIAGENT::IBasicAgent::~IBasicAgent()</a>. +<p> +<div class="fragment"><pre>00662 { +00663 IRefrence::setParent(parent); +00664 <a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *p = (<a class="code" href="a02164.html#NLAIAGENT_1_1IConnectIAb1">IConnectIA</a> *)<a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta16">getParent</a>(); +00665 +00666 <span class="keywordflow">if</span>(p != NULL) <a class="code" href="a02164.html#NLAIAGENT_1_1IMainAgenta5">connect</a>(p); +00667 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgenta42" doxytag="NLAIAGENT::CAgentWatchTimer::setState" ></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 NLAIAGENT::IBasicAgent::setState </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05364.html#a50">TProcessStatement</a> </td> + <td class="mdname" nowrap> <em>s</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap> <em>result</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the state of an agent. +<p> + +<p> +Implements <a class="el" href="a02164.html#NLAIAGENT_1_1IMailBoxz1685_1">NLAIAGENT::IConnectIA</a>. +<p> +Definition at line <a class="el" href="a05420.html#l00314">314</a> of file <a class="el" href="a05420.html">agents.cpp</a>. +<p> +References <a class="el" href="a05393.html#l00061">NLAIAGENT::IBasicAgent::_RunState</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00280">runActivity()</a>, <a class="el" href="a05417.html#l00225">runKill()</a>, and <a class="el" href="a05416.html#l00496">runTell()</a>. +<p> +<div class="fragment"><pre>00315 { +00316 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentp10">_RunState</a>.ResultState = state; +00317 <a class="code" href="a02162.html#NLAIAGENT_1_1IMainAgentp10">_RunState</a>.Result = result; +00318 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea56" doxytag="NLAIAGENT::CAgentWatchTimer::setStaticMember" ></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"> bool NLAIAGENT::IObjectIA::setStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname" nowrap> <em>compName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap> <em>change</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to cahnge a given components given by an index. +<p> +Definition at line <a class="el" href="a05476.html#l00268">268</a> of file <a class="el" href="a05476.html">baseai.h</a>. +<p> +References <a class="el" href="a05475.html#l00188">NLAIAGENT::IObjectIA::getStaticMemberIndex()</a>. +<p> +Referenced by <a class="el" href="a06120.html#l00413">NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00317">NLAISCRIPT::CAffMemberiOpCode::runOpCode()</a>, and <a class="el" href="a05401.html#l00133">NLAIAGENT::CLocalAgentMail::setStaticMember()</a>. +<p> +<div class="fragment"><pre>00269 { +00270 <span class="keywordflow">return</span> <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_29">setStaticMember</a>(<a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">getStaticMemberIndex</a>(compName),change); +00271 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1670_29" doxytag="NLAIAGENT::CAgentWatchTimer::setStaticMember" ></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"> bool NLAIAGENT::CAgentScript::setStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to cahnge a given components given by a string. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea55">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05412.html#l00517">517</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +References <a class="el" href="a05413.html#l00163">NLAIAGENT::CAgentScript::_Components</a>, <a class="el" href="a05413.html#l00167">NLAIAGENT::CAgentScript::_NbComponents</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l00985">t</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00828">NLAIAGENT::COperatorScript::checkTrigMsg()</a>, <a class="el" href="a06133.html#l00546">NLAIAGENT::COperatorScript::linkGoalArgs()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, and <a class="el" href="a05412.html#l01032">NLAIAGENT::CAgentScript::runTellSetValue()</a>. +<p> +<div class="fragment"><pre>00518 { +00519 <span class="preprocessor">#ifdef NL_DEBUG</span> +00520 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( <a class="code" href="a04223.html#a566">index</a> >= <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">_NbComponents</a> ) +00521 { +00522 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00523 } +00524 <span class="preprocessor">#endif</span> +00525 <span class="preprocessor"></span> <a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *old_comp = <a class="code" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">_Components</a>[ <a class="code" href="a04223.html#a566">index</a> ]; +00526 _Components[ <a class="code" href="a04223.html#a566">index</a> ] = op; +00527 +00528 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +00529 <span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &<a class="code" href="a04223.html#a627">t</a> = op->getType(); +00530 <span class="keywordflow">if</span>((<a class="code" href="a04223.html#a627">t</a>.getValue() & b) == b) +00531 { +00532 ((<a class="code" href="a02171.html#NLAIAGENT_1_1CAgentScripta4">CAgentScript</a> *)op)->setParent( (<span class="keyword">const</span> IWordNumRef *) *<span class="keyword">this</span>); +00533 } +00534 <span class="keywordflow">if</span>(op != old_comp) +00535 { +00536 old_comp->release(); +00537 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00538 } +00539 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00540 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentz1673_5" doxytag="NLAIAGENT::CAgentWatchTimer::setTopLevel" ></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"> virtual void NLAIAGENT::CAgentScript::setTopLevel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02171.html">NLAIAGENT::CAgentScript</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the top level agent of this one. +<p> + +<p> +Reimplemented in <a class="el" href="a02170.html#NLAIAGENT_1_1COperatorScripta92">NLAIAGENT::CActorScript</a>, and <a class="el" href="a02564.html#NLAIAGENT_1_1CSeqFsmScripta81">NLAIAGENT::CFsmScript</a>. +<p> +Definition at line <a class="el" href="a05413.html#l00415">415</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05734.html#l00283">NLAIAGENT::CFsmScript::setTopLevel()</a>, and <a class="el" href="a05389.html#l00932">NLAIAGENT::CActorScript::setTopLevel()</a>. +<p> +<div class="fragment"><pre>00416 { +00417 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea50" doxytag="NLAIAGENT::CAgentWatchTimer::setTypeAt" ></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 NLAIAGENT::IRefrence::setTypeAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>t</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +That function allow user to change the 7 bit of the type field in the sid agent number;. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00485">485</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00358">NLAIAGENT::IRefrence::_NumRef</a>, <a class="el" href="a05803.html#l00430">NLAIAGENT::CNumericIndex::getId()</a>, <a class="el" href="a03887.html#NLAIAGENT_1_1IWordNumRefa4">NLAIAGENT::IWordNumRef::getNumIdent()</a>, <a class="el" href="a05646.html#l00985">t</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00473">NLAIAGENT::IRefrence::IRefrence()</a>. +<p> +<div class="fragment"><pre>00486 { +00487 ((CAgentNumber &)(_NumRef->getNumIdent().getId())).setTypeAt(t); +00488 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimera65" doxytag="NLAIAGENT::CAgentWatchTimer::tellBroker" ></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"> bool NLAIAGENT::CAgentWatchTimer::tellBroker </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00291">291</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +References <a class="el" href="a05417.html#l00171">_Call</a>, <a class="el" href="a05417.html#l00172">_CallIter</a>, and <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00631">NLAIAGENT::CAgentClockTimer::runActivity()</a>, and <a class="el" href="a05416.html#l00280">runActivity()</a>. +<p> +<div class="fragment"><pre>00292 { +00293 <span class="keywordflow">if</span>(<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a> == <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end()) +00294 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a> = <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.begin(); +00295 <span class="keywordflow">while</span>(<a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a> != <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">_Call</a>.end()) +00296 { +00297 std::pair<IMessageBase *, sint32> p = ((*_CallIter).second); +00298 IMessageBase *msg = (IMessageBase *)p.first; +00299 msg->incRef(); +00300 <span class="keywordflow">if</span>((*_CallIter).first->getState().ResultState == NLAIAGENT::processIdle) (*_CallIter).first->sendMessage((IObjectIA *)msg); +00301 <a class="code" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">_CallIter</a> ++; +00302 <span class="comment">/*n ++;</span> +00303 <span class="comment"> if(n >= 10) return false;*/</span> +00304 } +00305 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00306 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp0" doxytag="NLAIAGENT::CAgentWatchTimer::_AgentClass" ></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"> <a class="el" href="a02167.html">NLAISCRIPT::CAgentClass</a>* <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp0">NLAIAGENT::CAgentScript::_AgentClass</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The creator of this instance. This useful for find scripted method entry point. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00178">178</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00377">NLAIAGENT::CAgentScript::CAgentScript()</a>, <a class="el" href="a05412.html#l00512">NLAIAGENT::CAgentScript::getChildMessageIndex()</a>, <a class="el" href="a05413.html#l00421">NLAIAGENT::CAgentScript::getClass()</a>, <a class="el" href="a05412.html#l00079">NLAIAGENT::CAgentScript::getClassName()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05413.html#l00277">NLAIAGENT::CAgentScript::getFactoryClass()</a>, <a class="el" href="a05412.html#l00558">NLAIAGENT::CAgentScript::getMethode()</a>, <a class="el" href="a05412.html#l02012">NLAIAGENT::CAgentScript::getMethodeMemberDebugString()</a>, <a class="el" href="a05412.html#l02319">NLAIAGENT::CAgentScript::getStaticMemberIndex()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, <a class="el" href="a05412.html#l01617">NLAIAGENT::CAgentScript::haveActivity()</a>, <a class="el" href="a05412.html#l02314">NLAIAGENT::CAgentScript::isClassInheritedFrom()</a>, <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>, <a class="el" href="a05412.html#l00650">NLAIAGENT::CAgentScript::newInstance()</a>, <a class="el" href="a05412.html#l01607">NLAIAGENT::CAgentScript::runActivity()</a>, <a class="el" href="a05412.html#l01006">NLAIAGENT::CAgentScript::runAskGetValue()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05412.html#l02112">NLAIAGENT::CAgentScript::runMethodeMember()</a>, and <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp1" doxytag="NLAIAGENT::CAgentWatchTimer::_AgentList" ></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"> <a class="el" href="a02161.html#NLAIAGENT_1_1IAgentCompositey0">TBasicList</a> <a class="el" href="a02161.html#NLAIAGENT_1_1IMainAgentp1">NLAIAGENT::IAgentComposite::_AgentList</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05393.html#l00340">340</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +Referenced by <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a05477.html#l00078">NLAIAGENT::IAgentComposite::cpyChild()</a>, <a class="el" href="a05477.html#l00126">NLAIAGENT::IAgentComposite::deleteListe()</a>, <a class="el" href="a05477.html#l00030">NLAIAGENT::IAgentComposite::IAgentComposite()</a>, <a class="el" href="a05477.html#l00084">NLAIAGENT::IAgentComposite::removeChild()</a>, and <a class="el" href="a05477.html#l00138">NLAIAGENT::IAgentComposite::save()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp2" doxytag="NLAIAGENT::CAgentWatchTimer::_AgentManager" ></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"> <a class="el" href="a03834.html">IAgentManager</a>* <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp2">NLAIAGENT::CAgentScript::_AgentManager</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The manager where the agent is run this manager have the agent script context. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00170">170</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00377">NLAIAGENT::CAgentScript::CAgentScript()</a>, <a class="el" href="a05413.html#l00271">NLAIAGENT::CAgentScript::getAgentManager()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05412.html#l01554">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a05412.html#l01607">NLAIAGENT::CAgentScript::runActivity()</a>, and <a class="el" href="a05412.html#l00496">NLAIAGENT::CAgentScript::setAgentManager()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerp3" doxytag="NLAIAGENT::CAgentWatchTimer::_Call" ></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"> std::list<std::pair< <a class="el" href="a02164.html">IConnectIA</a> *, std::pair<<a class="el" href="a02325.html">IMessageBase</a> *, <a class="el" href="a04558.html#a10">sint32</a>> > > <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp3">NLAIAGENT::CAgentWatchTimer::_Call</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05417.html#l00171">171</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00308">addAttrib()</a>, <a class="el" href="a05416.html#l00230">CAgentWatchTimer()</a>, <a class="el" href="a05416.html#l00343">detach()</a>, <a class="el" href="a05417.html#l00204">getSubscribedCount()</a>, <a class="el" href="a05416.html#l00291">tellBroker()</a>, and <a class="el" href="a05416.html#l00253">~CAgentWatchTimer()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerp4" doxytag="NLAIAGENT::CAgentWatchTimer::_CallIter" ></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"> std::list<std::pair< <a class="el" href="a02164.html">IConnectIA</a> *, std::pair<<a class="el" href="a02325.html">IMessageBase</a> *, <a class="el" href="a04558.html#a10">sint32</a>> > >::iterator <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp4">NLAIAGENT::CAgentWatchTimer::_CallIter</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05417.html#l00172">172</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00230">CAgentWatchTimer()</a>, and <a class="el" href="a05416.html#l00291">tellBroker()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerp5" doxytag="NLAIAGENT::CAgentWatchTimer::_Clock" ></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"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp5">NLAIAGENT::CAgentWatchTimer::_Clock</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05417.html#l00169">169</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +Referenced by <a class="el" href="a05417.html#l00189">getClock()</a>, <a class="el" href="a05416.html#l00280">runActivity()</a>, and <a class="el" href="a05417.html#l00194">setClock()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp3" doxytag="NLAIAGENT::CAgentWatchTimer::_Components" ></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"> <a class="el" href="a02149.html">IObjectIA</a>** <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp3">NLAIAGENT::CAgentScript::_Components</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Table of static compoments. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00163">163</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00377">NLAIAGENT::CAgentScript::CAgentScript()</a>, <a class="el" href="a05412.html#l02391">NLAIAGENT::CAgentScript::createComponents()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05412.html#l00547">NLAIAGENT::CAgentScript::getStaticMember()</a>, <a class="el" href="a05412.html#l00605">NLAIAGENT::CAgentScript::load()</a>, <a class="el" href="a05412.html#l01006">NLAIAGENT::CAgentScript::runAskGetValue()</a>, <a class="el" href="a05412.html#l01377">NLAIAGENT::CAgentScript::runChildren()</a>, <a class="el" href="a05412.html#l01394">NLAIAGENT::CAgentScript::runChildrenStepByStep()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a05412.html#l00953">NLAIAGENT::CAgentScript::runTellParentNotify()</a>, <a class="el" href="a05412.html#l00593">NLAIAGENT::CAgentScript::save()</a>, <a class="el" href="a05412.html#l00496">NLAIAGENT::CAgentScript::setAgentManager()</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, and <a class="el" href="a05412.html#l00476">NLAIAGENT::CAgentScript::~CAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp4" doxytag="NLAIAGENT::CAgentWatchTimer::_Connected" ></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"> <a class="el" href="a02164.html#NLAIAGENT_1_1IConnectIAy0">TListIBasic</a> <a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgentp4">NLAIAGENT::IConnectIA::_Connected</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05476.html#l00427">427</a> of file <a class="el" href="a05476.html">baseai.h</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00595">NLAIAGENT::IConnectIA::addInConnectedList()</a>, <a class="el" href="a05475.html#l00618">NLAIAGENT::IConnectIA::Kill()</a>, <a class="el" href="a05475.html#l00600">NLAIAGENT::IConnectIA::removeInConnectedList()</a>, and <a class="el" href="a05475.html#l00036">NLAIAGENT::IConnectIA::save()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp5" doxytag="NLAIAGENT::CAgentWatchTimer::_Connection" ></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"> <a class="el" href="a02164.html#NLAIAGENT_1_1IConnectIAy0">TListIBasic</a> <a class="el" href="a02164.html#NLAIAGENT_1_1IMainAgentp5">NLAIAGENT::IConnectIA::_Connection</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02190.html#NLAIAGENT_1_1CAgentOperationr1">NLAIAGENT::CAgentOperation</a>. +<p> +Definition at line <a class="el" href="a05476.html#l00426">426</a> of file <a class="el" href="a05476.html">baseai.h</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00572">NLAIAGENT::IConnectIA::addInConnectionList()</a>, <a class="el" href="a05475.html#l00618">NLAIAGENT::IConnectIA::Kill()</a>, <a class="el" href="a05475.html#l00577">NLAIAGENT::IConnectIA::removeInConnectionList()</a>, and <a class="el" href="a05475.html#l00036">NLAIAGENT::IConnectIA::save()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimerp9" doxytag="NLAIAGENT::CAgentWatchTimer::_DTime" ></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"> <a class="el" href="a05378.html#a243">NLMISC::TTicks</a> <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimerp9">NLAIAGENT::CAgentWatchTimer::_DTime</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05417.html#l00170">170</a> of file <a class="el" href="a05417.html">agent_timer.h</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00396">attach()</a>, and <a class="el" href="a05416.html#l00280">runActivity()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp6" doxytag="NLAIAGENT::CAgentWatchTimer::_DynamicAgentName" ></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"> <a class="el" href="a02171.html#NLAIAGENT_1_1CAgentScripty0">TSetDefNameAgent</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp6">NLAIAGENT::CAgentScript::_DynamicAgentName</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Map for store agent added in the dynamic child container. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00173">173</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00761">NLAIAGENT::CAgentScript::addDynamicAgent()</a>, <a class="el" href="a05412.html#l00884">NLAIAGENT::CAgentScript::getDynamicAgent()</a>, <a class="el" href="a05412.html#l01155">NLAIAGENT::CAgentScript::getDynamicName()</a>, <a class="el" href="a05412.html#l00725">NLAIAGENT::CAgentScript::onKill()</a>, <a class="el" href="a05412.html#l00840">NLAIAGENT::CAgentScript::removeDynamic()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05412.html#l01197">NLAIAGENT::CAgentScript::sendBroadCast()</a>, and <a class="el" href="a05412.html#l01218">NLAIAGENT::CAgentScript::sendMessageToDynmaicChild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp7" doxytag="NLAIAGENT::CAgentWatchTimer::_iComponents" ></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"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp7">NLAIAGENT::CAgentScript::_iComponents</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00179">179</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00377">NLAIAGENT::CAgentScript::CAgentScript()</a>, and <a class="el" href="a05412.html#l01394">NLAIAGENT::CAgentScript::runChildrenStepByStep()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp8" doxytag="NLAIAGENT::CAgentWatchTimer::_Mail" ></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"> <a class="el" href="a02786.html">IMailBox</a>* <a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentp8">NLAIAGENT::IBasicAgent::_Mail</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Box letter for communication service. +<p> + +<p> +Definition at line <a class="el" href="a05393.html#l00063">63</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00332">NLAIAGENT::IBasicAgent::getMail()</a>, <a class="el" href="a05420.html#l00286">NLAIAGENT::IBasicAgent::IBasicAgent()</a>, <a class="el" href="a05420.html#l00343">NLAIAGENT::IBasicAgent::load()</a>, <a class="el" href="a05420.html#l00360">NLAIAGENT::IBasicAgent::onKill()</a>, <a class="el" href="a05420.html#l00337">NLAIAGENT::IBasicAgent::save()</a>, <a class="el" href="a05420.html#l00320">NLAIAGENT::IBasicAgent::sendMessage()</a>, and <a class="el" href="a05420.html#l00303">NLAIAGENT::IBasicAgent::~IBasicAgent()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp9" doxytag="NLAIAGENT::CAgentWatchTimer::_NbComponents" ></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"> int <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp9">NLAIAGENT::CAgentScript::_NbComponents</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Nomber of static compoment. +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00167">167</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00377">NLAIAGENT::CAgentScript::CAgentScript()</a>, <a class="el" href="a05412.html#l02391">NLAIAGENT::CAgentScript::createComponents()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05412.html#l00547">NLAIAGENT::CAgentScript::getStaticMember()</a>, <a class="el" href="a05412.html#l00542">NLAIAGENT::CAgentScript::getStaticMemberSize()</a>, <a class="el" href="a05412.html#l00605">NLAIAGENT::CAgentScript::load()</a>, <a class="el" href="a05412.html#l01377">NLAIAGENT::CAgentScript::runChildren()</a>, <a class="el" href="a05412.html#l01394">NLAIAGENT::CAgentScript::runChildrenStepByStep()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a05412.html#l00953">NLAIAGENT::CAgentScript::runTellParentNotify()</a>, <a class="el" href="a05412.html#l00593">NLAIAGENT::CAgentScript::save()</a>, <a class="el" href="a05412.html#l00496">NLAIAGENT::CAgentScript::setAgentManager()</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, and <a class="el" href="a05412.html#l00476">NLAIAGENT::CAgentScript::~CAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp10" doxytag="NLAIAGENT::CAgentWatchTimer::_RunState" ></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"> CProcessResult <a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentp10">NLAIAGENT::IBasicAgent::_RunState</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Internal state of the agent. +<p> + +<p> +Definition at line <a class="el" href="a05393.html#l00061">61</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00309">NLAIAGENT::IBasicAgent::getState()</a>, and <a class="el" href="a05420.html#l00314">NLAIAGENT::IBasicAgent::setState()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp11" doxytag="NLAIAGENT::CAgentWatchTimer::_SizeChild" ></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"> <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a02161.html#NLAIAGENT_1_1IMainAgentp11">NLAIAGENT::IAgentComposite::_SizeChild</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05393.html#l00342">342</a> of file <a class="el" href="a05393.html">agent.h</a>. +<p> +Referenced by <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a05477.html#l00078">NLAIAGENT::IAgentComposite::cpyChild()</a>, <a class="el" href="a05477.html#l00126">NLAIAGENT::IAgentComposite::deleteListe()</a>, <a class="el" href="a05393.html#l00358">NLAIAGENT::IAgentComposite::getChildCoun()</a>, <a class="el" href="a05477.html#l00153">NLAIAGENT::IAgentComposite::load()</a>, and <a class="el" href="a05477.html#l00084">NLAIAGENT::IAgentComposite::removeChild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents0" doxytag="NLAIAGENT::CAgentWatchTimer::IdAgent" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> * <a class="el" href="a02163.html#NLAIAGENT_1_1IMainAgents0">IAgent::IdAgent</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06432.html#l00077">77</a> of file <a class="el" href="a06432.html">static_def_init.cpp</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00277">NLAIAGENT::IAgent::getType()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents1" doxytag="NLAIAGENT::CAgentWatchTimer::IdAgentScript" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents1">CAgentScript::IdAgentScript</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimers2" doxytag="NLAIAGENT::CAgentWatchTimer::IdAgentWatchTimer" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> * <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers2">NLAIAGENT::CAgentWatchTimer::IdAgentWatchTimer</a> = NULL<code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05416.html#l00227">227</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00275">getType()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents2" doxytag="NLAIAGENT::CAgentWatchTimer::IdMsgNotifyParent" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents2">NLAIAGENT::CAgentScript::IdMsgNotifyParent</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00067">67</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents3" doxytag="NLAIAGENT::CAgentWatchTimer::IdMsgNotifyParentClass" ></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"> <a class="el" href="a03019.html">NLAISCRIPT::COperandSimple</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents3">NLAIAGENT::CAgentScript::IdMsgNotifyParentClass</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00066">66</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgentp12" doxytag="NLAIAGENT::CAgentWatchTimer::mapSet" ></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"> std::set<std::string> <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentp12">NLAIAGENT::CAgentScript::mapSet</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00181">181</a> of file <a class="el" href="a05413.html">agent_script.h</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00756">NLAIAGENT::CAgentScript::addSet()</a>, <a class="el" href="a05413.html#l00362">NLAIAGENT::CAgentScript::beginSet()</a>, <a class="el" href="a05412.html#l00377">NLAIAGENT::CAgentScript::CAgentScript()</a>, <a class="el" href="a05413.html#l00367">NLAIAGENT::CAgentScript::endSet()</a>, and <a class="el" href="a05412.html#l00741">NLAIAGENT::CAgentScript::isa()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents4" doxytag="NLAIAGENT::CAgentWatchTimer::msgPerf" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents4">NLAIAGENT::CAgentScript::msgPerf</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00063">63</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents5" doxytag="NLAIAGENT::CAgentWatchTimer::msgType" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents5">NLAIAGENT::CAgentScript::msgType</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00062">62</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents6" doxytag="NLAIAGENT::CAgentWatchTimer::ParamGetValueMsg" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents6">NLAIAGENT::CAgentScript::ParamGetValueMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00071">71</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents7" doxytag="NLAIAGENT::CAgentWatchTimer::ParamIdGetValueMsg" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents7">NLAIAGENT::CAgentScript::ParamIdGetValueMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00070">70</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents8" doxytag="NLAIAGENT::CAgentWatchTimer::ParamIdInitComponentMsg" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents8">NLAIAGENT::CAgentScript::ParamIdInitComponentMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00076">76</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents9" doxytag="NLAIAGENT::CAgentWatchTimer::ParamIdSetValueMsg" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents9">NLAIAGENT::CAgentScript::ParamIdSetValueMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00072">72</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents10" doxytag="NLAIAGENT::CAgentWatchTimer::ParamIdTellComponentMsg" ></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"> <a class="el" href="a03020.html">NLAISCRIPT::COperandSimpleListOr</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents10">NLAIAGENT::CAgentScript::ParamIdTellComponentMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00074">74</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents11" doxytag="NLAIAGENT::CAgentWatchTimer::ParamInitComponentMsg" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents11">NLAIAGENT::CAgentScript::ParamInitComponentMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00077">77</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents12" doxytag="NLAIAGENT::CAgentWatchTimer::ParamRunParentNotify" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents12">NLAIAGENT::CAgentScript::ParamRunParentNotify</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00068">68</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents13" doxytag="NLAIAGENT::CAgentWatchTimer::ParamSetStatic" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a>* <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents13">NLAIAGENT::CAgentScript::ParamSetStatic</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05413.html#l00140">140</a> of file <a class="el" href="a05413.html">agent_script.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents14" doxytag="NLAIAGENT::CAgentWatchTimer::ParamSetValueMsg" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents14">NLAIAGENT::CAgentScript::ParamSetValueMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00073">73</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents15" doxytag="NLAIAGENT::CAgentWatchTimer::ParamTellComponentMsg" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents15">NLAIAGENT::CAgentScript::ParamTellComponentMsg</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00075">75</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes1" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessBuzzy" ></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"> <a class="el" href="a05364.html#a50">TProcessStatement</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes1">NLAIAGENT::IObjectIA::ProcessBuzzy</a> = processBuzzy<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an buzzy state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00147">147</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes2" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessEnd" ></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"> <a class="el" href="a05364.html#a50">TProcessStatement</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes2">NLAIAGENT::IObjectIA::ProcessEnd</a> = processEnd<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an end state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00148">148</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes3" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessError" ></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"> <a class="el" href="a05364.html#a50">TProcessStatement</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes3">NLAIAGENT::IObjectIA::ProcessError</a> = processError<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an error state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00149">149</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes4" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessIdle" ></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"> <a class="el" href="a05364.html#a50">TProcessStatement</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes4">NLAIAGENT::IObjectIA::ProcessIdle</a> = processIdle<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an idle state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00145">145</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes5" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessLocked" ></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"> <a class="el" href="a05364.html#a50">TProcessStatement</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes5">NLAIAGENT::IObjectIA::ProcessLocked</a> = processLocked<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an locked state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00146">146</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes6" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessNotComplit" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes6">NLAIAGENT::IObjectIA::ProcessNotComplit</a> = <a class="el" href="a03869.html">IObjectIA::CProcessResult</a>(processNotComplete)<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00144">144</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes7" doxytag="NLAIAGENT::CAgentWatchTimer::ProcessRun" ></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"> <a class="el" href="a03869.html">IObjectIA::CProcessResult</a> <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes7">NLAIAGENT::IObjectIA::ProcessRun</a> = <a class="el" href="a03869.html">IObjectIA::CProcessResult</a>()<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00143">143</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents23" doxytag="NLAIAGENT::CAgentWatchTimer::SendCompParamMessageScript" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents23">NLAIAGENT::CAgentScript::SendCompParamMessageScript</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00065">65</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IMainAgents24" doxytag="NLAIAGENT::CAgentWatchTimer::SendParamMessageScript" ></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"> <a class="el" href="a03039.html">NLAISCRIPT::CParam</a> * <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents24">NLAIAGENT::CAgentScript::SendParamMessageScript</a> = NULL<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05412.html#l00064">64</a> of file <a class="el" href="a05412.html">agent_script.cpp</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentWatchTimers26" doxytag="NLAIAGENT::CAgentWatchTimer::StaticMethod" ></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"> <a class="el" href="a02191.html">NLAIAGENT::CAgentScript::CMethodCall</a> ** <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimers26">NLAIAGENT::CAgentWatchTimer::StaticMethod</a> = NULL<code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgents25">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05416.html#l00514">514</a> of file <a class="el" href="a05416.html">agent_timer.cpp</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05417.html">agent_timer.h</a><li><a class="el" href="a05416.html">agent_timer.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 09:06:45 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> |