|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAILOGIC::CGoalStack Class Reference#include <goal_stack.h>
Inheritance diagram for NLAILOGIC::CGoalStack:
List of all members.
Public Methods |
const NLAIC::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
| CGoalStack () |
| CGoalStack (const CGoalStack &) |
| ~CGoalStack () |
virtual IObjectIA::CProcessResult | runActivity () |
virtual void | addGoal (CGoal *) |
virtual void | removeGoal (CGoal *) |
virtual void | removeGoal () |
virtual CGoal * | getTopGoal () |
virtual const std::vector<
CGoal * > & | getStack () |
virtual CGoal * | operator[] (sint32) |
virtual void | getDebugString (std::string &) 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::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 | 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 bool | isTrue () const |
virtual float | truthValue () const |
virtual const IObjectIA::CProcessResult & | run () |
| Some where Run method define the process of the agen. More...
|
virtual bool | isEqual (const CGoal &a) const |
virtual bool | isEqual (const NLAIAGENT::IBasicObjectIA &a) const |
void | setMaxGoals (sint32) |
virtual NLAIAGENT::tQueue | isMember (const NLAIAGENT::IVarName *, const NLAIAGENT::IVarName *, const NLAIAGENT::IObjectIA &) const |
virtual NLAIAGENT::IObjectIA::CProcessResult | runMethodeMember (sint32, sint32, NLAIAGENT::IObjectIA *) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual NLAIAGENT::IObjectIA::CProcessResult | runMethodeMember (sint32 index, NLAIAGENT::IObjectIA *p) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of method define in the class. More...
|
const NLAIC::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
| CGoalStack () |
| CGoalStack (const CGoalStack &) |
| ~CGoalStack () |
virtual IObjectIA::CProcessResult | runActivity () |
virtual void | addGoal (CGoal *) |
virtual void | removeGoal (CGoal *) |
virtual void | removeGoal () |
virtual CGoal * | getTopGoal () |
virtual const std::vector<
CGoal * > & | getStack () |
virtual CGoal * | operator[] (sint32) |
virtual void | getDebugString (std::string &) 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::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 | 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 bool | isTrue () const |
virtual float | truthValue () const |
virtual const IObjectIA::CProcessResult & | run () |
| Some where Run method define the process of the agen. More...
|
virtual bool | isEqual (const CGoal &a) const |
virtual bool | isEqual (const NLAIAGENT::IBasicObjectIA &a) const |
void | setMaxGoals (sint32) |
virtual NLAIAGENT::tQueue | isMember (const NLAIAGENT::IVarName *, const NLAIAGENT::IVarName *, const NLAIAGENT::IObjectIA &) const |
virtual NLAIAGENT::IObjectIA::CProcessResult | runMethodeMember (sint32, sint32, NLAIAGENT::IObjectIA *) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual NLAIAGENT::IObjectIA::CProcessResult | runMethodeMember (sint32 index, NLAIAGENT::IObjectIA *p) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of method define in the class. More...
|
Static Public Attributes |
const NLAIC::CIdentType | IdGoalStack |
Private Attributes |
std::vector< NLAILOGIC::CGoal * > | _Goals |
sint32 | _MaxGoals |
std::vector< NLAILOGIC::CGoal * > | _Goals |
Constructor & Destructor Documentation
NLAILOGIC::CGoalStack::CGoalStack |
( |
|
) |
|
|
NLAILOGIC::CGoalStack::CGoalStack |
( |
const CGoalStack & |
|
) |
|
|
NLAILOGIC::CGoalStack::~CGoalStack |
( |
|
) |
|
|
NLAILOGIC::CGoalStack::CGoalStack |
( |
|
) |
|
|
NLAILOGIC::CGoalStack::CGoalStack |
( |
const CGoalStack & |
|
) |
|
|
NLAILOGIC::CGoalStack::~CGoalStack |
( |
|
) |
|
|
Member Function Documentation
virtual void NLAILOGIC::CGoalStack::addGoal |
( |
CGoal * |
|
) |
[virtual] |
|
void NLAILOGIC::CGoalStack::addGoal |
( |
CGoal * |
|
) |
[virtual] |
|
|
This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.
Implements NLAIC::IBasicType. |
virtual void NLAILOGIC::CGoalStack::getDebugString |
( |
std::string & |
|
) |
const [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.
Implements NLAIC::IBasicType. |
void NLAILOGIC::CGoalStack::getDebugString |
( |
std::string & |
|
) |
const [virtual] |
|
sint32 NLAILOGIC::CGoalStack::getMethodIndexSize |
( |
|
) |
const [virtual] |
|
|
getMethodIndexSize define the nomber of method define in the class.
Reimplemented from NLAIAGENT::IObjectIA. |
sint32 NLAILOGIC::CGoalStack::getMethodIndexSize |
( |
|
) |
const [virtual] |
|
virtual const std::vector<CGoal *>& NLAILOGIC::CGoalStack::getStack |
( |
|
) |
[virtual] |
|
const std::vector< CGoal * > & NLAILOGIC::CGoalStack::getStack |
( |
|
) |
[virtual] |
|
virtual CGoal* NLAILOGIC::CGoalStack::getTopGoal |
( |
|
) |
[virtual] |
|
CGoal * NLAILOGIC::CGoalStack::getTopGoal |
( |
|
) |
[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. |
|
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 136 of file goal_stack.cpp.
References IdGoalStack.
Referenced by isMember. |
virtual bool NLAILOGIC::CGoalStack::isEqual |
( |
const CGoal & |
a |
) |
const [virtual] |
|
bool NLAILOGIC::CGoalStack::isEqual |
( |
const CGoal & |
a |
) |
const [virtual] |
|
virtual bool NLAILOGIC::CGoalStack::isTrue |
( |
|
) |
const [virtual] |
|
bool NLAILOGIC::CGoalStack::isTrue |
( |
|
) |
const [virtual] |
|
virtual void NLAILOGIC::CGoalStack::load |
( |
NLMISC::IStream & |
is |
) |
[virtual] |
|
virtual const NLAIC::IBasicType* NLAILOGIC::CGoalStack::newInstance |
( |
|
) |
const [virtual] |
|
|
This function allow a new instance, that mean that the class is a class factory.
Implements NLAIC::IBasicType. |
virtual CGoal* NLAILOGIC::CGoalStack::operator[] |
( |
sint32 |
|
) |
[virtual] |
|
CGoal * NLAILOGIC::CGoalStack::operator[] |
( |
sint32 |
|
) |
[virtual] |
|
virtual void NLAILOGIC::CGoalStack::removeGoal |
( |
|
) |
[virtual] |
|
virtual void NLAILOGIC::CGoalStack::removeGoal |
( |
CGoal * |
|
) |
[virtual] |
|
void NLAILOGIC::CGoalStack::removeGoal |
( |
|
) |
[virtual] |
|
void NLAILOGIC::CGoalStack::removeGoal |
( |
CGoal * |
|
) |
[virtual] |
|
virtual const IObjectIA::CProcessResult& NLAILOGIC::CGoalStack::run |
( |
|
) |
[virtual] |
|
virtual IObjectIA::CProcessResult NLAILOGIC::CGoalStack::runActivity |
( |
|
) |
[virtual] |
|
|
The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method.
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::IObjectIA. |
|
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::IObjectIA. |
|
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::IObjectIA.
Definition at line 228 of file goal_stack.cpp. |
virtual void NLAILOGIC::CGoalStack::save |
( |
NLMISC::IStream & |
os |
) |
[virtual] |
|
void NLAILOGIC::CGoalStack::setMaxGoals |
( |
sint32 |
|
) |
|
|
void NLAILOGIC::CGoalStack::setMaxGoals |
( |
sint32 |
|
) |
|
|
virtual float NLAILOGIC::CGoalStack::truthValue |
( |
|
) |
const [virtual] |
|
float NLAILOGIC::CGoalStack::truthValue |
( |
|
) |
const [virtual] |
|
Member Data Documentation
sint32 NLAILOGIC::CGoalStack::_MaxGoals [private]
|
|
The documentation for this class was generated from the following files:
|
|