14#ifndef TIMER_COUNTDOWN_H
15#define TIMER_COUNTDOWN_H
54 : m_maxWaitTime (
wt_), m_start (
TimeVal::gettimeofday ())
Class TimeVal is a wrapper around UNIX timeval structure.
A wrapper class to provide AutoPtr with reference semantics.
static TimeVal zeroTime()
Static that returns zero timeval: {0,0}.
static TimeVal gettimeofday()
Shields off underlying OS differences in getting current time.
TimeVal m_start
Time when countdown started.
TimerCountdown(TimeVal *wait_time_)
Constructor.
~TimerCountdown()
Destructor.
TimeVal * m_maxWaitTime
Maximum time to wait.