sge::time::timer Class Reference

#include <timer.hpp>

List of all members.

Public Types

typedef space_unit frames_type
typedef unit interval_type

Public Member Functions

SGE_SYMBOL timer (fun const &=default_time_fun())
SGE_SYMBOL timer (resolution const &interval, bool active=true, fun const &=default_time_fun())
SGE_SYMBOL frames_type update ()
SGE_SYMBOL bool update_b ()
SGE_SYMBOL frames_type elapsed_frames () const
SGE_SYMBOL frames_type reset ()
SGE_SYMBOL bool expired () const
SGE_SYMBOL interval_type interval () const
SGE_SYMBOL interval_type last_time () const
SGE_SYMBOL void interval (resolution const &)
SGE_SYMBOL void activate ()
SGE_SYMBOL void deactivate ()
SGE_SYMBOL bool active () const


Member Typedef Documentation


Constructor & Destructor Documentation

sge::time::timer::timer ( fun const &  fun_ = default_time_fun()  )  [explicit]

sge::time::timer::timer ( resolution const &  interval,
bool  active = true,
fun const &  fun_ = default_time_fun() 
) [explicit]


Member Function Documentation

sge::time::timer::frames_type sge::time::timer::update (  ) 

bool sge::time::timer::update_b (  ) 

sge::time::timer::frames_type sge::time::timer::elapsed_frames (  )  const

sge::time::timer::frames_type sge::time::timer::reset (  ) 

bool sge::time::timer::expired (  )  const

sge::time::timer::interval_type sge::time::timer::interval (  )  const

sge::time::timer::interval_type sge::time::timer::last_time (  )  const

void sge::time::timer::interval ( resolution const &  i  ) 

void sge::time::timer::activate (  ) 

void sge::time::timer::deactivate (  ) 

bool sge::time::timer::active (  )  const


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

Generated on Wed Sep 10 22:17:57 2008 for sge by  doxygen 1.5.5