zenilib
0.5.3.0
|
A Snapshot of the Timer_HQ. More...
#include <Timer_HQ.h>
Public Types | |
typedef long double | Second_Type |
typedef HQ_Tick_Type | Tick_Type |
Public Member Functions | |
Time_HQ () | |
Initialize to the current time. More... | |
Time_HQ (const HQ_Tick_Type &ticks) | |
Time_HQ (const HQ_Tick_Type &ticks, const HQ_Tick_Type &ticks_per_second) | |
long double | get_seconds_passed () const |
Get the number of seconds passed since this Time. More... | |
long double | get_seconds_since (const Time_HQ &time) const |
Get the number of seconds passed between 'time' and this Time. More... | |
HQ_Tick_Type | get_ticks_passed () const |
Get the number of clock ticks passed since this Time. More... | |
HQ_Tick_Type | get_ticks_since (const Time_HQ &time) const |
Get the number of clock ticks passed between 'time' and this Time. More... | |
bool | operator< (const Time_HQ &rhs) const |
Time_HQ & | operator= (const HQ_Tick_Type &ticks) |
void | update () |
Update to current Time. More... | |
A Snapshot of the Timer_HQ.
Contact: bazal d@ze nipex .com
Definition at line 79 of file Timer_HQ.h.
typedef long double Zeni::Time_HQ::Second_Type |
Definition at line 82 of file Timer_HQ.h.
typedef HQ_Tick_Type Zeni::Time_HQ::Tick_Type |
Definition at line 81 of file Timer_HQ.h.
Zeni::Time_HQ::Time_HQ | ( | ) |
Initialize to the current time.
Definition at line 96 of file Timer_HQ.cpp.
Zeni::Time_HQ::Time_HQ | ( | const HQ_Tick_Type & | ticks | ) |
Definition at line 84 of file Timer_HQ.cpp.
Zeni::Time_HQ::Time_HQ | ( | const HQ_Tick_Type & | ticks, |
const HQ_Tick_Type & | ticks_per_second | ||
) |
Definition at line 90 of file Timer_HQ.cpp.
|
inline |
Get the number of seconds passed since this Time.
Definition at line 35 of file Timer_HQ.hxx.
References get_ticks_passed().
Get the number of seconds passed between 'time' and this Time.
Definition at line 43 of file Timer_HQ.hxx.
References get_ticks_since().
Referenced by Zeni::Sound_Source::get_time().
|
inline |
Get the number of clock ticks passed since this Time.
Definition at line 31 of file Timer_HQ.hxx.
References Zeni::Timer_HQ::get_ticks(), and Zeni::get_Timer_HQ().
Referenced by get_seconds_passed().
|
inline |
Get the number of clock ticks passed between 'time' and this Time.
Definition at line 39 of file Timer_HQ.hxx.
Referenced by get_seconds_since().
Definition at line 90 of file Timer_HQ.hxx.
|
inline |
Definition at line 25 of file Timer_HQ.hxx.
References Zeni::Timer_HQ::get_ticks_per_second(), and Zeni::get_Timer_HQ().
|
inline |
Update to current Time.
Definition at line 47 of file Timer_HQ.hxx.
References Zeni::Timer_HQ::get_ticks(), and Zeni::get_Timer_HQ().
Referenced by Zeni::Sound_Source::pause(), Zeni::Sound_Source::play(), and Zeni::Sound_Source::set_time().