#include <ace/OS.h>
class ACE_PSOS_Time_t {
public:
ACE_PSOS_Time_t (void);
ACE_PSOS_Time_t (const timespec_t& t);
operator timespec_t ();
static u_long get_system_time (ACE_PSOS_Time_t& t);
static u_long set_system_time (const ACE_PSOS_Time_t& t);
static u_long init_simulator_time (void);
static const u_long max_ticks;
private:
static const u_long year_mask;
static const u_long month_mask;
static const u_long day_mask;
static const u_long hour_mask;
static const u_long minute_mask;
static const u_long second_mask;
static const int year_shift;
static const int month_shift;
static const int hour_shift;
static const int minute_shift;
static const int year_origin;
static const int month_origin;
static const u_long err_notime;
static const u_long err_illdate;
static const u_long err_illtime;
static const u_long err_illticks;
u_long date_;
u_long time_;
u_long ticks_;
};
static const u_long year_mask;
static const u_long month_mask;
static const u_long day_mask;
static const u_long hour_mask;
static const u_long minute_mask;
static const u_long second_mask;
static const int year_shift;
static const int month_shift;
static const int hour_shift;
static const int minute_shift;
static const int year_origin;
static const int month_origin;
error codes
static const u_long err_notime;
static const u_long err_illdate;
static const u_long err_illtime;
static const u_long err_illticks;
u_long date_;
u_long time_;
u_long ticks_;
schmidt@cs.wustl.edu
, Jesper S. M|ller
stophph@diku.dk
, and a cast of thousands...