#include <Timer.h>
Public Member Functions | |
| SimpleTimer (SimpleTimerCallback &callback, size_t identifier) | |
| virtual | ~SimpleTimer () |
| void | set (size_t timeout) |
| void | remove () |
Protected Member Functions | |
| void | run () |
Definition at line 83 of file Timer.h.
| ibrcommon::SimpleTimer::SimpleTimer | ( | SimpleTimerCallback & | callback, | |
| size_t | identifier | |||
| ) |
| void ibrcommon::SimpleTimer::remove | ( | ) |
Definition at line 116 of file Timer.cpp.
References ibrcommon::JoinableThread::join(), and ibrcommon::Conditional::signal().
Referenced by dtn::daemon::StatisticLogger::componentDown().
| void ibrcommon::SimpleTimer::run | ( | ) | [protected, virtual] |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 126 of file Timer.cpp.
References ibrcommon::SimpleTimerCallback::timeout(), and ibrcommon::Conditional::wait().
| void ibrcommon::SimpleTimer::set | ( | size_t | timeout | ) |
Definition at line 110 of file Timer.cpp.
Referenced by dtn::daemon::StatisticLogger::componentUp().
1.6.3