From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLAIAGENT_1_1IAgentComposite.html | 747 +++++++++++++++++++++ 1 file changed, 747 insertions(+) create mode 100644 docs/doxygen/nel/classNLAIAGENT_1_1IAgentComposite.html (limited to 'docs/doxygen/nel/classNLAIAGENT_1_1IAgentComposite.html') diff --git a/docs/doxygen/nel/classNLAIAGENT_1_1IAgentComposite.html b/docs/doxygen/nel/classNLAIAGENT_1_1IAgentComposite.html new file mode 100644 index 00000000..58cc6a73 --- /dev/null +++ b/docs/doxygen/nel/classNLAIAGENT_1_1IAgentComposite.html @@ -0,0 +1,747 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLAIAGENT::IAgentComposite Class Reference

Base class for child working in an agent. +More... +

+#include <agent.h> +

+

Inheritance diagram for NLAIAGENT::IAgentComposite: +

+ +NLAIAGENT::IBasicAgent +NLAIAGENT::IConnectIA +NLAIAGENT::IRefrence +NLAIAGENT::IObjectIA +NLAIAGENT::IBasicObjectIA +NLAIC::IBasicInterface +NLAIC::IBasicType +NLAIC::IPointerGestion +NLMISC::IStreamable +NLMISC::IClassable +NLAIAGENT::IAgent +NLAIAGENT::CActor +NLAIAGENT::CLocalAgentMail +NLAIAGENT::IAgentManager +NLAIAGENT::CAgentScript +NLAIAGENT::CActorScript +NLAIAGENT::CAgentManagerTimer +NLAIAGENT::CAgentOperation +NLAIAGENT::CAgentWatchTimer +NLAIAGENT::IMainAgent +NLAIAGENT::CFsmScript +NLAIAGENT::COperatorScript +NLAILOGIC::CGoalPath +NLAIAGENT::CAgentClockTimer +NLAIAGENT::CMainAgentScript +NLAIAGENT::CSeqFsmScript + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 IAgentComposite (IBasicAgent *parent)
 Contruct agent with an parent. More...

 IAgentComposite (IBasicAgent *parent, IMailBox *m)
 Contruct agent with an parent and an mail box. More...

virtual sint getChildCoun () const
virtual void onKill (IConnectIA *A)
 Called by an agent who's destroyed te remove its references. More...

virtual ~IAgentComposite ()
Some IBasicAgent method.
virtual std::list< IBasicAgent
+* >::iterator 
addChild (IBasicAgent *p)
 Add a child to the agent. More...

void cpyChild (const IBasicAgent &p)
void removeChild (const IBasicAgent &p)
virtual void removeChild (const IBasicAgent *p)
 Remove a child from the std::list<IBasicAgent *> child list. More...

virtual void removeChild (std::list< IBasicAgent * >::iterator &iter)
 Remove a child from the std::list<IBasicAgent *> child list. More...

Some IBasicInterface method.
virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...


Protected Methods

 IAgentComposite (const IAgentComposite &a)

Protected Attributes

tBasicList _AgentList
sint _SizeChild

Private Types

typedef std::list< IBasicAgent * > tBasicList

Private Methods

void deleteListe ()
+

Detailed Description

+Base class for child working in an agent. +

+This class manage a child list. +

+

+Author:
+Portier Pierre , Nevrax France
+Date:
+2000
+

+ +

+Definition at line 332 of file agent.h.


Member Typedef Documentation

+

+ + + + +
+ + +
typedef std::list<IBasicAgent *> NLAIAGENT::IAgentComposite::tBasicList [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 335 of file agent.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::IAgentComposite::IAgentComposite const IAgentComposite &   a [protected]
+
+ + + + + +
+   + + +

+ +

+Definition at line 30 of file basic_agent.cpp. +

+References addChild, and NLAIAGENT::IBasicAgent::IBasicAgent.

+

+ + + + +
+ + + + + + + + + + +
NLAIAGENT::IAgentComposite::IAgentComposite IBasicAgent  parent
+
+ + + + + +
+   + + +

+Contruct agent with an parent. +

+ +

+Definition at line 40 of file basic_agent.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLAIAGENT::IAgentComposite::IAgentComposite IBasicAgent  parent,
IMailBox  m
+
+ + + + + +
+   + + +

+Contruct agent with an parent and an mail box. +

+ +

+Definition at line 45 of file basic_agent.cpp.

+

+ + + + +
+ + + + + + + + + +
NLAIAGENT::IAgentComposite::~IAgentComposite   [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file basic_agent.cpp. +

+References deleteListe.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
std::list< IBasicAgent * >::iterator NLAIAGENT::IAgentComposite::addChild IBasicAgent  p [virtual]
+
+ + + + + +
+   + + +

+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. +

+Implements NLAIAGENT::IBasicAgent. +

+Reimplemented in NLAIAGENT::CLocalAgentMail. +

+Definition at line 67 of file basic_agent.cpp. +

+References _AgentList, _SizeChild, and NLAIAGENT::IBasicAgent::IBasicAgent. +

+Referenced by NLAIAGENT::CAgentScript::addDynamicAgent, IAgentComposite, and load.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::cpyChild const IBasicAgent  p
+
+ + + + + +
+   + + +

+ +

+Definition at line 78 of file basic_agent.cpp. +

+References _AgentList, _SizeChild, and NLAIAGENT::IBasicAgent::IBasicAgent.

+

+ + + + +
+ + + + + + + + + +
void NLAIAGENT::IAgentComposite::deleteListe   [private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 126 of file basic_agent.cpp. +

+References _AgentList, _SizeChild, and NLAIAGENT::IBasicAgent::IBasicAgent. +

+Referenced by load, and ~IAgentComposite.

+

+ + + + +
+ + + + + + + + + +
virtual sint NLAIAGENT::IAgentComposite::getChildCoun   const [inline, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 358 of file agent.h. +

+References _SizeChild.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::load NLMISC::IStream  is [virtual]
+
+ + + + + +
+   + + +

+Load the class from a stream. +

+ +

+Reimplemented from NLAIAGENT::IBasicAgent. +

+Reimplemented in NLAIAGENT::CActor. +

+Definition at line 153 of file basic_agent.cpp. +

+References _SizeChild, addChild, NLAIC::CIdentTypeAlloc::allocClass, deleteListe, NLAIAGENT::IBasicAgent::IBasicAgent, id, and NLMISC::IStream::serial.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::onKill IConnectIA  A [virtual]
+
+ + + + + +
+   + + +

+Called by an agent who's destroyed te remove its references. +

+ +

+Reimplemented from NLAIAGENT::IBasicAgent. +

+Reimplemented in NLAIAGENT::IAgent. +

+Definition at line 60 of file basic_agent.cpp.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::removeChild std::list< IBasicAgent * >::iterator &   iter [virtual]
+
+ + + + + +
+   + + +

+Remove a child from the std::list<IBasicAgent *> child list. +

+ +

+Implements NLAIAGENT::IBasicAgent. +

+Reimplemented in NLAIAGENT::CLocalAgentMail. +

+Definition at line 84 of file basic_agent.cpp. +

+References _AgentList, and _SizeChild.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::removeChild const IBasicAgent  p [virtual]
+
+ + + + + +
+   + + +

+Remove a child from the std::list<IBasicAgent *> child list. +

+ +

+Implements NLAIAGENT::IBasicAgent. +

+Reimplemented in NLAIAGENT::CLocalAgentMail. +

+Definition at line 108 of file basic_agent.cpp. +

+References _AgentList, _SizeChild, and NLAIAGENT::IBasicAgent::IBasicAgent.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::removeChild const IBasicAgent  p
+
+ + + + + +
+   + + +

+ +

+Definition at line 90 of file basic_agent.cpp. +

+References _AgentList, and _SizeChild. +

+Referenced by NLAIAGENT::CAgentScript::removeDynamic, and NLAIAGENT::IAgent::runChildrenStepByStep.

+

+ + + + +
+ + + + + + + + + + +
void NLAIAGENT::IAgentComposite::save NLMISC::IStream  os [virtual]
+
+ + + + + +
+   + + +

+Save the class in a stream. +

+ +

+Reimplemented from NLAIAGENT::IBasicAgent. +

+Reimplemented in NLAIAGENT::CActor. +

+Definition at line 138 of file basic_agent.cpp. +

+References _AgentList, NLAIAGENT::IBasicAgent::IBasicAgent, and NLMISC::IStream::serial.

+


Member Data Documentation

+

+ + + + +
+ + +
tBasicList NLAIAGENT::IAgentComposite::_AgentList [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 340 of file agent.h. +

+Referenced by addChild, cpyChild, deleteListe, NLAIAGENT::IAgent::IAgent, NLAIAGENT::IAgent::Kill, NLAIAGENT::IAgent::onKill, removeChild, NLAIAGENT::IAgent::runChildrenStepByStep, and save.

+

+ + + + +
+ + +
sint NLAIAGENT::IAgentComposite::_SizeChild [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 342 of file agent.h. +

+Referenced by addChild, cpyChild, deleteListe, getChildCoun, NLAIAGENT::IAgent::Kill, load, NLAIAGENT::IAgent::onKill, and removeChild.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1