|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CMessageScript Class ReferenceClass for managing message agent script.
More...
#include <message_script.h>
Inheritance diagram for NLAIAGENT::CMessageScript
[legend]Collaboration diagram for NLAIAGENT::CMessageScript:
[legend]List of all members.
Public Methods |
| CMessageScript (const CMessageScript &) |
| CMessageScript (NLAISCRIPT::CMessageClass *b = NULL) |
| CMessageScript ( std::list<IObjectIA *> &, NLAISCRIPT::CMessageClass *) |
virtual | ~CMessageScript () |
NLAISCRIPT::IOpCode* | getMethode (sint32 inheritance,sint32 index) |
| get the closure correspondent of the method indexed by index in the base class inheritance. More...
|
NLAISCRIPT::IOpCode* | getMethode (sint32 index) |
| get the closure correspondent of the method indexed by index. More...
|
virtual sint32 | getBaseMethodCount () const |
| Return the nomber of internal C++ hard coded method that the class can process. More...
|
const NLAISCRIPT::CMessageClass* | getCreatorClass () const |
|
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of external method. More...
|
virtual tQueue | isMember (const IVarName *,const IVarName *,const IObjectIA &) const |
| The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...
|
virtual sint32 | isClassInheritedFrom (const IVarName &) const |
| isClassInheritedFrom(className) allow us to known if this class have a base class with the name className. More...
|
virtual IObjectIA::CProcessResult | runMethodeMember (sint32, sint32, IObjectIA *) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual IObjectIA::CProcessResult | runMethodeMember (sint32 index,IObjectIA *) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
virtual void | setStaticMember (sint32,IObjectIA *) |
| to cahnge a given components given by a string. More...
|
virtual const IObjectIA* | getStaticMember (sint32) const |
| to get the pointer of a given components referened by an index. More...
|
virtual sint32 | getStaticMemberSize () const |
| Static member is the component that the agent is create and die with. More...
|
virtual sint32 | getStaticMemberIndex (const IVarName &) const |
| to get the index of a given components name. More...
|
virtual const CProcessResult& | run () |
| Some where Run method define the process of the agen. 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 void | load (NLMISC::IStream &is) |
| Load the class from a stream. More...
|
virtual void | save (NLMISC::IStream &os) |
| Save the class in a stream. 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 const NLAIC::IBasicType* | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. 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 NLAIC::CIdentType& | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
Static Public Attributes |
const NLAIC::CIdentType | IdMessageScript |
Protected Attributes |
NLAISCRIPT::CMessageClass* | _MessageClass |
Detailed Description
Class for managing message agent script.
Note that it is write with the same model of CAgentScript but don't have the same base class, because message is not an agent and message must be very light. Remember agent have connection list, child list and a mail boxe, this is incompatible with spirit of message.
-
Author(s):
-
Chafik sameh , Nevrax France
-
Date:
-
2000
Definition at line 47 of file message_script.h.
Constructor & Destructor Documentation
NLAIAGENT::CMessageScript::CMessageScript (
|
const CMessageScript & m )
|
|
NLAIAGENT::CMessageScript::~CMessageScript (
|
) [virtual]
|
|
Member Function Documentation
sint32 NLAIAGENT::CMessageScript::getBaseMethodCount (
|
) const [virtual]
|
|
void NLAIAGENT::CMessageScript::getDebugString (
|
char * t ) const [virtual]
|
|
sint32 NLAIAGENT::CMessageScript::getMethodIndexSize (
|
) const [virtual]
|
|
|
get the closure correspondent of the method indexed by index.
Definition at line 102 of file message_script.cpp. |
|
get the closure correspondent of the method indexed by index in the base class inheritance.
Definition at line 86 of file message_script.cpp. |
const IObjectIA * NLAIAGENT::CMessageScript::getStaticMember (
|
sint32 index ) const [virtual]
|
|
sint32 NLAIAGENT::CMessageScript::getStaticMemberIndex (
|
const IVarName & name ) const [virtual]
|
|
sint32 NLAIAGENT::CMessageScript::getStaticMemberSize (
|
) const [virtual]
|
|
|
Static member is the component that the agent is create and die with.
getStaticMemberSize to get the size of the static member components
Reimplemented from NLAIAGENT::IObjectIA.
Definition at line 291 of file message_script.cpp. |
const NLAIC::CIdentType & NLAIAGENT::CMessageScript::getType (
|
void ) const [virtual]
|
|
sint32 NLAIAGENT::CMessageScript::isClassInheritedFrom (
|
const IVarName & class_name ) const [virtual]
|
|
|
isClassInheritedFrom(className) allow us to known if this class have a base class with the name className.
If true the method return the range of the base class, this range is an arbitrary reference id define by the programmer or bay the scrypt. the false return is define by -1.
Reimplemented from NLAIAGENT::IBaseGroupType.
Definition at line 256 of file message_script.cpp. |
bool NLAIAGENT::CMessageScript::isEqual (
|
const IBasicObjectIA & a ) const [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::IMessageBase.
Definition at line 372 of file message_script.cpp. |
const NLAIC::IBasicType * NLAIAGENT::CMessageScript::newInstance (
|
void ) const [virtual]
|
|
void NLAIAGENT::CMessageScript::setStaticMember (
|
sint32 index,
|
|
IObjectIA * op ) [virtual]
|
|
Member Data Documentation
The documentation for this class was generated from the following files:
|
|