Lines Matching defs:timer
50 #include "timer.hpp"
56 static impl::timer* compat_handle;
69 impl::timer* timer = static_cast< impl::timer* >(si->si_value.sival_ptr);
70 timer->set_fired();
71 timer->timeout_callback();
86 // The "timer" class.
89 struct impl::timer::impl {
105 impl::timer::timer(const unsigned int seconds) :
113 throw system_error(IMPL_NAME "::timer::timer",
125 throw system_error(IMPL_NAME "::timer::timer",
126 "Failed to create timer", errno);
137 throw system_error(IMPL_NAME "::timer::timer",
138 "Failed to program timer", errno);
148 throw system_error(IMPL_NAME "::timer::timer",
149 "Failed to program timer", errno);
156 impl::timer::~timer(void)
178 impl::timer::fired(void)
185 impl::timer::set_fired(void)
196 timer(seconds),