|
|
|
|
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 Referenceconcrete IMainAgent class.
More...
#include <main_agent_script.h>
Inheritance diagram for NLAIAGENT::CMainAgentScript:
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 IObjectIA * | getAgentContext () 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::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual IMessageBase * | runExec (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::IBasicType * | clone () 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::IBasicType * | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
virtual void | CMainAgentScript::processMessages () |
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 IObjectIA::CProcessResult | sendMessage (const CAgentNumber &, const IVarName &, IObjectIA *) |
virtual const IObjectIA::CProcessResult & | run () |
| 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 |
| Heap and stack for the script. More...
|
Detailed Description
concrete IMainAgent class.
-
Author:
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 76 of file main_agent_script.h.
Constructor & Destructor Documentation
NLAIAGENT::CMainAgentScript::CMainAgentScript |
( |
const CMainAgentScript & |
|
) |
|
|
NLAIAGENT::CMainAgentScript::CMainAgentScript |
( |
NLAIC::IIO * |
io |
) |
|
|
NLAIAGENT::CMainAgentScript::~CMainAgentScript |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual void NLAIAGENT::CMainAgentScript::CMainAgentScript::processMessages |
( |
|
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::CMainAgentScript::getAgentContext |
( |
|
) |
const [virtual] |
|
int NLAIAGENT::CMainAgentScript::getBaseMethodCount |
( |
|
) |
const [virtual] |
|
const NLAIC::CIdentType& NLAIAGENT::CMainAgentScript::getType |
( |
|
) |
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 100 of file main_agent_script.h.
Referenced by sendMessage. |
const NLAIC::IBasicType * NLAIAGENT::CMainAgentScript::newInstance |
( |
|
) |
const [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 145 of file main_agent_script.cpp.
References _CodeContext, NLAIAGENT::CAgentScript::getFactoryClass, NLAIAGENT::IBasicAgent::getMail, NLAISCRIPT::CAgentClass::getRunMethod, NLAIAGENT::IBasicAgent::getState, NLAIAGENT::CAgentScript::haveActivity, NLAIAGENT::processIdle, NLAIAGENT::CAgentScript::processMessages, NLAIAGENT::CAgentScript::runActivity, NLAIAGENT::CAgentScript::runChildren, and NLAIAGENT::CAgentScript::runMethodeMember. |
Member Data Documentation
The documentation for this class was generated from the following files:
|
|