# 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::IAgentManager Class Reference

Base class for manage agent. More...

#include <agent_manager.h>

Inheritance diagram for NLAIAGENT::IAgentManager:

NLAIAGENT::IAgent NLAIAGENT::IAgentComposite NLAIAGENT::IBasicAgent NLAIAGENT::IConnectIA NLAIAGENT::IRefrence NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable 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

 IAgentManager (IBasicAgent *parent)
 Construct manager with a parent. More...

 IAgentManager (IBasicAgent *parent, IMailBox *m)
 Construct manager with a parent and a mail box. More...

 IAgentManager (const IAgentManager &a)
 Copy constructor. More...

virtual const IObjectIAgetAgentContext () const=0
 Get the context for an agent. More...

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

virtual ~IAgentManager ()

Detailed Description

Base class for manage agent.

We know that at this moment we have two kind of agent, agent that it define with the c++ and the script agent. The script need a context, the context for a script is the stack, the heap, the debug parametre ,... The c++ agent can neead a context, it coud be the server where he work or ather think define by any programmer. Well this class define this ideas and resolve ours problmem by the introduction of an agent manger.

Author:
Chafik sameh , Nevrax France
Date:
2000

Definition at line 43 of file agent_manager.h.


Constructor & Destructor Documentation

NLAIAGENT::IAgentManager::IAgentManager IBasicAgent   parent [inline]
 

Construct manager with a parent.

Definition at line 48 of file agent_manager.h.

References NLAIAGENT::IAgent::IAgent, and NLAIAGENT::IBasicAgent::IBasicAgent.

Referenced by NLAIAGENT::CAgentScript::getAgentManager, and IAgentManager.

NLAIAGENT::IAgentManager::IAgentManager IBasicAgent   parent,
IMailBox   m
[inline]
 

Construct manager with a parent and a mail box.

Definition at line 53 of file agent_manager.h.

References NLAIAGENT::IAgent::IAgent, and NLAIAGENT::IBasicAgent::IBasicAgent.

NLAIAGENT::IAgentManager::IAgentManager const IAgentManager &    a [inline]
 

Copy constructor.

Definition at line 58 of file agent_manager.h.

References NLAIAGENT::IAgent::IAgent, and IAgentManager.

virtual NLAIAGENT::IAgentManager::~IAgentManager   [inline]
 

Definition at line 74 of file agent_manager.h.


Member Function Documentation

virtual const IObjectIA* NLAIAGENT::IAgentManager::getAgentContext   const [pure virtual]
 

Get the context for an agent.

At present if the context is an CCodeContext. Programmers have to test the type of the IObjectIA returned by method to know how type of context is.

Implemented in NLAIAGENT::CAgentScript.

Referenced by NLAIAGENT::CActorScript::failure, NLAIAGENT::CActorScript::success, and NLAIAGENT::CActorScript::unActivate.

virtual int NLAIAGENT::IAgentManager::getBaseMethodCount   const [inline, virtual]
 

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

Reimplemented in NLAIAGENT::CActorScript.

Definition at line 69 of file agent_manager.h.


The documentation for this class was generated from the following file: