#include <ace/OS.h>
class ACE_Countdown_Time {
public:ACE_Countdown_Time (ACE_Time_Value *max_wait_time);~ACE_Countdown_Time (void);int start (void);int stop (void);int update (void);private:ACE_Time_Value *max_wait_time_;ACE_Time_Value start_time_;int stopped_;};
max_wait_time -- every
time the stop method is called the max_wait_time is
updated.
ACE_Countdown_Time (ACE_Time_Value *max_wait_time);
max_wait_time and call start.
~ACE_Countdown_Time (void);
stop.
int start (void);
int stop (void);
int update (void);
schmidt@cs.wustl.edu, Jesper S. M|ller
stophph@diku.dk, and a cast of thousands...