|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::IListBasicManager Class Reference#include <list_manager.h>
Inheritance diagram for NLAIAGENT::IListBasicManager:
List of all members.
Public Methods |
| IListBasicManager () |
| IListBasicManager (IBaseGroupType *) |
| IListBasicManager (const IListBasicManager &) |
virtual | ~IListBasicManager () |
| operator const IBaseGroupType * () const |
| Get the list of message contents. More...
|
|
virtual IObjetOp & | operator+= (const IObjetOp &a) |
| add the operater by anather. More...
|
virtual IObjetOp & | operator-= (const IObjetOp &a) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjectIA & | operator= (const IObjectIA &a) |
| Equality operator. More...
|
virtual const IObjectIA * | operator[] (sint32) const |
virtual void | set (int i, IObjectIA *o) |
| Push an IObjectIA at the position indicate by the int. More...
|
virtual bool | isTrue () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp * | operator! () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual void | push (const IObjectIA *o) |
| Push an IObjectIA back. More...
|
virtual void | pushFront (const IObjectIA *o) |
| Push an IObjectIA front. More...
|
virtual CIteratorContener | getIterator () |
| Get an iterator to parse the list. More...
|
virtual CConstIteratorContener | getConstIterator () const |
virtual void | cpy (const IObjectIA &o) |
| Push an IObjectIA back using the clone method. More...
|
virtual const IObjectIA * | pop () |
| Pop the back IObjectIA and return it. More...
|
virtual const IObjectIA * | get () const |
| return the back IObjectIA. More...
|
virtual const IObjectIA * | popFront () |
| Pop the front IObjectIA and return it. More...
|
virtual const IObjectIA * | getFront () const |
| return the front IObjectIA. More...
|
virtual sint32 | size () const |
| get the size of the list. More...
|
virtual const IObjectIA * | find (const IObjectIA &obj) const |
| Find an element on the list the operator== is use. More...
|
virtual void | eraseFirst (const IObjectIA &obj) |
virtual void | eraseAll (const IObjectIA &obj) |
| Erase all element find equal at the const IObjectIA & on argument. More...
|
virtual void | erase (const IObjectIA *o) |
| Erase the element how have the same pointer memory as the argument const IObjectIA *. More...
|
virtual void | erase (const IObjectIA &obj) |
| Erase the first element find equal at the const IObjectIA& on argument. More...
|
virtual void | erase (std::list< const IObjectIA * > &l) |
| Erase all element contain in the list. More...
|
virtual void | clear () |
| Clear the list. More...
|
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of method define in the class. More...
|
virtual tQueue | isMember (const IVarName *className, const IVarName *methodName, const IObjectIA &p) const |
| The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. More...
|
virtual IObjectIA::CProcessResult | runMethodeMember (sint32, sint32, IObjectIA *) |
| The methode runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param) allow us to run a member method. More...
|
virtual IObjectIA::CProcessResult | runMethodeMember (sint32, IObjectIA *) |
| The methode runMethodeMember(sint32 index,IObjectIA *param) allow us to run a own member method. More...
|
virtual const CProcessResult & | run () |
| Some where Run method define the process of the agen. More...
|
virtual bool | isEqual (const IBasicObjectIA &a) const |
| The bool operator==(const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. 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 void | getDebugString (std::string &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...
|
Protected Attributes |
IBaseGroupType * | _List |
Constructor & Destructor Documentation
NLAIAGENT::IListBasicManager::IListBasicManager |
( |
|
) |
|
|
NLAIAGENT::IListBasicManager::IListBasicManager |
( |
const IListBasicManager & |
|
) |
|
|
NLAIAGENT::IListBasicManager::~IListBasicManager |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAIAGENT::IListBasicManager::clear |
( |
|
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::cpy |
( |
const IObjectIA & |
o |
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::erase |
( |
const IObjectIA & |
obj |
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::erase |
( |
const IObjectIA * |
o |
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::eraseAll |
( |
const IObjectIA & |
obj |
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::eraseFirst |
( |
const IObjectIA & |
obj |
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::IListBasicManager::find |
( |
const IObjectIA & |
obj |
) |
const [virtual] |
|
const IObjectIA * NLAIAGENT::IListBasicManager::get |
( |
|
) |
const [virtual] |
|
void NLAIAGENT::IListBasicManager::getDebugString |
( |
std::string & |
t |
) |
const [virtual] |
|
const IObjectIA * NLAIAGENT::IListBasicManager::getFront |
( |
|
) |
const [virtual] |
|
virtual CIteratorContener NLAIAGENT::IListBasicManager::getIterator |
( |
|
) |
[inline, virtual] |
|
sint32 NLAIAGENT::IListBasicManager::getMethodIndexSize |
( |
|
) |
const [virtual] |
|
bool NLAIAGENT::IListBasicManager::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::IBaseGroupType.
Reimplemented in NLAIAGENT::CMessageScript.
Definition at line 189 of file list_manager.cpp.
References NLAIAGENT::tQueue. |
bool NLAIAGENT::IListBasicManager::isTrue |
( |
|
) |
const [virtual] |
|
NLAIAGENT::IListBasicManager::operator const IBaseGroupType * |
( |
|
) |
const [inline] |
|
IObjetOp * NLAIAGENT::IListBasicManager::operator! |
( |
|
) |
const [virtual] |
|
IObjetOp & NLAIAGENT::IListBasicManager::operator+= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
IObjetOp & NLAIAGENT::IListBasicManager::operator-= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::IListBasicManager::operator[] |
( |
sint32 |
|
) |
const [virtual] |
|
const IObjectIA * NLAIAGENT::IListBasicManager::pop |
( |
|
) |
[virtual] |
|
const IObjectIA * NLAIAGENT::IListBasicManager::popFront |
( |
|
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::push |
( |
const IObjectIA * |
o |
) |
[virtual] |
|
void NLAIAGENT::IListBasicManager::pushFront |
( |
const IObjectIA * |
o |
) |
[virtual] |
|
virtual const CProcessResult& NLAIAGENT::IListBasicManager::run |
( |
|
) |
[inline, virtual] |
|
|
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::IBaseGroupType.
Reimplemented in NLAIAGENT::CMessageScript.
Definition at line 194 of file list_manager.cpp. |
virtual void NLAIAGENT::IListBasicManager::set |
( |
int |
i, |
|
|
IObjectIA * |
o |
|
) |
[inline, virtual] |
|
|
Push an IObjectIA at the position indicate by the int.
Implements NLAIAGENT::IBaseGroupType.
Definition at line 53 of file list_manager.h.
References _List, and NLAIAGENT::IObjectIA::IObjectIA.
Referenced by NLAIAGENT::CCancelGoalMsg::CCancelGoalMsg, NLAIAGENT::CConnectObjectValueMsg::CConnectObjectValueMsg, NLAIAGENT::CFactMsg::CFactMsg, NLAIAGENT::CFailureMsg::CFailureMsg, NLAIAGENT::CGetValueMsg::CGetValueMsg, NLAIAGENT::CGoalMsg::CGoalMsg, NLAIAGENT::CSuccessMsg::CSuccessMsg, NLAILOGIC::CGoalPath::failure, NLAILOGIC::CGoalPath::onActivate, NLAILOGIC::CGoalPath::onUnActivate, NLAIAGENT::COperatorScript::order, NLAIAGENT::CAgentScript::runAskGetValue, NLAIAGENT::CCancelGoalMsg::runMethodeMember, NLAIAGENT::CGoalMsg::runMethodeMember, NLAIAGENT::CGetValueMsg::runMethodeMember, NLAIAGENT::CFactMsg::runMethodeMember, NLAIAGENT::CConnectObjectValueMsg::runMethodeMember, NLAIAGENT::CFailureMsg::runMethodeMember, NLAIAGENT::CSuccessMsg::runMethodeMember, and NLAILOGIC::CGoalPath::success. |
sint32 NLAIAGENT::IListBasicManager::size |
( |
|
) |
const [virtual] |
|
Member Data Documentation
|
Definition at line 37 of file list_manager.h.
Referenced by clear, cpy, erase, eraseAll, eraseFirst, find, get, getConstIterator, getDebugString, getFront, getIterator, NLAIAGENT::IMessageBase::getMessageGroup, NLAIAGENT::IListManager::isEqual, isEqual, isTrue, load, operator const IBaseGroupType *, operator+=, operator-=, NLAIAGENT::IMessageBase::operator=, operator=, operator[], pop, popFront, push, pushFront, save, NLAIAGENT::IListManager::sendMessage, set, NLAIAGENT::IMessageBase::setMessageGroup, size, and ~IListBasicManager. |
The documentation for this class was generated from the following files:
|
|