AP_Timer Class Reference

#include <AP_Timer.h>

Inherits AP_HashBase< AP_String, AP_TimerEvent >.

Collaboration diagram for AP_Timer:

Collaboration graph

Public Member Functions

AP_Bool changeTimer (const string &name, AP_Sint32 tick, AP_TimerType type)
AP_Bool deregisterTimer (const string &name)
AP_Bool init (AP_Int delay)
AP_Bool registerTimer (const string &name, AP_Sint32 tick, AP_TimerType type, AP_TimerHandle handle, AP_Pointer object)
AP_Bool registerTimer (const string &name, AP_Sint32 tick, AP_TimerType type, AP_ThreadSemaphore *sem)

Static Public Member Functions

static AP_TimergetTimer (void)
 Public static.
static void handleTimer (AP_Int signal)

Data Fields

itimerval m_timer

Private Member Functions

 AP_Timer (void)
virtual ~AP_Timer ()

Static Private Attributes

static AP_Timer Timer_singletone

Constructor & Destructor Documentation

AP_Timer ( void   )  [inline, private]

virtual ~AP_Timer (  )  [inline, private, virtual]


Member Function Documentation

AP_Bool changeTimer ( const string &  name,
AP_Sint32  tick,
AP_TimerType  type 
)

AP_Bool deregisterTimer ( const string &  name  ) 

static AP_Timer* getTimer ( void   )  [inline, static]

Public static.

void handleTimer ( AP_Int  signal  )  [static]

AP_Bool init ( AP_Int  delay  ) 

AP_Bool registerTimer ( const string &  name,
AP_Sint32  tick,
AP_TimerType  type,
AP_TimerHandle  handle,
AP_Pointer  object 
)

AP_Bool registerTimer ( const string &  name,
AP_Sint32  tick,
AP_TimerType  type,
AP_ThreadSemaphore sem 
)


Field Documentation

itimerval m_timer

AP_Timer Timer_singletone [static, private]


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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8