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

Class IRefrence is the main class for an agent it define the word refrence of an agents. More...

#include <baseai.h>

Inheritance diagram for NLAIAGENT::IRefrence

Inheritance graph
[legend]
Collaboration diagram for NLAIAGENT::IRefrence:

Collaboration graph
[legend]
List of all members.

Public Methods

 IRefrence ()
 default constructor, when it's called an new reference is created. More...

 IRefrence (const IWordNumRef *parent)
 We can call this constructor when agent have a parent. More...

 IRefrence (NLMISC::IStream &is)
 We can call this constructor when we want to load a new agents from a stream. More...

 operator const IWordNumRef & () const
 to get a word num ref of the agents. More...

 operator const IWordNumRef * () const
 to get a word num ref pointer of the agents. More...

virtual const CIdent getIdentType () const
IRefrence* getParent () const
 to get the agent parents. More...

void setParent (const IWordNumRef *parent)
 to set the parent of the agents. More...

virtual const IRefrence* getOwner () const
 To get the top level parent of this agent. More...

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

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


Protected Methods

 IRefrence (const IRefrence &A)
void refLoadStream (NLMISC::IStream &is)
 the loader of the class. More...

void setNumRef (const IWordNumRef &ref)

Private Attributes

IWordNumRef_NumRef
 _NumRef is the word refrence of the agents. More...

IWordNumRef_Parent
 _Parent is the word refrence of the parent agents if existe. More...


Detailed Description

Class IRefrence is the main class for an agent it define the word refrence of an agents.

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

Definition at line 330 of file baseai.h.


Constructor & Destructor Documentation

NLAIAGENT::IRefrence::IRefrence ( const IRefrence & A ) [protected]
 

Definition at line 421 of file baseai.cpp.

NLAIAGENT::IRefrence::IRefrence ( )
 

default constructor, when it's called an new reference is created.

Definition at line 312 of file baseai.cpp.

NLAIAGENT::IRefrence::IRefrence ( const IWordNumRef * parent )
 

We can call this constructor when agent have a parent.

Definition at line 317 of file baseai.cpp.

NLAIAGENT::IRefrence::IRefrence ( NLMISC::IStream & is )
 

We can call this constructor when we want to load a new agents from a stream.

Definition at line 323 of file baseai.cpp.

NLAIAGENT::IRefrence::~IRefrence ( ) [virtual]
 

Definition at line 415 of file baseai.cpp.


Member Function Documentation

const CIdent NLAIAGENT::IRefrence::getIdentType ( ) const [virtual]
 

Definition at line 427 of file baseai.cpp.

const IRefrence * NLAIAGENT::IRefrence::getOwner ( ) const [virtual]
 

To get the top level parent of this agent.

Definition at line 350 of file baseai.cpp.

IRefrence * NLAIAGENT::IRefrence::getParent ( ) const
 

to get the agent parents.

Reimplemented in NLAIAGENT::IConnectIA.

Definition at line 338 of file baseai.cpp.

void NLAIAGENT::IRefrence::load ( NLMISC::IStream & is ) [pure virtual]
 

Load the class from a stream.

Reimplemented from NLAIC::IBasicInterface.

Reimplemented in NLAIAGENT::CActor, NLAIAGENT::CActorScript, NLAIAGENT::IBasicAgent, NLAIAGENT::IAgentComposite, NLAIAGENT::IAgent, NLAIAGENT::IAgentInput, NLAIAGENT::CLocalAgentMail, NLAIAGENT::CProxyAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CAgentManagerTimer, NLAIAGENT::IConnectIA, NLAIAGENT::CGDAgentScript, NLAIAGENT::IMailBox, NLAIAGENT::CSimpleLocalMailBox, NLAIAGENT::CLocalMailBox, NLAICHARACTER::CCharacterChild, NLAICHARACTER::CCharacterNoeud, NLAIAGENT::CFsmScript, NLAIAGENT::CSeqFsmScript, and NLAIAGENT::COperatorScript.

Definition at line 404 of file baseai.cpp.

NLAIAGENT::IRefrence::operator const IWordNumRef & ( ) const
 

to get a word num ref of the agents.

Definition at line 328 of file baseai.cpp.

NLAIAGENT::IRefrence::operator const IWordNumRef * ( ) const
 

to get a word num ref pointer of the agents.

Definition at line 333 of file baseai.cpp.

void NLAIAGENT::IRefrence::refLoadStream ( NLMISC::IStream & is ) [protected]
 

the loader of the class.

Definition at line 381 of file baseai.cpp.

void NLAIAGENT::IRefrence::save ( NLMISC::IStream & os ) [pure virtual]
 

Save the class in a stream.

Reimplemented from NLAIC::IBasicInterface.

Reimplemented in NLAIAGENT::CActor, NLAIAGENT::CActorScript, NLAIAGENT::IBasicAgent, NLAIAGENT::IAgentComposite, NLAIAGENT::IAgent, NLAIAGENT::IAgentInput, NLAIAGENT::CLocalAgentMail, NLAIAGENT::CProxyAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CAgentManagerTimer, NLAIAGENT::IConnectIA, NLAIAGENT::CGDAgentScript, NLAIAGENT::IMailBox, NLAIAGENT::CSimpleLocalMailBox, NLAIAGENT::CLocalMailBox, NLAICHARACTER::CCharacterChild, NLAICHARACTER::CCharacterNoeud, NLAIAGENT::CFsmScript, NLAIAGENT::CSeqFsmScript, and NLAIAGENT::COperatorScript.

Definition at line 362 of file baseai.cpp.

void NLAIAGENT::IRefrence::setNumRef ( const IWordNumRef & ref ) [protected]
 

Definition at line 409 of file baseai.cpp.

void NLAIAGENT::IRefrence::setParent ( const IWordNumRef * parent )
 

to set the parent of the agents.

Definition at line 343 of file baseai.cpp.


Member Data Documentation

IWordNumRef * NLAIAGENT::IRefrence::_NumRef [private]
 

_NumRef is the word refrence of the agents.

Definition at line 334 of file baseai.h.

IWordNumRef * NLAIAGENT::IRefrence::_Parent [private]
 

_Parent is the word refrence of the parent agents if existe.

Definition at line 336 of file baseai.h.


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