Public Methods |
| CAgentClass (const NLAIAGENT::IVarName &) |
| CAgentClass (const NLAIAGENT::IVarName &, const NLAIAGENT::IVarName &) |
| CAgentClass (const CAgentClass &) |
| CAgentClass (const NLAIC::CIdentType &) |
| CAgentClass () |
virtual | ~CAgentClass () |
virtual NLAIAGENT::IObjectIA* | buildNewInstance () const |
| Instanciates an object of the class. 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 void | save (NLMISC::IStream &) |
| Save the class in a stream. More...
|
virtual void | load (NLMISC::IStream &) |
| Load the class from a stream. More...
|
virtual const NLAIAGENT::IObjectIA::CProcessResult& | run () |
| Some where Run method define the process of the agen. More...
|
virtual bool | isEqual (const NLAIAGENT::IBasicObjectIA &a) const |
virtual sint32 | registerComponent (const NLAIAGENT::IVarName &type_name) |
| Adds a static component to an agent. More...
|
virtual sint32 | registerComponent (const NLAIAGENT::IVarName &type_name, const NLAIAGENT::CStringVarName &field_name) |
| Adds a static component to an agent. More...
|
virtual CComponent* | getComponent (sint32 i) const |
| Returns a CComponent struct describing a static component from its index in the class Only the class's own static members are considered, not the inherited ones. More...
|
virtual CComponent* | getComponent (const NLAIAGENT::IVarName &name) const |
| Returns a CComponent struct describing a static component from its name in the class Only the class's own static members are considered, not the inherited ones. More...
|
virtual sint32 | getComponentIndex (const NLAIAGENT::IVarName &) const |
virtual sint32 | getStaticMemberIndex (const NLAIAGENT::IVarName &) const |
| Returns a CComponent struct describing a static component from its name in the class Only the class's own static members are considered, not the inherited ones. More...
|
virtual const NLAIAGENT::IObjectIA* | getStaticMember (sint32) const |
| to get the pointer of a given components referened by an index. More...
|
virtual sint32 | getStaticMemberSize () const |
| returns the number of static members specific to the class (not the inherited ones). More...
|
sint32 | getInheritedStaticMemberIndex (const NLAIAGENT::IVarName &) const |
virtual void | createComponents (std::list<NLAIAGENT::IObjectIA *> &) const |
| Build the class static components for a new instance, including inherited ones. More...
|
virtual void | createBaseClassComponents (std::list<NLAIAGENT::IObjectIA *> &) const |
| Build the bases classes for a new instance, including inherited ones. More...
|
virtual const char* | getComponentName (sint32) const |
| Gets the name of the components with an offset reference. More...
|
virtual const IClassInterpret* | getInheritance (sint32 n) const |
| Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector. More...
|
sint32 | findMethod (const NLAIAGENT::IVarName &name,const CParam &CParam) const |
virtual sint32 | getChildMessageIndex (const NLAIAGENT::IMessageBase *, sint32) |
|
virtual sint32 | addBrancheCode (const NLAIAGENT::IVarName &,const CParam &) |
virtual CMethodeName& | getBrancheCode () const |
virtual CMethodeName& | getBrancheCode (sint32) const |
| throw NLAIE::CExceptionUnReference;. More...
|
virtual CMethodeName& | getBrancheCode (sint32, sint32) const |
| get method in the base class. where h is the base class offset m is the method offset. More...
|
virtual sint32 | getBrancheCodeSize () const |
virtual NLAIAGENT::tQueue | isMember (const NLAIAGENT::IVarName *className,const NLAIAGENT::IVarName *methodName,const NLAIAGENT::IObjectIA ¶m) const |
virtual NLAIAGENT::tQueue | getPrivateMember (const NLAIAGENT::IVarName *,const NLAIAGENT::IVarName *,const NLAIAGENT::IObjectIA &) const |
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of external method. More...
|
virtual sint32 | getRunMethod () const |
| return the absolut index of the run() method of this class. More...
|
virtual void | setRunMethod (sint32 index) |
| set the absolut index of the run() method of this class. More...
|
|
virtual void | buildVTable () |
| Builds the v_table. More...
|
virtual void | buildVMethode () |
virtual sint32 | sizeVTable () const |
| Get the size of the v_table. More...
|
void | buildChildsMessageMap () |
| Build the table that translates an agent's message processing function index into it's child equivalent message processing function index. More...
|
|
virtual sint32 | isClassInheritedFrom (const NLAIAGENT::IVarName &) const |
const NLAIAGENT::IVarName* | getInheritanceName () const |
| Returns the name of the base class in the registry. More...
|
void | setInheritanceName (const NLAIAGENT::IVarName &name) |
| Returns the name of the base class of this class. More...
|
virtual const IClassInterpret* | getBaseClass () const |
| Defines the base class of this class. More...
|
const CAgentClass* | getSuperClass () const |
| Returns the base class of this class. More...
|
const void | getClassPath (std::vector<const CAgentClass *> &path) const |
| Builds a vector with the path from the super class to this class. More...
|
sint32 | getNbBaseClass () const |
| Returns the number of base classes (the distance to the super class). More...
|
Static Public Attributes |
const NLAIC::CIdentType | IdAgentClass |
Private Types |
typedef std::vector<CMethodType> | tVectorMethode |
Private Methods |
bool | isMessageFunc (const CParam &) const |
void | clearIndirectMsgTable () |
Private Attributes |
std::vector<CComponent *> | _Components |
tVectorMethode | _Methode |
std::vector<const CAgentClass *> | _VTable |
std::vector<sint32 *> | _MsgIndirectTable |
sint32 | _lastRef |
sint32 | _RunIndex |
NLAIAGENT::IVarName* | _Inheritance |
This class is an concret class use to define an scripted agent.