Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::WallClock Class Reference

A clock whose reference time is the system time. More...

#include <PhxClock.h>

Inheritance diagram for Phx::WallClock:

Phx::Clock Phx::NamedInterface Phx::LockedPtrInterface< NamedInterface > List of all members.

Static Public Attributes

static const NamedInterface::Type INTERFACE_TYPE
static const String INTERFACE_TYPE_NAME

Detailed Description

A clock whose reference time is the system time.

In effect, the time kept by this clock is just the system wall-clock time. However, it also responds correctly to changes in time (via time(double)) as well as changes in the rate of the clock. Setting rate() != 1 will result in a "wall clock" entity whose reported time proceeds at twice the rate of the system time. This is "simulation wall clock" time -- not true wall-clock time as reported by a low level timer. As such, the reported time advances in discrete steps and is constant for the duration of a frame.


The documentation for this class was generated from the following file:
Generated on Wed Dec 21 22:05:38 2005 for Phoenix OSFS by  doxygen 1.4.2