# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLAIAGENT::CHashTimerManager Class Reference

#include <volatil_memory.h>

Inheritance diagram for NLAIAGENT::CHashTimerManager:

NLAIAGENT::IConnectIA NLAIAGENT::IRefrence NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable List of all members.

Public Methods

 CHashTimerManager ()
 CHashTimerManager (const CHashTimerManager &)
 ~CHashTimerManager ()
CAgentWatchTimergetTimer ()
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 const NLAIC::CIdentTypegetType () 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 const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. 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

const NLAIC::CIdentTypeIdHashTimerManager = NULL
sint MaxSubscribByTimer = 50
uint Time = 1000

Private Attributes

std::list< CAgentWatchTimer * > TimerAccount

Constructor & Destructor Documentation

NLAIAGENT::CHashTimerManager::CHashTimerManager   [inline]
 

Definition at line 46 of file volatil_memory.h.

Referenced by clone, initClass, and newInstance.

NLAIAGENT::CHashTimerManager::CHashTimerManager const CHashTimerManager &   
 

Definition at line 34 of file volatil_memory.cpp.

NLAIAGENT::CHashTimerManager::~CHashTimerManager   [inline]
 

Definition at line 48 of file volatil_memory.h.


Member Function Documentation

virtual const NLAIC::IBasicType* NLAIAGENT::CHashTimerManager::clone   const [inline, virtual]
 

This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.

Implements NLAIC::IBasicType.

Definition at line 77 of file volatil_memory.h.

References CHashTimerManager, and x.

virtual void NLAIAGENT::CHashTimerManager::getDebugString std::string &    t const [inline, 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 54 of file volatil_memory.h.

References t.

virtual const CProcessResult& NLAIAGENT::CHashTimerManager::getState   const [inline, virtual]
 

Implements NLAIAGENT::IConnectIA.

Definition at line 98 of file volatil_memory.h.

CAgentWatchTimer * NLAIAGENT::CHashTimerManager::getTimer  
 

Definition at line 38 of file volatil_memory.cpp.

References TimerAccount, and x.

virtual const NLAIC::CIdentType& NLAIAGENT::CHashTimerManager::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.

Definition at line 59 of file volatil_memory.h.

void NLAIAGENT::CHashTimerManager::initClass   [static]
 

Definition at line 54 of file volatil_memory.cpp.

References CHashTimerManager, NLAIC::CTypeOfOperator::opNone, and NLAIC::CTypeOfObject::tObject.

virtual bool NLAIAGENT::CHashTimerManager::isEqual const IBasicObjectIA   a const [inline, virtual]
 

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'.

Implements NLAIAGENT::IBasicObjectIA.

Definition at line 83 of file volatil_memory.h.

References NLAIAGENT::IBasicObjectIA::IBasicObjectIA.

virtual void NLAIAGENT::CHashTimerManager::load NLMISC::IStream   is [inline, virtual]
 

Load the class from a stream.

Implements NLAIAGENT::IConnectIA.

Definition at line 67 of file volatil_memory.h.

virtual const NLAIC::IBasicType* NLAIAGENT::CHashTimerManager::newInstance   const [inline, virtual]
 

This function allow a new instance, that mean that the class is a class factory.

Implements NLAIC::IBasicType.

Definition at line 71 of file volatil_memory.h.

References CHashTimerManager, and x.

virtual void NLAIAGENT::CHashTimerManager::onKill IConnectIA   [inline, virtual]
 

When agent die and when he is in the Connectioned lis, he call this method to inform this state to the objects.

Reimplemented from NLAIAGENT::IConnectIA.

Definition at line 88 of file volatil_memory.h.

References NLAIAGENT::IConnectIA::IConnectIA.

void NLAIAGENT::CHashTimerManager::releaseClass   [static]
 

Definition at line 63 of file volatil_memory.cpp.

virtual const CProcessResult& NLAIAGENT::CHashTimerManager::run   [inline, virtual]
 

Some where Run method define the process of the agen.

Implements NLAIAGENT::IObjectIA.

Definition at line 106 of file volatil_memory.h.

virtual void NLAIAGENT::CHashTimerManager::save NLMISC::IStream   os [inline, virtual]
 

Save the class in a stream.

Implements NLAIAGENT::IConnectIA.

Definition at line 64 of file volatil_memory.h.

virtual IObjectIA::CProcessResult NLAIAGENT::CHashTimerManager::sendMessage IMessageBase   msg [inline, virtual]
 

Implements NLAIAGENT::IConnectIA.

Definition at line 92 of file volatil_memory.h.

virtual void NLAIAGENT::CHashTimerManager::setState TProcessStatement    s,
IObjectIA   result
[inline, virtual]
 

Implements NLAIAGENT::IConnectIA.

Definition at line 103 of file volatil_memory.h.

References NLAIAGENT::IObjectIA::IObjectIA, s, and NLAIAGENT::TProcessStatement.


Member Data Documentation

const NLAIC::CIdentType * NLAIAGENT::CHashTimerManager::IdHashTimerManager = NULL [static]
 

Definition at line 30 of file volatil_memory.cpp.

sint NLAIAGENT::CHashTimerManager::MaxSubscribByTimer = 50 [static]
 

Definition at line 31 of file volatil_memory.cpp.

uint NLAIAGENT::CHashTimerManager::Time = 1000 [static]
 

Definition at line 32 of file volatil_memory.cpp.

std::list<CAgentWatchTimer *> NLAIAGENT::CHashTimerManager::TimerAccount [private]
 

Definition at line 43 of file volatil_memory.h.

Referenced by getTimer.


The documentation for this class was generated from the following files: