Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Timer Class Reference

#include <bctimer.h>

List of all members.

Public Member Functions

 Timer ()
virtual ~Timer ()
int update ()
int64_t get_difference (struct timeval *result)
int64_t get_difference ()
int64_t get_scaled_difference (long denominator)

Static Public Member Functions

static int delay (long milliseconds)

Private Attributes

timeval current_time
timeval new_time
timeval delay_duration

Detailed Description

Definition at line 8 of file bctimer.h.

Constructor & Destructor Documentation

Timer::Timer  ) 

Definition at line 6 of file bctimer.C.

Timer::~Timer  )  [virtual]

Definition at line 10 of file bctimer.C.

Member Function Documentation

int Timer::delay long  milliseconds  )  [static]

Definition at line 58 of file bctimer.C.

int64_t Timer::get_difference  ) 

Definition at line 35 of file bctimer.C.

int64_t Timer::get_difference struct timeval *  result  ) 

Definition at line 20 of file bctimer.C.

int64_t Timer::get_scaled_difference long  denominator  ) 

Definition at line 51 of file bctimer.C.

int Timer::update  ) 

Definition at line 14 of file bctimer.C.

Member Data Documentation

struct timeval Timer::current_time [private]

Definition at line 26 of file bctimer.h.

struct timeval Timer::delay_duration [private]

Definition at line 28 of file bctimer.h.

struct timeval Timer::new_time [private]

Definition at line 27 of file bctimer.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4