Lines Matching refs:timer

57 class delayed_inserter : public signals::timer {
80 signals::timer(delta), _destination(destination), _item(item) in delayed_inserter()
97 wait_timers(const std::vector< signals::timer* >& timers) in wait_timers()
102 for (std::vector< signals::timer* >::const_iterator in wait_timers()
104 const signals::timer* timer = *iter; in wait_timers() local
105 if (timer->fired()) in wait_timers()
127 signals::timer timer(datetime::delta(1, 0)); in ATF_TEST_CASE_BODY() local
128 ATF_REQUIRE(!timer.fired()); in ATF_TEST_CASE_BODY()
129 while (!timer.fired()) in ATF_TEST_CASE_BODY()
141 signals::timer timer(datetime::delta(0, 500000)); in ATF_TEST_CASE_BODY() local
142 ATF_REQUIRE(!timer.fired()); in ATF_TEST_CASE_BODY()
143 while (!timer.fired()) in ATF_TEST_CASE_BODY()
157 std::vector< signals::timer* > timers; in ATF_TEST_CASE_BODY()
183 std::vector< signals::timer* > timers; in ATF_TEST_CASE_BODY()
224 std::vector< signals::timer* > timers; in ATF_TEST_CASE_BODY()
265 std::vector< signals::timer* > timers; in ATF_TEST_CASE_BODY()
316 delayed_inserter* timer = new delayed_inserter( in ATF_TEST_CASE_BODY() local
322 timer->unprogram(); in ATF_TEST_CASE_BODY()
323 delete timer; in ATF_TEST_CASE_BODY()
367 signals::timer timer(datetime::delta(0, 500000)); in ATF_TEST_CASE_BODY() local
368 timer.unprogram(); in ATF_TEST_CASE_BODY()
370 ATF_REQUIRE(!timer.fired()); in ATF_TEST_CASE_BODY()
390 signals::timer timer(datetime::delta(0, 1)); in ATF_TEST_CASE_BODY() local
404 if (timer.fired()) in ATF_TEST_CASE_BODY()
406 timer.unprogram(); in ATF_TEST_CASE_BODY()