Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Timer Class Reference

#include "OVR_Timer.h"

Collaboration diagram for OVR::Timer:
Collaboration graph

Public Types

enum  { MsPerSecond = 1000, NanosPerSecond = MsPerSecond * 1000 * 1000, MksPerSecond = MsPerSecond * 1000 }
 

Static Public Member Functions

static double OVR_STDCALL GetSeconds ()
 
static UInt64 OVR_STDCALL GetTicksNanos ()
 
static UInt32 OVR_STDCALL GetTicksMs ()
 
static void SetFakeSeconds (double fakeSeconds)
 

Static Private Member Functions

static void initializeTimerSystem ()
 
static void shutdownTimerSystem ()
 

Static Private Attributes

static double FakeSeconds = 0
 
static bool useFakeSeconds = false
 

Friends

class System
 

Detailed Description

Definition at line 41 of file OVR_Timer.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MsPerSecond 
NanosPerSecond 
MksPerSecond 

Definition at line 44 of file OVR_Timer.h.

Member Function Documentation

double OVR::Timer::GetSeconds ( )
static

Definition at line 51 of file OVR_Timer.cpp.

static UInt32 OVR_STDCALL OVR::Timer::GetTicksMs ( )
inlinestatic

Definition at line 64 of file OVR_Timer.h.

UInt64 OVR::Timer::GetTicksNanos ( )
static

Definition at line 263 of file OVR_Timer.cpp.

void OVR::Timer::initializeTimerSystem ( )
staticprivate

Definition at line 63 of file OVR_Timer.cpp.

static void OVR::Timer::SetFakeSeconds ( double  fakeSeconds)
inlinestatic

Definition at line 68 of file OVR_Timer.h.

void OVR::Timer::shutdownTimerSystem ( )
staticprivate

Definition at line 66 of file OVR_Timer.cpp.

Friends And Related Function Documentation

friend class System
friend

Definition at line 75 of file OVR_Timer.h.

Field Documentation

double OVR::Timer::FakeSeconds = 0
staticprivate

Definition at line 81 of file OVR_Timer.h.

bool OVR::Timer::useFakeSeconds = false
staticprivate

Definition at line 82 of file OVR_Timer.h.


The documentation for this class was generated from the following files: