# 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::CAgentManagerTimer Class Reference

#include <agent_timer.h>

Inheritance diagram for NLAIAGENT::CAgentManagerTimer

Inheritance graph
[legend]
Collaboration diagram for NLAIAGENT::CAgentManagerTimer:

Collaboration graph
[legend]
List of all members.

Public Methods

 CAgentManagerTimer (const CAgentManagerTimer &)
 CAgentManagerTimer (IAgentManager *)
 CAgentManagerTimer (IAgentManager *, IBasicAgent *, std::list<IObjectIA *> &, NLAISCRIPT::CAgentClass *)
virtual ~CAgentManagerTimer ()
virtual IObjectIA::CProcessResult runActivity ()
 Mailer do'nt have own activity. More...

virtual bool haveActivity () const
 allow to know if the agent have an activity process to run. More...

NLAIC::IBasicInterface base class method.
virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual void save (NLMISC::IStream &os)
 Save the class in a stream. 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 const NLAIC::IBasicTypenewInstance () 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 const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...


Static Public Methods

void initClass ()
void releaseClass ()

Static Public Attributes

NLMISC::CSynchronized<CAgentScript *>* TimerManager = NULL
NLMISC::IThreadTimerManagerRun = NULL
CRunTimerRunTimer = NULL
const NLAIC::CIdentTypeIdAgentTimer = NULL
const int ClockTick = 20

Private Attributes

uint _Time

Constructor & Destructor Documentation

NLAIAGENT::CAgentManagerTimer::CAgentManagerTimer ( const CAgentManagerTimer & t )
 

Definition at line 36 of file agent_timer.cpp.

NLAIAGENT::CAgentManagerTimer::CAgentManagerTimer ( IAgentManager * m )
 

Definition at line 41 of file agent_timer.cpp.

NLAIAGENT::CAgentManagerTimer::CAgentManagerTimer ( IAgentManager * m,
IBasicAgent * a,
std::list< IObjectIA *>& v,
NLAISCRIPT::CAgentClass * c )
 

Definition at line 45 of file agent_timer.cpp.

NLAIAGENT::CAgentManagerTimer::~CAgentManagerTimer ( ) [virtual]
 

Definition at line 49 of file agent_timer.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAIAGENT::CAgentManagerTimer::clone ( void ) const [virtual]
 

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

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 59 of file agent_timer.cpp.

void NLAIAGENT::CAgentManagerTimer::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::CAgentScript.

Definition at line 68 of file agent_timer.cpp.

const NLAIC::CIdentType & NLAIAGENT::CAgentManagerTimer::getType ( void ) const [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).

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 73 of file agent_timer.cpp.

bool NLAIAGENT::CAgentManagerTimer::haveActivity ( ) const [inline, virtual]
 

allow to know if the agent have an activity process to run.

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 66 of file agent_timer.h.

void NLAIAGENT::CAgentManagerTimer::initClass ( ) [static]
 

Definition at line 92 of file agent_timer.cpp.

Referenced by NLAILINK::initIALib().

void NLAIAGENT::CAgentManagerTimer::load ( NLMISC::IStream & is ) [virtual]
 

Load the class from a stream.

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 53 of file agent_timer.cpp.

const NLAIC::IBasicType * NLAIAGENT::CAgentManagerTimer::newInstance ( void ) const [virtual]
 

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

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 63 of file agent_timer.cpp.

void NLAIAGENT::CAgentManagerTimer::releaseClass ( ) [static]
 

Definition at line 110 of file agent_timer.cpp.

Referenced by NLAILINK::releaseIALib().

IObjectIA::CProcessResult NLAIAGENT::CAgentManagerTimer::runActivity ( ) [virtual]
 

Mailer do'nt have own activity.

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 78 of file agent_timer.cpp.

void NLAIAGENT::CAgentManagerTimer::save ( NLMISC::IStream & os ) [virtual]
 

Save the class in a stream.

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 56 of file agent_timer.cpp.


Member Data Documentation

const int NLAIAGENT::CAgentManagerTimer::ClockTick = 20 [static]
 

Definition at line 90 of file agent_timer.cpp.

const NLAIC::CIdentType * NLAIAGENT::CAgentManagerTimer::IdAgentTimer = NULL [static]
 

Definition at line 85 of file agent_timer.cpp.

CAgentManagerTimer::CRunTimer * NLAIAGENT::CAgentManagerTimer::RunTimer = NULL [static]
 

Definition at line 88 of file agent_timer.cpp.

NLMISC::CSynchronized< CAgentScript *>* NLAIAGENT::CAgentManagerTimer::TimerManager = NULL [static]
 

Definition at line 86 of file agent_timer.cpp.

NLMISC::IThread * NLAIAGENT::CAgentManagerTimer::TimerManagerRun = NULL [static]
 

Definition at line 87 of file agent_timer.cpp.

uint NLAIAGENT::CAgentManagerTimer::_Time [private]
 

Definition at line 57 of file agent_timer.h.


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