10 #include "ChipObject.h"
11 #include "ErrorBase.h"
12 #include "Synchronized.h"
14 typedef void (*TimerEventHandler)(
void *param);
19 Notifier(TimerEventHandler handler,
void *param = NULL);
27 static tAlarm *talarm;
28 static tInterruptManager *manager;
31 static const uint32_t kTimerInterruptNumber = 28;
32 static void ProcessQueue(uint32_t mask,
void *params);
33 static void UpdateAlarm();
34 void InsertInQueue(
bool reschedule);
35 void DeleteFromQueue();
36 TimerEventHandler m_handler;
39 double m_expirationTime;
43 SEM_ID m_handlerSemaphore;
void StartPeriodic(double period)
Definition: Notifier.cpp:249
Notifier(TimerEventHandler handler, void *param=NULL)
Definition: Notifier.cpp:24
virtual ~Notifier()
Definition: Notifier.cpp:57
Definition: Notifier.h:16
Definition: ErrorBase.h:37
void StartSingle(double delay)
Definition: Notifier.cpp:234
void Stop()
Definition: Notifier.cpp:265
Definition: Synchronized.h:31