|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CVolatilMemmory Class Reference#include <volatil_memory.h>
Inheritance diagram for NLAIAGENT::CVolatilMemmory:
List of all members.
Public Methods |
| CVolatilMemmory (IBaseGroupType *l=new CGroupType) |
| CVolatilMemmory (const CVolatilMemmory &) |
virtual | ~CVolatilMemmory () |
CConstIteratorContener | getConstIterator () const |
void | pushFront (uint time, IObjectIA *) |
void | pushBack (uint time, IObjectIA *) |
void | popFront () |
void | popBack () |
IObjectIA * | Front () const |
IObjectIA * | Back () const |
void | erase (CConstIteratorContener &) |
int | size () |
void | addAccount (IObjectIA *) |
void | releaseAccount (IObjectIA *) |
void | init () |
|
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 const NLAIC::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual const NLAIC::IBasicType * | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. 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 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...
|
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 | onKill (IConnectIA *) |
| When agent die and when he is in the Connectioned lis, he call this method to inform this state to the objects. More...
|
virtual IObjectIA::CProcessResult | sendMessage (IMessageBase *msg) |
virtual const CProcessResult & | getState () const |
virtual void | setState (TProcessStatement s, IObjectIA *result) |
|
virtual const CProcessResult & | run () |
| Some where Run method define the process of the agen. More...
|
Static Public Methods |
void | initClass () |
void | releaseClass () |
Static Public Attributes |
CHashTimerManager * | Timer = NULL |
const NLAIC::CIdentType * | IdVolatilMemmory = NULL |
Protected Methods |
virtual void | sendUpdateMessage (IObjectIA *) |
Protected Attributes |
uint | _Time |
IBaseGroupType * | _List |
std::list< IObjectIA * > | _Connecter |
const CPairType * | _PairToDelete |
Private Methods |
void | searchBest () |
void | testIfBest (const CPairType *) |
void | runMessage (CAgentWatchTimer *) |
Constructor & Destructor Documentation
NLAIAGENT::CVolatilMemmory::CVolatilMemmory |
( |
const CVolatilMemmory & |
|
) |
|
|
NLAIAGENT::CVolatilMemmory::~CVolatilMemmory |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAIAGENT::CVolatilMemmory::addAccount |
( |
IObjectIA * |
|
) |
|
|
IObjectIA * NLAIAGENT::CVolatilMemmory::Back |
( |
|
) |
const |
|
virtual const NLAIC::IBasicType* NLAIAGENT::CVolatilMemmory::clone |
( |
|
) |
const [inline, virtual] |
|
IObjectIA * NLAIAGENT::CVolatilMemmory::Front |
( |
|
) |
const |
|
void NLAIAGENT::CVolatilMemmory::getDebugString |
( |
std::string & |
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.
Implements NLAIC::IBasicType.
Definition at line 282 of file volatil_memory.cpp.
References _List, r, s, and t. |
virtual const CProcessResult& NLAIAGENT::CVolatilMemmory::getState |
( |
|
) |
const [inline, virtual] |
|
virtual const NLAIC::CIdentType& NLAIAGENT::CVolatilMemmory::getType |
( |
|
) |
const [inline, 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.
Reimplemented in NLAILOGIC::CVarMem.
Definition at line 169 of file volatil_memory.h. |
void NLAIAGENT::CVolatilMemmory::init |
( |
|
) |
|
|
void NLAIAGENT::CVolatilMemmory::initClass |
( |
|
) |
[static] |
|
virtual bool NLAIAGENT::CVolatilMemmory::isEqual |
( |
const IBasicObjectIA & |
a |
) |
const [inline, virtual] |
|
virtual void NLAIAGENT::CVolatilMemmory::load |
( |
NLMISC::IStream & |
is |
) |
[inline, virtual] |
|
virtual const NLAIC::IBasicType* NLAIAGENT::CVolatilMemmory::newInstance |
( |
|
) |
const [inline, virtual] |
|
void NLAIAGENT::CVolatilMemmory::onKill |
( |
IConnectIA * |
|
) |
[virtual] |
|
void NLAIAGENT::CVolatilMemmory::popBack |
( |
|
) |
|
|
void NLAIAGENT::CVolatilMemmory::popFront |
( |
|
) |
|
|
void NLAIAGENT::CVolatilMemmory::pushBack |
( |
uint |
time, |
|
|
IObjectIA * |
|
|
) |
|
|
void NLAIAGENT::CVolatilMemmory::pushFront |
( |
uint |
time, |
|
|
IObjectIA * |
|
|
) |
|
|
void NLAIAGENT::CVolatilMemmory::releaseAccount |
( |
IObjectIA * |
|
) |
|
|
void NLAIAGENT::CVolatilMemmory::releaseClass |
( |
|
) |
[static] |
|
virtual const CProcessResult& NLAIAGENT::CVolatilMemmory::run |
( |
|
) |
[inline, virtual] |
|
virtual void NLAIAGENT::CVolatilMemmory::save |
( |
NLMISC::IStream & |
os |
) |
[inline, virtual] |
|
void NLAIAGENT::CVolatilMemmory::searchBest |
( |
|
) |
[private] |
|
void NLAIAGENT::CVolatilMemmory::sendUpdateMessage |
( |
IObjectIA * |
|
) |
[protected, virtual] |
|
int NLAIAGENT::CVolatilMemmory::size |
( |
|
) |
[inline] |
|
void NLAIAGENT::CVolatilMemmory::testIfBest |
( |
const CPairType * |
|
) |
[private] |
|
Member Data Documentation
|
Definition at line 126 of file volatil_memory.h.
Referenced by Back, CVolatilMemmory, Front, getConstIterator, getDebugString, popBack, popFront, pushBack, pushFront, runMessage, searchBest, size, and ~CVolatilMemmory. |
const CPairType* NLAIAGENT::CVolatilMemmory::_PairToDelete [protected]
|
|
uint NLAIAGENT::CVolatilMemmory::_Time [protected]
|
|
const NLAIC::CIdentType * NLAIAGENT::CVolatilMemmory::IdVolatilMemmory = NULL [static]
|
|
The documentation for this class was generated from the following files:
|
|