orxonox::Clock Class Reference

#include <src/core/Clock.h>

List of all members.

Public Member Functions

void capture ()
 Clock ()
float getDeltaTime () const
long getDeltaTimeMicroseconds () const
unsigned long long getMicroseconds () const
unsigned long long getMilliseconds () const
unsigned long long getRealMicroseconds () const
unsigned long getSeconds () const
float getSecondsPrecise () const
 ~Clock ()

Private Member Functions

 Clock (const Clock &instance)

Private Attributes

unsigned long lastTimersTime_
unsigned long long storedTime_
long tickDt_
float tickDtFloat_
unsigned long long tickTime_
Ogre::Timer * timer_


Constructor & Destructor Documentation

orxonox::Clock::Clock (  ) 

orxonox::Clock::~Clock (  ) 

References timer_.

orxonox::Clock::Clock ( const Clock instance  )  [private]


Member Function Documentation

void orxonox::Clock::capture (  ) 

float orxonox::Clock::getDeltaTime (  )  const [inline]

long orxonox::Clock::getDeltaTimeMicroseconds (  )  const [inline]

unsigned long long orxonox::Clock::getMicroseconds (  )  const [inline]

unsigned long long orxonox::Clock::getMilliseconds (  )  const [inline]

unsigned long long orxonox::Clock::getRealMicroseconds (  )  const

unsigned long orxonox::Clock::getSeconds (  )  const [inline]

float orxonox::Clock::getSecondsPrecise (  )  const [inline]


Member Data Documentation

unsigned long orxonox::Clock::lastTimersTime_ [private]

Referenced by capture().

unsigned long long orxonox::Clock::storedTime_ [private]

Referenced by capture(), and getRealMicroseconds().

long orxonox::Clock::tickDt_ [private]

Referenced by capture().

Referenced by capture().

unsigned long long orxonox::Clock::tickTime_ [private]

Referenced by capture().

Ogre::Timer* orxonox::Clock::timer_ [private]


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

Generated on Tue Jul 28 16:22:23 2009 for Orxonox by  doxygen 1.5.6