Public Types | Static Public Member Functions

Tiny2D::Time Class Reference

Time related functionality. More...

#include <Tiny2D.h>

List of all members.

Public Types

typedef unsigned long long int Ticks
 Time represented in device/system specific 'ticks'; ticks can be subtracted or added together.

Static Public Member Functions

static Ticks GetTicks ()
 Gets current time in ticks.
static float TicksToSeconds (Ticks ticks)
 Converts ticks to seconds.
static Ticks SecondsToTicks (float seconds)
 Converts seconds to ticks.
static float SecondsSince (Ticks ticks)
 Gets seconds since given ticks.

Detailed Description

Time related functionality.


Member Typedef Documentation

typedef unsigned long long int Tiny2D::Time::Ticks

Time represented in device/system specific 'ticks'; ticks can be subtracted or added together.


Member Function Documentation

static Ticks Tiny2D::Time::GetTicks (  ) [static]

Gets current time in ticks.

static float Tiny2D::Time::SecondsSince ( Ticks  ticks ) [static]

Gets seconds since given ticks.

static Ticks Tiny2D::Time::SecondsToTicks ( float  seconds ) [static]

Converts seconds to ticks.

static float Tiny2D::Time::TicksToSeconds ( Ticks  ticks ) [static]

Converts ticks to seconds.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines