|
|
|
|
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
[legend]Collaboration diagram for NLAIAGENT::CSeqFsmScript:
[legend]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 (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 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 |
| The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...
|
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 * manager,
|
|
bool stay_alive = false )
|
|
NLAIAGENT::CSeqFsmScript::CSeqFsmScript (
|
const CSeqFsmScript & a )
|
|
NLAIAGENT::CSeqFsmScript::~CSeqFsmScript (
|
) [virtual]
|
|
Member Function Documentation
void NLAIAGENT::CSeqFsmScript::activate (
|
sint32 no_child ) [virtual]
|
|
void NLAIAGENT::CSeqFsmScript::getDebugString (
|
char * t ) 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.
Reimplemented from NLAIAGENT::CFsmScript.
Definition at line 61 of file fsm_seq_script.cpp. |
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 78 of file fsm_seq_script.cpp. |
bool NLAIAGENT::CSeqFsmScript::isEqual (
|
const IBasicObjectIA & a ) const [virtual]
|
|
|
The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search.
remember we use the overloadind method.
NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.
methodName: is the name of the class.
param: is an IObjectIA where it defined the parametre of the method. lot of method use a IObjectIA vector object with an NLAIC::CIdentType as the the template argm.
Reimplemented from NLAIAGENT::CFsmScript.
Definition at line 170 of file fsm_seq_script.cpp. |
const NLAIC::IBasicType * NLAIAGENT::CSeqFsmScript::newInstance (
|
void ) const [virtual]
|
|
void NLAIAGENT::CSeqFsmScript::onFailure (
|
IObjectIA * ) [virtual]
|
|
void NLAIAGENT::CSeqFsmScript::onFailure (
|
) [virtual]
|
|
void NLAIAGENT::CSeqFsmScript::onSuccess (
|
IObjectIA * ) [virtual]
|
|
|
Dependencies failure and success notification These functions are called by other operators or goals who failed or succeeded.
Reimplemented from NLAIAGENT::CActorScript.
Definition at line 239 of file fsm_seq_script.cpp. |
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 230 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:
|
|