NAME

ACE_Countdown_Time - Keeps track of the amount of elapsed time.

SYNOPSIS

#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_; };

DESCRIPTION

This class has a side-effect on the max_wait_time -- every time the stop method is called the max_wait_time is updated.

Initialization and termination methods.

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_;

AUTHOR

Doug Schmidt schmidt@cs.wustl.edu, Jesper S. M|ller stophph@diku.dk, and a cast of thousands...

The ACE_Sched_Priority type should be used for platform-

independent thread and process priorities, by convention. int should be used for OS-specific priorities.

typedef for the _stat data structure

Giving unique ACE scoped names for some important

RTSignal-Related constants. Becuase sometimes, different platforms use different names for these constants.

LIBRARY

ace