#include <HashTime.h>
Public Types | |
enum | { TICKSPERSECOND = 135000 } |
enum | TimeType { TT_MINSTEP, TT_MAX } |
Public Member Functions | |
Time () | |
Time (double seconds) | |
Time (double frame, double fps) | |
Time (TimeType rt) | |
Time & | operator= (const double seconds) |
Time & | operator= (Time other) |
BOOL | operator== (Time other) const |
BOOL | operator!= (Time other) const |
BOOL | operator> (Time other) const |
BOOL | operator< (Time other) const |
BOOL | operator>= (Time other) const |
BOOL | operator<= (Time other) const |
Time | operator+ (Time other) const |
Time | operator- (Time other) const |
Time | operator * (Time other) const |
Time | operator * (double n) const |
float | operator/ (Time other) const |
Time | operator/ (double n) const |
Time | operator% (Time other) const |
void | operator+= (Time other) |
void | operator-= (Time other) |
void | operator *= (Time other) |
void | operator *= (double n) |
void | operator/= (Time other) |
void | operator/= (double n) |
Time | operator- () const |
float | GetSeconds () const |
double | GetSecondsDouble () const |
void | SetSeconds (double seconds) |
long | GetTicks () const |
void | SetTicks (long ticks) |
BOOL | IsZero () const |
float | GetFrame (double fps) const |
int | GetFrameInt (double fps) const |
void | SetFrame (double frame, double fps) |
void | StepFrame (double fps) |
void | StepFrames (double frames, double fps) |
void | SnapToFrame (double fps) |
void | FloorToFrame (double fps) |
void | CeilToFrame (double fps) |
float | GetCell (double fps) const |
void | SetCell (double cell, double fps) |
String | ToString (double fps, int timeunits, BOOL treatasdelta=FALSE) const |
void | SetTagged (BOOL state=TRUE) |
BOOL | IsTagged () |
void | SetMax () |
void | SetMin () |
void | SetMinStep () |
BOOL | IsMax () |
BOOL | IsMin () |
BOOL | IsMinStep () |
Private Attributes | |
long | m_ticks |
Friends | |
Time | operator * (double n, Time right) |
Definition at line 21 of file HashTime.h.
|
Definition at line 26 of file HashTime.h. |
|
Definition at line 27 of file HashTime.h. |
|
Definition at line 29 of file HashTime.h. |
|
Definition at line 34 of file HashTime.h. |
|
Definition at line 39 of file HashTime.h. |
|
Definition at line 44 of file HashTime.h. |
|
Definition at line 256 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 250 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 264 of file HashTime.h. |
|
Definition at line 218 of file HashTime.h. |
|
Definition at line 223 of file HashTime.h. |
|
Definition at line 188 of file HashTime.h. |
|
Definition at line 193 of file HashTime.h. |
|
Definition at line 203 of file HashTime.h. Referenced by abs(). |
|
Definition at line 303 of file HashTime.h. References MAX_TICKS. |
|
Definition at line 308 of file HashTime.h. References MAX_TICKS. |
|
Definition at line 313 of file HashTime.h. |
|
Definition at line 283 of file HashTime.h. |
|
Definition at line 213 of file HashTime.h. |
|
Definition at line 119 of file HashTime.h. References m_ticks, and RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 112 of file HashTime.h. References m_ticks. |
|
Definition at line 161 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 156 of file HashTime.h. References m_ticks. |
|
Definition at line 73 of file HashTime.h. References m_ticks. |
|
Definition at line 138 of file HashTime.h. References m_ticks. |
|
Definition at line 98 of file HashTime.h. References m_ticks. |
|
Definition at line 146 of file HashTime.h. References m_ticks. |
|
Definition at line 176 of file HashTime.h. References m_ticks. |
|
Definition at line 105 of file HashTime.h. References m_ticks. |
|
Definition at line 151 of file HashTime.h. References m_ticks. |
|
Definition at line 131 of file HashTime.h. References m_ticks, and RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 126 of file HashTime.h. References m_ticks. |
|
Definition at line 171 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 166 of file HashTime.h. References m_ticks. |
|
Definition at line 83 of file HashTime.h. References m_ticks. |
|
Definition at line 93 of file HashTime.h. References m_ticks. |
|
Definition at line 62 of file HashTime.h. References m_ticks. |
|
Definition at line 56 of file HashTime.h. |
|
Definition at line 68 of file HashTime.h. References m_ticks. |
|
Definition at line 78 of file HashTime.h. References m_ticks. |
|
Definition at line 88 of file HashTime.h. References m_ticks. |
|
Definition at line 269 of file HashTime.h. |
|
Definition at line 228 of file HashTime.h. |
|
Definition at line 288 of file HashTime.h. References MAX_TICKS. |
|
Definition at line 293 of file HashTime.h. References MAX_TICKS. |
|
Definition at line 298 of file HashTime.h. |
|
Definition at line 198 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 278 of file HashTime.h. |
|
Definition at line 208 of file HashTime.h. Referenced by abs(). |
|
Definition at line 243 of file HashTime.h. References RoundValue(), and SIGN. Here is the call graph for this function: ![]() |
|
Definition at line 233 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
Definition at line 238 of file HashTime.h. References RoundValue(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 319 of file HashTime.h. |
|
Definition at line 23 of file HashTime.h. Referenced by operator *(), operator *=(), operator!=(), operator%(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=(). |
Generated on Thu Oct 27 11:47:03 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001