Main Page   Class Hierarchy   Compound List   File List   Compound Members  

freecloth::BaTime Class Reference

Basic measurement of time. More...

#include <freecloth/base/baTime.h>

List of all members.

Public Types

typedef Int32 Duration
 A period of time.

typedef UInt32 Instant
 A single point in time.

enum  { MS = 1, S = 1000, MIN = S * 60 }

Static Public Methods

Instant getTime ()
 Retrieve the current time.

Duration getDuration (Instant start, Instant end)
 Calculate the elapsed time between two instants.

Float instantAsSeconds (Instant)
 Return a floating point value representing the given instant as a number, measured in seconds.

Float durationAsSeconds (Duration)
 Return a floating point value representing the given duration as a number, measured in seconds.

Instant floatAsInstant (Float)
Duration floatAsDuration (Float)


Detailed Description

Basic measurement of time.

Defines instants and durations, and methods for retrieving the current time and measuring durations.

Definition at line 40 of file baTime.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 13:04:26 2003 for Freecloth by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002