|
|
|
|
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
[legend]Collaboration diagram for NLAIAGENT::IConnectIA:
[legend]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(s):
-
Chafik sameh , Portier Pierre , Nevrax France
-
Date:
-
2000
Definition at line 390 of file baseai.h.
Member Typedef Documentation
typedef std::list<const IConnectIA *> NLAIAGENT::IConnectIA::tListiBasic [private]
|
|
typedef std::list<const IConnectIA *>::const_iterator NLAIAGENT::IConnectIA::tListiBasicCstItr [private]
|
|
typedef std::list<const IConnectIA *>::iterator NLAIAGENT::IConnectIA::tListiBasicItr [private]
|
|
Constructor & Destructor Documentation
NLAIAGENT::IConnectIA::IConnectIA (
|
const IConnectIA & A ) [protected]
|
|
NLAIAGENT::IConnectIA::IConnectIA (
|
)
|
|
NLAIAGENT::IConnectIA::IConnectIA (
|
const IWordNumRef * parent )
|
|
NLAIAGENT::IConnectIA::~IConnectIA (
|
) [virtual]
|
|
Member Function Documentation
void NLAIAGENT::IConnectIA::Kill (
|
) [virtual]
|
|
void NLAIAGENT::IConnectIA::addInConnectedList (
|
const IConnectIA * a ) [protected]
|
|
void NLAIAGENT::IConnectIA::addInConnectionList (
|
const IConnectIA * a ) [protected]
|
|
void NLAIAGENT::IConnectIA::connect (
|
IConnectIA * b )
|
|
|
When agent want to make connection he have to call this method to connect to an agent.When it call the B object is added in the connection list.
Definition at line 497 of file baseai.cpp. |
void NLAIAGENT::IConnectIA::connectLoadStream (
|
NLMISC::IStream & is ) [protected]
|
|
IConnectIA * NLAIAGENT::IConnectIA::getParent (
|
) const
|
|
const CProcessResult & NLAIAGENT::IConnectIA::getState (
|
) const [pure virtual]
|
|
|
Load the class from a stream.
Reimplemented from NLAIAGENT::IRefrence.
Reimplemented in NLAIAGENT::CActor, NLAIAGENT::CActorScript, NLAIAGENT::IBasicAgent, NLAIAGENT::IAgentComposite, NLAIAGENT::IAgent, NLAIAGENT::IAgentInput, NLAIAGENT::CLocalAgentMail, NLAIAGENT::CProxyAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CAgentManagerTimer, NLAIAGENT::CGDAgentScript, NLAIAGENT::IMailBox, NLAIAGENT::CSimpleLocalMailBox, NLAIAGENT::CLocalMailBox, NLAIAGENT::CFsmScript, NLAIAGENT::CSeqFsmScript, and NLAIAGENT::COperatorScript.
Definition at line 458 of file baseai.cpp. |
void NLAIAGENT::IConnectIA::onKill (
|
IConnectIA * a ) [pure virtual]
|
|
void NLAIAGENT::IConnectIA::removeConnection (
|
IConnectIA * Agent )
|
|
|
To release a connection.
Definition at line 503 of file baseai.cpp. |
void NLAIAGENT::IConnectIA::removeInConnectedList (
|
const IConnectIA * a ) [protected]
|
|
void NLAIAGENT::IConnectIA::removeInConnectionList (
|
IConnectIA * a ) [protected]
|
|
|
Save the class in a stream.
Reimplemented from NLAIAGENT::IRefrence.
Reimplemented in NLAIAGENT::CActor, NLAIAGENT::CActorScript, NLAIAGENT::IBasicAgent, NLAIAGENT::IAgentComposite, NLAIAGENT::IAgent, NLAIAGENT::IAgentInput, NLAIAGENT::CLocalAgentMail, NLAIAGENT::CProxyAgentMail, NLAIAGENT::CAgentScript, NLAIAGENT::CAgentManagerTimer, NLAIAGENT::CGDAgentScript, NLAIAGENT::IMailBox, NLAIAGENT::CSimpleLocalMailBox, NLAIAGENT::CLocalMailBox, NLAIAGENT::CFsmScript, NLAIAGENT::CSeqFsmScript, and NLAIAGENT::COperatorScript.
Definition at line 36 of file baseai.cpp. |
Member Data Documentation
tListiBasic NLAIAGENT::IConnectIA::_Connected [private]
|
|
tListiBasic NLAIAGENT::IConnectIA::_Connection [private]
|
|
The documentation for this class was generated from the following files:
|
|