|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::IConnectIA Class ReferenceIn general agents create a lot of connection with ather agent and for exemple when he die, he have to close all this connections.
More...
#include <baseai.h>
Inheritance diagram for NLAIAGENT::IConnectIA:
List of all members.
Detailed Description
In general agents create a lot of connection with ather agent and for exemple when he die, he have to close all this connections.
IConnectIA allow programmer to manage connection. the IConnectIA class work with tow list the connection list and the connected list. Connection list: is the list of agent connected to this object. Connectioned list: is the list of objects where this agent is connected to.
-
Author:
-
Chafik sameh , Portier Pierre , Nevrax France
-
Date:
-
2000
Definition at line 418 of file baseai.h.
Member Typedef Documentation
typedef std::set<const IConnectIA *> NLAIAGENT::IConnectIA::tListiBasic [private]
|
|
typedef std::set<const IConnectIA *>::const_iterator NLAIAGENT::IConnectIA::tListiBasicCstItr [private]
|
|
typedef std::set<const IConnectIA *>::iterator NLAIAGENT::IConnectIA::tListiBasicItr [private]
|
|
Constructor & Destructor Documentation
NLAIAGENT::IConnectIA::IConnectIA |
( |
const IConnectIA & |
A |
) |
[protected] |
|
|
Definition at line 494 of file baseai.cpp.
Referenced by NLAIAGENT::CAgentWatchTimer::addAttrib, connectLoadStream, NLAIAGENT::CAgentOperation::connectOnChange, getParent, Kill, NLAIAGENT::IAgent::Kill, NLAIAGENT::CHashTimerManager::onKill, onKill, NLAIAGENT::CAgentOperation::runMethodBase, NLAIAGENT::CAgentWatchTimer::runMethodBase, save, NLAIAGENT::CLocalAgentMail::save, and setParent. |
NLAIAGENT::IConnectIA::IConnectIA |
( |
|
) |
|
|
NLAIAGENT::IConnectIA::IConnectIA |
( |
const IWordNumRef * |
parent |
) |
|
|
NLAIAGENT::IConnectIA::~IConnectIA |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAIAGENT::IConnectIA::addInConnectedList |
( |
const IConnectIA * |
a |
) |
[protected] |
|
void NLAIAGENT::IConnectIA::addInConnectionList |
( |
const IConnectIA * |
a |
) |
[protected] |
|
void NLAIAGENT::IConnectIA::connect |
( |
IConnectIA * |
b |
) |
|
|
void NLAIAGENT::IConnectIA::connectLoadStream |
( |
NLMISC::IStream & |
is |
) |
[protected] |
|
IConnectIA * NLAIAGENT::IConnectIA::getParent |
( |
|
) |
const |
|
|
to get the agent parents.
Reimplemented from NLAIAGENT::IRefrence.
Definition at line 511 of file baseai.cpp.
References IConnectIA.
Referenced by NLAIAGENT::CActorScript::activate, NLAIAGENT::COperatorScript::calcPriority, NLAIAGENT::COperatorScript::checkTrigMsg, Kill, NLAIAGENT::COperatorScript::lookForGoals, NLAIAGENT::CScriptMailBox::newInstance, NLAIAGENT::CLocalMailBox::newInstance, NLAIAGENT::CSimpleLocalMailBox::newInstance, NLAIAGENT::IAgent::newInstance, NLAIAGENT::CActor::newInstance, onKill, NLAIAGENT::IBasicAgent::runAsk, NLAIAGENT::CAgentScript::runAskParentNotify, NLAIAGENT::CAgentScript::runMethodBase, NLAIAGENT::CActorScript::runMethodBase, NLAIAGENT::IBasicAgent::runMethodeMember, NLAIAGENT::CAgentScript::runTellParentNotify, setParent, NLAIAGENT::CScriptMailBox::translateMsg, and NLAIAGENT::CActorScript::unActivate. |
virtual const CProcessResult& NLAIAGENT::IConnectIA::getState |
( |
|
) |
const [pure virtual] |
|
void NLAIAGENT::IConnectIA::Kill |
( |
|
) |
[virtual] |
|
void NLAIAGENT::IConnectIA::onKill |
( |
IConnectIA * |
|
) |
[virtual] |
|
void NLAIAGENT::IConnectIA::removeConnection |
( |
IConnectIA * |
Agent |
) |
|
|
void NLAIAGENT::IConnectIA::removeInConnectedList |
( |
const IConnectIA * |
a |
) |
[protected] |
|
void NLAIAGENT::IConnectIA::removeInConnectionList |
( |
IConnectIA * |
a |
) |
[protected] |
|
void NLAIAGENT::IConnectIA::setParent |
( |
const IWordNumRef * |
parent |
) |
[virtual] |
|
Member Data Documentation
tListiBasic NLAIAGENT::IConnectIA::_Connected [protected]
|
|
tListiBasic NLAIAGENT::IConnectIA::_Connection [protected]
|
|
The documentation for this class was generated from the following files:
|
|