# 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:

NLAIAGENT::CAgentScript NLAIAGENT::IAgentManager NLAIAGENT::IAgent NLAIAGENT::IAgentComposite NLAIAGENT::IBasicAgent NLAIAGENT::IConnectIA NLAIAGENT::IRefrence NLAIAGENT::IObjectIA NLAIAGENT::IBasicObjectIA NLAIC::IBasicInterface NLAIC::IBasicType NLAIC::IPointerGestion NLMISC::IStreamable NLMISC::IClassable 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 (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...


Static Public Methods

void initClass ()
void releaseClass ()

Static Public Attributes

bool IsRunning = false
NLMISC::CSynchronized< CAgentScript * > * TimerManager = NULL
NLMISC::IThreadTimerManagerRun = NULL
CRunTimerRunTimer = NULL
const NLAIC::CIdentTypeIdAgentTimer = NULL
const int ClockTick = 40

Private Attributes

uint _Time

Constructor & Destructor Documentation

NLAIAGENT::CAgentManagerTimer::CAgentManagerTimer const CAgentManagerTimer &   
 

Definition at line 36 of file agent_timer.cpp.

References t.

Referenced by clone, initClass, and newInstance.

NLAIAGENT::CAgentManagerTimer::CAgentManagerTimer IAgentManager  
 

Definition at line 41 of file agent_timer.cpp.

NLAIAGENT::CAgentManagerTimer::CAgentManagerTimer IAgentManager  ,
IBasicAgent  ,
std::list< IObjectIA * > &   ,
NLAISCRIPT::CAgentClass  
 

Definition at line 45 of file agent_timer.cpp.

References v.

NLAIAGENT::CAgentManagerTimer::~CAgentManagerTimer   [virtual]
 

Definition at line 49 of file agent_timer.cpp.


Member Function Documentation

const NLAIC::IBasicType * NLAIAGENT::CAgentManagerTimer::clone   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.

References CAgentManagerTimer.

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

Reimplemented from NLAIAGENT::CAgentScript.

Definition at line 68 of file agent_timer.cpp.

References _Time, NLAIC::stringGetBuild, and t.

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

References IdAgentTimer.

virtual 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 68 of file agent_timer.h.

void NLAIAGENT::CAgentManagerTimer::initClass   [static]
 

Definition at line 93 of file agent_timer.cpp.

References CAgentManagerTimer, NLAIC::CTypeOfOperator::opNone, and NLAIC::CTypeOfObject::tAgent.

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

References CAgentManagerTimer.

void NLAIAGENT::CAgentManagerTimer::releaseClass   [static]
 

Definition at line 115 of file agent_timer.cpp.

References NLMISC::IThread::terminate.

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.

References _Time.

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

uint NLAIAGENT::CAgentManagerTimer::_Time [private]
 

Definition at line 59 of file agent_timer.h.

Referenced by getDebugString, and runActivity.

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

Definition at line 91 of file agent_timer.cpp.

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

Definition at line 85 of file agent_timer.cpp.

Referenced by getType.

bool NLAIAGENT::CAgentManagerTimer::IsRunning = false [static]
 

Definition at line 89 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.


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