|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CProxyAgentMail Class Reference#include <agent_proxy_mailer.h>
Inheritance diagram for NLAIAGENT::CProxyAgentMail
[legend]Collaboration diagram for NLAIAGENT::CProxyAgentMail:
[legend]List of all members.
Public Types |
enum | TMethodNumDef {
TConstructor,
TLastM
} |
Public Methods |
| CProxyAgentMail () |
| CProxyAgentMail (const CAgentNumber &agentRef) |
| CProxyAgentMail (const CProxyAgentMail &mailer) |
virtual | ~CProxyAgentMail () |
|
virtual void | save (NLMISC::IStream &os) |
| Save the class in a stream. More...
|
virtual void | load (NLMISC::IStream &is) |
| Load the class from a stream. More...
|
virtual const NLAIC::CIdentType& | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual const NLAIC::IBasicType* | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. 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 void | getDebugString (char *t) const |
| This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...
|
|
virtual const CProcessResult& | run () |
| The work of an agent. More...
|
virtual bool | isEqual (const IBasicObjectIA &a) const |
| The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. More...
|
virtual tQueue | isMember (const IVarName *h,const IVarName *m,const IObjectIA &p) const |
| The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...
|
virtual CProcessResult | runMethodeMember (sint32 h, sint32 m, IObjectIA *p) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual CProcessResult | runMethodeMember (sint32 m,IObjectIA *p) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of external method. More...
|
|
virtual void | onKill (IConnectIA *a) |
| When agent die and when he is in the Connectioned lis, he call this method to inform this state to the objects. More...
|
virtual std::list<IBasicAgent
*>::iterator | addChild (IBasicAgent *p) |
| Add a child to the agent. More...
|
virtual void | removeChild (const IBasicAgent *p) |
| Remove a child from the std::list<IBasicAgent *> child list. More...
|
virtual void | removeChild (std::list<IBasicAgent *>::iterator &iter) |
| Remove a child from the std::list<IBasicAgent *> child list. More...
|
virtual void | runChildren () |
| Run all child. More...
|
virtual void | processMessages () |
| The processMessages method, process the loop/Run message. More...
|
virtual IObjectIA::CProcessResult | sendMessage (IObjectIA *msg) |
| sendMessage allow agent to send a message to an ather agent.The message is a IMessageBase. More...
|
virtual IObjectIA::CProcessResult | runActivity () |
| Run the activity process an agent. More...
|
virtual bool | haveActivity () const |
| allow to know if the agent have an activity process to run. More...
|
Static Public Methods |
void | initClass () |
void | releaseClass () |
Static Public Attributes |
const NLAIC::CIdentType | IdProxyAgentMail |
IMainAgent* | MainAgent = NULL |
CAgentScript::CMethodCall** | StaticMethod = NULL |
Private Attributes |
CAgentNumber* | _AgentRef |
Member Enumeration Documentation
enum NLAIAGENT::CProxyAgentMail::TMethodNumDef
|
|
Constructor & Destructor Documentation
NLAIAGENT::CProxyAgentMail::CProxyAgentMail (
|
)
|
|
NLAIAGENT::CProxyAgentMail::CProxyAgentMail (
|
const CAgentNumber & agentRef )
|
|
NLAIAGENT::CProxyAgentMail::CProxyAgentMail (
|
const CProxyAgentMail & mailer )
|
|
NLAIAGENT::CProxyAgentMail::~CProxyAgentMail (
|
) [virtual]
|
|
Member Function Documentation
const NLAIC::IBasicType * NLAIAGENT::CProxyAgentMail::clone (
|
void ) const [inline, virtual]
|
|
|
This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.
Reimplemented from NLAIC::IBasicType.
Definition at line 84 of file agent_proxy_mailer.h. |
void NLAIAGENT::CProxyAgentMail::getDebugString (
|
char * t ) const [inline, virtual]
|
|
|
This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.
Reimplemented from NLAIC::IBasicType.
Definition at line 91 of file agent_proxy_mailer.h. |
sint32 NLAIAGENT::CProxyAgentMail::getMethodIndexSize (
|
) const [virtual]
|
|
const NLAIC::CIdentType & NLAIAGENT::CProxyAgentMail::getType (
|
void ) 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 NLAIC::IBasicType.
Definition at line 72 of file agent_proxy_mailer.h. |
bool NLAIAGENT::CProxyAgentMail::haveActivity (
|
) const [inline, virtual]
|
|
void NLAIAGENT::CProxyAgentMail::initClass (
|
) [static]
|
|
bool NLAIAGENT::CProxyAgentMail::isEqual (
|
const IBasicObjectIA & a ) const [inline, virtual]
|
|
|
The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'.
Reimplemented from NLAIAGENT::IBasicObjectIA.
Definition at line 110 of file agent_proxy_mailer.h. |
|
The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search.
remember we use the overloadind method.
NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.
methodName: is the name of the class.
param: is an IObjectIA where it defined the parametre of the method. lot of method use a IObjectIA vector object with an NLAIC::CIdentType as the the template argm.
Reimplemented from NLAIAGENT::IBasicAgent.
Definition at line 124 of file agent_proxy_mailer.cpp. |
void NLAIAGENT::CProxyAgentMail::load (
|
NLMISC::IStream & is ) [inline, virtual]
|
|
const NLAIC::IBasicType * NLAIAGENT::CProxyAgentMail::newInstance (
|
void ) const [inline, virtual]
|
|
void NLAIAGENT::CProxyAgentMail::onKill (
|
IConnectIA * a ) [virtual]
|
|
void NLAIAGENT::CProxyAgentMail::processMessages (
|
) [virtual]
|
|
void NLAIAGENT::CProxyAgentMail::releaseClass (
|
) [static]
|
|
void NLAIAGENT::CProxyAgentMail::removeChild (
|
std::list< IBasicAgent *>::iterator & iter ) [virtual]
|
|
void NLAIAGENT::CProxyAgentMail::removeChild (
|
const IBasicAgent * p ) [virtual]
|
|
const CProcessResult & NLAIAGENT::CProxyAgentMail::run (
|
void ) [inline, virtual]
|
|
void NLAIAGENT::CProxyAgentMail::runChildren (
|
) [virtual]
|
|
|
The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method.
heritance: is the id returned by the methodisClassInheritedFrom(const IVarName &). index: is the method id return by the isMember(const IVarName *,const IVarName *,const IObjectIA &) const method. param: is the parametre for the method.
Reimplemented from NLAIAGENT::IBasicAgent.
Definition at line 193 of file agent_proxy_mailer.cpp. |
void NLAIAGENT::CProxyAgentMail::save (
|
NLMISC::IStream & os ) [inline, virtual]
|
|
Member Data Documentation
IMainAgent * NLAIAGENT::CProxyAgentMail::MainAgent = NULL [static]
|
|
CAgentNumber * NLAIAGENT::CProxyAgentMail::_AgentRef [private]
|
|
The documentation for this class was generated from the following files:
|
|