|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CSeqFsmScript Class Reference#include <fsm_seq_script.h>
Inheritance diagram for NLAIAGENT::CSeqFsmScript:
List of all members.
Public Methods |
| CSeqFsmScript (IAgentManager *, bool activated=false) |
| CSeqFsmScript (const CSeqFsmScript &) |
| CSeqFsmScript (IAgentManager *, IBasicAgent *, std::list< IObjectIA * > &, NLAISCRIPT::CFsmClass *) |
virtual | ~CSeqFsmScript () |
virtual const NLAIC::IBasicType * | clone () const |
| Inherited functions. 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 (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 bool | isEqual (const IBasicObjectIA &a) const |
| Implementation of the isEqual of the IBasicObjectIA. More...
|
virtual void | runChildren () |
| Run all child. 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 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 IObjectIA::CProcessResult | runMethodBase (int heritance, int index, IObjectIA *) |
virtual IObjectIA::CProcessResult | runMethodBase (int index, IObjectIA *) |
virtual tQueue | isMember (const NLAIAGENT::IVarName *, const NLAIAGENT::IVarName *, const IObjectIA &) const |
void | getFatherComponent (IVarName &) |
virtual void | activate (sint32) |
virtual void | onSuccess () |
| Own success and failure callbacks For sequential fsms, on success the next step is activated, on failure the whole fsm returns failure. More...
|
virtual void | onFailure () |
virtual void | onSuccess (IObjectIA *) |
| Dependencies failure and success notification These functions are called by other operators or goals who failed or succeeded. More...
|
virtual void | onFailure (IObjectIA *) |
Static Public Attributes |
const NLAIC::CIdentType | IdSeqFsmScript |
Private Attributes |
sint32 | _IdActiveChild |
IBasicAgent * | _ActiveChild |
Constructor & Destructor Documentation
NLAIAGENT::CSeqFsmScript::CSeqFsmScript |
( |
IAgentManager * |
, |
|
|
bool |
activated = false |
|
) |
|
|
NLAIAGENT::CSeqFsmScript::CSeqFsmScript |
( |
const CSeqFsmScript & |
|
) |
|
|
NLAIAGENT::CSeqFsmScript::~CSeqFsmScript |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAIAGENT::CSeqFsmScript::activate |
( |
sint32 |
|
) |
[virtual] |
|
void NLAIAGENT::CSeqFsmScript::getDebugString |
( |
std::string & |
|
) |
const [virtual] |
|
void NLAIAGENT::CSeqFsmScript::getFatherComponent |
( |
IVarName & |
|
) |
|
|
|
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 NLAIAGENT::CFsmScript.
Definition at line 77 of file fsm_seq_script.cpp.
References IdSeqFsmScript.
Referenced by runChildren. |
bool NLAIAGENT::CSeqFsmScript::isEqual |
( |
const IBasicObjectIA & |
a |
) |
const [virtual] |
|
void NLAIAGENT::CSeqFsmScript::onFailure |
( |
IObjectIA * |
|
) |
[virtual] |
|
void NLAIAGENT::CSeqFsmScript::onFailure |
( |
|
) |
[virtual] |
|
void NLAIAGENT::CSeqFsmScript::onSuccess |
( |
IObjectIA * |
|
) |
[virtual] |
|
void NLAIAGENT::CSeqFsmScript::onSuccess |
( |
|
) |
[virtual] |
|
|
Own success and failure callbacks For sequential fsms, on success the next step is activated, on failure the whole fsm returns failure.
Definition at line 209 of file fsm_seq_script.cpp. |
void NLAIAGENT::CSeqFsmScript::runChildren |
( |
|
) |
[virtual] |
|
Member Data Documentation
IBasicAgent* NLAIAGENT::CSeqFsmScript::_ActiveChild [private]
|
|
sint32 NLAIAGENT::CSeqFsmScript::_IdActiveChild [private]
|
|
The documentation for this class was generated from the following files:
|
|