NAME

ACE_PSOS_Time_t

SYNOPSIS

#include <ace/OS.h>

class ACE_PSOS_Time_t { public: ACE_PSOS_Time_t (); 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 (); 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_; };

PUBLIC MEMBERS

ACE_PSOS_Time_t ();

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 ();

static const u_long max_ticks;

PRIVATE MEMBERS

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

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.

LIBRARY

ace