From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/class_NLAIAGENT__CMainAgentScript.html | 852 +++++++++++++++++++++ 1 file changed, 852 insertions(+) create mode 100644 docs/doxygen/nel/class_NLAIAGENT__CMainAgentScript.html (limited to 'docs/doxygen/nel/class_NLAIAGENT__CMainAgentScript.html') diff --git a/docs/doxygen/nel/class_NLAIAGENT__CMainAgentScript.html b/docs/doxygen/nel/class_NLAIAGENT__CMainAgentScript.html new file mode 100644 index 00000000..2a954c0e --- /dev/null +++ b/docs/doxygen/nel/class_NLAIAGENT__CMainAgentScript.html @@ -0,0 +1,852 @@ + + + + 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::CMainAgentScript Class Reference

concrete IMainAgent class. +More... +

+#include <main_agent_script.h> +

+Inheritance diagram for NLAIAGENT::CMainAgentScript

Inheritance graph
+ + + + + + + + + + + + + + + + + +
[legend]
Collaboration diagram for NLAIAGENT::CMainAgentScript:

Collaboration graph
+ + + + + + + + + + + +
[legend]
List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

virtual int getBaseMethodCount () const
 Return the nomber of internal C++ hard coded method that the class can process. More...

virtual const IObjectIAgetAgentContext () const
 Get an valid context for this instance. More...

 CMainAgentScript (const CMainAgentScript &)
 CMainAgentScript (IAgentManager *a,NLAIC::IIO *io, IBasicAgent *b, std::list<IObjectIA *> &v, NLAISCRIPT::CAgentClass *c)
 CMainAgentScript (IAgentManager *,NLAIC::IIO *io)
 CMainAgentScript (NLAIC::IIO *io)
virtual ~CMainAgentScript ()
const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual IMessageBaserunExec (const IMessageBase &)
 RunExec is to processing reltative to PExec Performatif. More...

virtual IObjectIA::CProcessResult addDynamicAgent (IBaseGroupType *g)
 Add an agent to the dynamic agent child. More...

virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

virtual const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual void processMessages ()
 The processMessages method, process the loop/Run message. More...

virtual IObjectIA::CProcessResult sendMessage (IObjectIA *)
 sendMessage allow agent to send a message to an ather agent.The message is a IMessageBase. More...

virtual IObjectIA::CProcessResult sendMessage (const CAgentNumber &,IObjectIA *)
virtual const IObjectIA::CProcessResultrun ()
 The work of an agent. More...


Static Public Attributes

const NLAIC::CIdentType IdMainAgentScript

Protected Attributes

NLAISCRIPT::CCodeContext_CodeContext
 Context for the script. More...

NLAISCRIPT::CStackPointer_Stack
 Heap and stack for the script. More...

NLAISCRIPT::CStackPointer_Heap
+

Detailed Description

+concrete IMainAgent class. +

+

+Author(s):
+ Chafik sameh , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 73 of file main_agent_script.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + +
+NLAIAGENT::CMainAgentScript::CMainAgentScript ( + +const CMainAgentScript & a ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 30 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+NLAIAGENT::CMainAgentScript::CMainAgentScript ( + +IAgentManager * a, +
+NLAIC::IIO * io, +
+IBasicAgent * b, +
+std::list< IObjectIA *>& v, +
+NLAISCRIPT::CAgentClass * c ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 45 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + + + + + +
+NLAIAGENT::CMainAgentScript::CMainAgentScript ( + +IAgentManager * main, +
+NLAIC::IIO * io ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+NLAIAGENT::CMainAgentScript::CMainAgentScript ( + +NLAIC::IIO * io ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 52 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+NLAIAGENT::CMainAgentScript::~CMainAgentScript ( + +) [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 59 of file main_agent_script.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+IObjectIA::CProcessResult NLAIAGENT::CMainAgentScript::addDynamicAgent ( + +IBaseGroupType * g ) [virtual] +
+
+ + + + + +
+   + + +

+Add an agent to the dynamic agent child. +

+Method have an IBaseGroupType argument, this argument must store an CStringType first and an IObjectIA pointer memory next. The CStringType is the name of the agent. The IObjectIA pointer memory is the agent. +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 159 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+const NLAIC::IBasicType * NLAIAGENT::CMainAgentScript::clone ( + +void ) const [virtual] +
+
+ + + + + +
+   + + +

+This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +

+ +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 81 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+const IObjectIA * NLAIAGENT::CMainAgentScript::getAgentContext ( + +) const [virtual] +
+
+ + + + + +
+   + + +

+Get an valid context for this instance. +

+ +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 66 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+int NLAIAGENT::CMainAgentScript::getBaseMethodCount ( + +) const [virtual] +
+
+ + + + + +
+   + + +

+Return the nomber of internal C++ hard coded method that the class can process. +

+ +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 71 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+const NLAIC::CIdentType & NLAIAGENT::CMainAgentScript::getType ( + +void ) const [inline, virtual] +
+
+ + + + + +
+   + + +

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

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 97 of file main_agent_script.h.

+

+ + + + +
+ + + + + + +
+const NLAIC::IBasicType * NLAIAGENT::CMainAgentScript::newInstance ( + +void ) const [virtual] +
+
+ + + + + +
+   + + +

+This function allow a new instance, that mean that the class is a class factory. +

+ +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 87 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+void NLAIAGENT::CMainAgentScript::processMessages ( + +) [virtual] +
+
+ + + + + +
+   + + +

+The processMessages method, process the loop/Run message. +

+ +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 111 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+const IObjectIA::CProcessResult & NLAIAGENT::CMainAgentScript::run ( + +void ) [virtual] +
+
+ + + + + +
+   + + +

+The work of an agent. +

+Typically agent process child message, process its message and run its activity. +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 140 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + +
+IMessageBase * NLAIAGENT::CMainAgentScript::runExec ( + +const IMessageBase & m ) [virtual] +
+
+ + + + + +
+   + + +

+RunExec is to processing reltative to PExec Performatif. +

+its call from the IObjectIA *run(const IMessageBase &m) method. +

+Reimplemented from NLAIAGENT::IBasicAgent. +

+Definition at line 93 of file main_agent_script.cpp.

+

+ + + + +
+ + + + + + + + + + +
+IObjectIA::CProcessResult NLAIAGENT::CMainAgentScript::sendMessage ( + +const CAgentNumber &, +
+IObjectIA * ) [inline, virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLAIAGENT::IMainAgent. +

+Definition at line 111 of file main_agent_script.h.

+

+ + + + +
+ + + + + + +
+IObjectIA::CProcessResult NLAIAGENT::CMainAgentScript::sendMessage ( + +IObjectIA * m ) [virtual] +
+
+ + + + + +
+   + + +

+sendMessage allow agent to send a message to an ather agent.The message is a IMessageBase. +

+ +

+Reimplemented from NLAIAGENT::CAgentScript. +

+Definition at line 76 of file main_agent_script.cpp.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+const NLAIC::CIdentType NLAIAGENT::CMainAgentScript::IdMainAgentScript [static] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 84 of file main_agent_script.h.

+

+ + + + +
+ + + + + +
+NLAISCRIPT::CCodeContext * NLAIAGENT::CMainAgentScript::_CodeContext [protected] +
+
+ + + + + +
+   + + +

+Context for the script. +

+ +

+Definition at line 79 of file main_agent_script.h.

+

+ + + + +
+ + + + + +
+NLAISCRIPT::CStackPointer * NLAIAGENT::CMainAgentScript::_Heap [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 81 of file main_agent_script.h.

+

+ + + + +
+ + + + + +
+NLAISCRIPT::CStackPointer * NLAIAGENT::CMainAgentScript::_Stack [protected] +
+
+ + + + + +
+   + + +

+Heap and stack for the script. +

+ +

+Definition at line 81 of file main_agent_script.h.

+


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