Public Member Functions | Public Attributes

glut::fps_t Struct Reference

fps_t : handy object for frames-per-second calculations More...

#include <camera.h>

Collaboration diagram for glut::fps_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 fps_t (void) throw ()
 fps_t (const perf::time_t &startTime) throw ()
void init (const perf::time_t &startTime) throw ()
void tick (const perf::time_t &currTime) throw ()
float getFPS (void) const throw ()

Public Attributes

perf::time_t m_startTime
long m_frames
float m_fps

Detailed Description

fps_t : handy object for frames-per-second calculations

Definition at line 124 of file camera.h.


Constructor & Destructor Documentation

glut::fps_t::fps_t ( void   )  throw () [inline]

Definition at line 125 of file camera.h.

glut::fps_t::fps_t ( const perf::time_t startTime  )  throw () [inline]

Definition at line 126 of file camera.h.


Member Function Documentation

void glut::fps_t::init ( const perf::time_t startTime  )  throw () [inline]

Definition at line 127 of file camera.h.

void glut::fps_t::tick ( const perf::time_t currTime  )  throw () [inline]

Definition at line 132 of file camera.h.

float glut::fps_t::getFPS ( void   )  const throw () [inline]

Definition at line 144 of file camera.h.


Member Data Documentation

Definition at line 147 of file camera.h.

Definition at line 148 of file camera.h.

Definition at line 149 of file camera.h.


The documentation for this struct was generated from the following file: