|
|
|
|
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:
List of all members.
Public Types |
enum | TMethodNumDef { TConstructor,
TLastM
} |
Public Methods |
| CProxyAgentMail () |
| CProxyAgentMail (const CAgentNumber &agentRef) |
| CProxyAgentMail (const CProxyAgentMail &mailer) |
virtual | ~CProxyAgentMail () |
const CAgentNumber * | getAgentRef () const |
|
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 (std::string &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 method define in the class. More...
|
|
virtual void | onKill (IConnectIA *a) |
| Called by an agent who's destroyed te remove its references. 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 | sendMessage (const IVarName &, IObjectIA *) |
| This method allow to send a message to an compoment given by an string IVarName. 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
virtual const NLAIC::IBasicType* NLAIAGENT::CProxyAgentMail::clone |
( |
|
) |
const [inline, virtual] |
|
const CAgentNumber* NLAIAGENT::CProxyAgentMail::getAgentRef |
( |
|
) |
const [inline] |
|
virtual void NLAIAGENT::CProxyAgentMail::getDebugString |
( |
std::string & |
t |
) |
const [inline, virtual] |
|
sint32 NLAIAGENT::CProxyAgentMail::getMethodIndexSize |
( |
|
) |
const [virtual] |
|
virtual const NLAIC::CIdentType& NLAIAGENT::CProxyAgentMail::getType |
( |
|
) |
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).
Implements NLAIC::IBasicType.
Definition at line 72 of file agent_proxy_mailer.h. |
virtual bool NLAIAGENT::CProxyAgentMail::haveActivity |
( |
|
) |
const [inline, virtual] |
|
void NLAIAGENT::CProxyAgentMail::initClass |
( |
|
) |
[static] |
|
virtual bool NLAIAGENT::CProxyAgentMail::isEqual |
( |
const IBasicObjectIA & |
a |
) |
const [inline, virtual] |
|
virtual void NLAIAGENT::CProxyAgentMail::load |
( |
NLMISC::IStream & |
is |
) |
[inline, virtual] |
|
virtual const NLAIC::IBasicType* NLAIAGENT::CProxyAgentMail::newInstance |
( |
|
) |
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] |
|
virtual const CProcessResult& NLAIAGENT::CProxyAgentMail::run |
( |
|
) |
[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 150 of file agent_proxy_mailer.cpp. |
virtual void NLAIAGENT::CProxyAgentMail::save |
( |
NLMISC::IStream & |
os |
) |
[inline, virtual] |
|
Member Data Documentation
CAgentNumber* NLAIAGENT::CProxyAgentMail::_AgentRef [private]
|
|
IMainAgent * NLAIAGENT::CProxyAgentMail::MainAgent = NULL [static]
|
|
The documentation for this class was generated from the following files:
|
|