# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAISCRIPT::IClassInterpret Class Reference

Class IClassInterpret. More...

#include <interpret_object.h>

Inheritance diagram for NLAISCRIPT::IClassInterpret

Inheritance graph
[legend]
Collaboration diagram for NLAISCRIPT::IClassInterpret:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual CComponentgetComponent (const NLAIAGENT::IVarName &) const = 0
 Returns a static component from its name in the class.

virtual CComponentgetComponent (sint32 i) const = 0
 Returns a component from its index.

 IClassInterpret ()
 IClassInterpret (NLAIC::CIdentType *idType)
virtual ~IClassInterpret ()
virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

void setType (NLAIC::CIdentType *idType)
void setType (const NLAIAGENT::IVarName &, const IClassInterpret &)
virtual NLAIAGENT::IObjectIAbuildNewInstance () const = 0
 Instanciates an object of the class.

virtual sint32 registerComponent (const NLAIAGENT::IVarName &) = 0
 Registers a new static component.

virtual sint32 getStaticMemberSize () const = 0
 Returns the number of static components in the class.

virtual sint32 getRunMethod () const = 0
 return the absolut index of the run() method of this class.

virtual void setRunMethod (sint32 index) = 0
 set the absolut index of the run() method of this class.

virtual void buildVTable () = 0
 Builds the v_table.

virtual const IClassInterpret* getInheritance (sint32 n) const = 0
 Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector.

virtual sint32 sizeVTable () const = 0
 Get the size of the v_table.

virtual const NLAIAGENT::IVarNamegetClassName () const
 Returns the name of the class in the registry. More...

virtual void setClassName (const NLAIAGENT::IVarName &)
virtual void setInheritanceName (const NLAIAGENT::IVarName &name) = 0
 Defines the base class using its name in the registry.

virtual const NLAIAGENT::IVarNamegetInheritanceName () const = 0
 Returns the name of the base class in the registry.

virtual const IClassInterpret* getBaseClass () const = 0
 Return a pointer to the base IClassInterpret object.

virtual const char* getComponentName (sint32 = 0) const = 0
 Return the name of the compoment given by an offset.

virtual NLAIAGENT::tQueue getPrivateMember (const NLAIAGENT::IVarName *,const NLAIAGENT::IVarName *,const NLAIAGENT::IObjectIA &param) const = 0
const NLAIAGENT::IVarNamegetName () const
code method.
virtual sint32 addBrancheCode (const NLAIAGENT::IVarName &,const CParam &) = 0
virtual CMethodeNamegetBrancheCode () const = 0
virtual CMethodeNamegetBrancheCode (sint32) const = 0
 get method in the class.

virtual CMethodeNamegetBrancheCode (sint32 h, sint32 m) const = 0
 get method in the base class. where h is the base class offset m is the method offset.


Protected Methods

 IClassInterpret (const NLAIAGENT::IVarName &,const IClassInterpret &)

Private Attributes

NLAIAGENT::IVarName_Name
 Name of the class. More...

NLAIC::CIdentType_IdType
 Type of the class. More...


Detailed Description

Class IClassInterpret.

This class define a class interpreted.

Author(s):
Chafik sameh , Portier Perre. , Nevrax France
Date:
2000

Definition at line 87 of file interpret_object.h.


Constructor & Destructor Documentation

NLAISCRIPT::IClassInterpret::IClassInterpret ( const NLAIAGENT::IVarName & name,
const IClassInterpret & a ) [protected]
 

Definition at line 56 of file interpret_object.cpp.

NLAISCRIPT::IClassInterpret::IClassInterpret ( )
 

Definition at line 74 of file interpret_object.cpp.

NLAISCRIPT::IClassInterpret::IClassInterpret ( NLAIC::CIdentType * idType )
 

Definition at line 61 of file interpret_object.cpp.

NLAISCRIPT::IClassInterpret::~IClassInterpret ( ) [virtual]
 

Definition at line 65 of file interpret_object.cpp.


Member Function Documentation

sint32 NLAISCRIPT::IClassInterpret::addBrancheCode ( const NLAIAGENT::IVarName & name,
const CParam & param ) [pure virtual]
 

Reimplemented in NLAISCRIPT::CAgentClass.

NLAIAGENT::IObjectIA * NLAISCRIPT::IClassInterpret::buildNewInstance ( ) const [pure virtual]
 

Instanciates an object of the class.

Reimplemented in NLAISCRIPT::COperatorClass, NLAISCRIPT::CGDAgentClass, NLAISCRIPT::CActorClass, NLAISCRIPT::CFsmClass, NLAISCRIPT::CSeqFsmClass, NLAISCRIPT::CSuccessMsgClass, NLAISCRIPT::CFailureMsgClass, NLAISCRIPT::CAgentClass, NLAISCRIPT::CManagerClass, NLAISCRIPT::CMessageClass, NLAISCRIPT::CMsgNotifyParentClass, NLAISCRIPT::CGoalMsgClass, NLAISCRIPT::CCancelGoalMsgClass, NLAISCRIPT::CFactMsgClass, NLAISCRIPT::CDebugMsgClass, and NLAISCRIPT::COnChangeMsgClass.

void NLAISCRIPT::IClassInterpret::buildVTable ( ) [pure virtual]
 

Builds the v_table.

Reimplemented in NLAISCRIPT::CAgentClass.

const IClassInterpret * NLAISCRIPT::IClassInterpret::getBaseClass ( ) const [pure virtual]
 

Return a pointer to the base IClassInterpret object.

Reimplemented in NLAISCRIPT::CAgentClass.

CMethodeName & NLAISCRIPT::IClassInterpret::getBrancheCode ( sint32 no_base_class,
sint32 no_methode ) const [pure virtual]
 

get method in the base class. where h is the base class offset m is the method offset.

Reimplemented in NLAISCRIPT::CAgentClass.

CMethodeName & NLAISCRIPT::IClassInterpret::getBrancheCode ( sint32 i ) const [pure virtual]
 

get method in the class.

Reimplemented in NLAISCRIPT::CAgentClass.

CMethodeName & NLAISCRIPT::IClassInterpret::getBrancheCode ( ) const [pure virtual]
 

Reimplemented in NLAISCRIPT::CAgentClass.

const NLAIAGENT::IVarName * NLAISCRIPT::IClassInterpret::getClassName ( ) const [virtual]
 

Returns the name of the class in the registry.

Definition at line 107 of file interpret_object.cpp.

CComponent * NLAISCRIPT::IClassInterpret::getComponent ( sint32 i ) const [pure virtual]
 

Returns a component from its index.

Reimplemented in NLAISCRIPT::CAgentClass.

CComponent * NLAISCRIPT::IClassInterpret::getComponent ( const NLAIAGENT::IVarName & name ) const [pure virtual]
 

Returns a static component from its name in the class.

Reimplemented in NLAISCRIPT::CAgentClass.

const char * NLAISCRIPT::IClassInterpret::getComponentName ( sint32 i = 0 ) const [pure virtual]
 

Return the name of the compoment given by an offset.

Reimplemented in NLAISCRIPT::CAgentClass.

const IClassInterpret * NLAISCRIPT::IClassInterpret::getInheritance ( sint32 n ) const [pure virtual]
 

Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector.

Reimplemented in NLAISCRIPT::CAgentClass.

const NLAIAGENT::IVarName * NLAISCRIPT::IClassInterpret::getInheritanceName ( ) const [pure virtual]
 

Returns the name of the base class in the registry.

Reimplemented in NLAISCRIPT::CAgentClass.

const NLAIAGENT::IVarName * NLAISCRIPT::IClassInterpret::getName ( ) const [inline]
 

Definition at line 162 of file interpret_object.h.

virtual NLAIAGENT::tQueue NLAISCRIPT::IClassInterpret::getPrivateMember ( const NLAIAGENT::IVarName * className,
const NLAIAGENT::IVarName * methodName,
const NLAIAGENT::IObjectIA & param ) const [pure virtual]
 

Reimplemented in NLAISCRIPT::CAgentClass.

sint32 NLAISCRIPT::IClassInterpret::getRunMethod ( ) const [pure virtual]
 

return the absolut index of the run() method of this class.

Reimplemented in NLAISCRIPT::CAgentClass.

sint32 NLAISCRIPT::IClassInterpret::getStaticMemberSize ( ) const [pure virtual]
 

Returns the number of static components in the class.

Reimplemented from NLAIAGENT::IObjectIA.

Reimplemented in NLAISCRIPT::CAgentClass.

const NLAIC::CIdentType & NLAISCRIPT::IClassInterpret::getType ( void ) const [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.

Reimplemented in NLAISCRIPT::CSuccessMsgClass, NLAISCRIPT::CFailureMsgClass, NLAISCRIPT::CMsgNotifyParentClass, NLAISCRIPT::CGoalMsgClass, NLAISCRIPT::CCancelGoalMsgClass, NLAISCRIPT::CFactMsgClass, NLAISCRIPT::CDebugMsgClass, and NLAISCRIPT::COnChangeMsgClass.

Definition at line 78 of file interpret_object.cpp.

sint32 NLAISCRIPT::IClassInterpret::registerComponent ( const NLAIAGENT::IVarName & type_name ) [pure virtual]
 

Registers a new static component.

Reimplemented in NLAISCRIPT::CAgentClass.

void NLAISCRIPT::IClassInterpret::setClassName ( const NLAIAGENT::IVarName & name ) [virtual]
 

Definition at line 97 of file interpret_object.cpp.

void NLAISCRIPT::IClassInterpret::setInheritanceName ( const NLAIAGENT::IVarName & name ) [pure virtual]
 

Defines the base class using its name in the registry.

Reimplemented in NLAISCRIPT::CAgentClass.

void NLAISCRIPT::IClassInterpret::setRunMethod ( sint32 index ) [pure virtual]
 

set the absolut index of the run() method of this class.

Reimplemented in NLAISCRIPT::CAgentClass.

void NLAISCRIPT::IClassInterpret::setType ( const NLAIAGENT::IVarName & name,
const IClassInterpret & a )
 

Definition at line 90 of file interpret_object.cpp.

void NLAISCRIPT::IClassInterpret::setType ( NLAIC::CIdentType * idType )
 

Definition at line 83 of file interpret_object.cpp.

sint32 NLAISCRIPT::IClassInterpret::sizeVTable ( ) const [pure virtual]
 

Get the size of the v_table.

Reimplemented in NLAISCRIPT::CAgentClass.


Member Data Documentation

NLAIC::CIdentType * NLAISCRIPT::IClassInterpret::_IdType [private]
 

Type of the class.

Definition at line 93 of file interpret_object.h.

NLAIAGENT::IVarName * NLAISCRIPT::IClassInterpret::_Name [private]
 

Name of the class.

Definition at line 91 of file interpret_object.h.


The documentation for this class was generated from the following files: