34 #ifndef AVBTS_OSTIMERQ_HPP
35 #define AVBTS_OSTIMERQ_HPP
55 virtual bool init() {
return true; }
82 virtual bool cancelEvent(
int type,
unsigned *event) = 0;
86 inline OSTimerQueue::~OSTimerQueue() {}
102 inline OSTimerQueueFactory::~OSTimerQueueFactory() {}
Definition: avbts_ostimerq.hpp:49
Definition: avbts_clock.hpp:77
Definition: ieee1588.hpp:93
void(* ostimerq_handler)(void *)
Definition: avbts_ostimerq.hpp:42
Definition: avbts_ostimerq.hpp:91
virtual bool cancelEvent(int type, unsigned *event)=0
Removes an event from the timer queue.
virtual bool init()
Initializes timer queue.
Definition: avbts_ostimerq.hpp:55
OSTimerQueue()
Definition: avbts_ostimerq.hpp:60
virtual OSTimerQueue * createOSTimerQueue(IEEE1588Clock *clock)=0
Creates the OSTimerQueue object.
virtual bool addEvent(unsigned long micros, int type, ostimerq_handler func, event_descriptor_t *arg, bool dynamic, unsigned *event)=0
Add an event to the timer queue.