class Timer


Public Methods

[more] Timer()
Constructors / Destructors
[more] ~Timer()
[more]void reset()
[more]double get_RT()
set t0 to current time
[more]void sleep(double ts)
get time elapsed since reset.
[more]double get_delta() const
-------------------------------
[more]double get_t() const
[more]void update()
[more]void delay(int ms)
[more]void FPScontrol(int fps)

Private Fields

[more]struct timeval t1 t2
-------------------------------
[more]struct timeval t0 t_real
[more]double dt
[more]double t


Documentation

o Timer()
Constructors / Destructors

o ~Timer()

ovoid reset()

odouble get_RT()
set t0 to current time

ovoid sleep(double ts)
get time elapsed since reset. żin seconds ?---> test

odouble get_delta() const
-------------------------------

odouble get_t() const

ovoid update()

ovoid delay(int ms)

ovoid FPScontrol(int fps)

ostruct timeval t1 t2
-------------------------------

ostruct timeval t0 t_real

odouble dt

odouble t


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.