#include <AP_Timer.h>
Inherits AP_HashBase< AP_String, AP_TimerEvent >.

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_Timer * | getTimer (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 |
| AP_Timer | ( | void | ) | [inline, private] |
| virtual ~AP_Timer | ( | ) | [inline, private, virtual] |
| 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 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 | |||
| ) |
| itimerval m_timer |
AP_Timer Timer_singletone [static, private] |
1.5.8