libvisual  0.5.0
Public Member Functions | List of all members
LV::Timer Class Reference

Public Member Functions

 Timer ()
 Creates a new Timer.
 
 Timer (Timer const &timer)
 Copy constructor.
 
 Timer (Timer &&rhs)
 Move constructor.
 
 ~Timer ()
 Destructor.
 
Timeroperator= (Timer const &rhs)
 Copy assignment operator.
 
Timeroperator= (Timer &&rhs)
 Move assignment operator.
 
bool is_active () const
 Checks if the timer is active.
 
void reset ()
 Resets the timer.
 
void start ()
 Starts the timer.
 
void stop ()
 Stops the timer.
 
Time get_start_time () const
 
Time get_end_time () const
 
Time elapsed () const
 Returns the length of time since the timer was started.
 
bool is_past (Time const &age) const
 

Detailed Description

Definition at line 160 of file lv_time.h.


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