FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime FBTime
FBTime FBTime FBTime FBTime FBTime FBTime FBTime
|
Public Member Functions
|
|
FBTime
(int pHour, int pMinute, int pSecond=0, int pFrame=0, int pField=0,
FBTimeMode
pTimeMode=kFBTimeModeDefault, double pFramerate=0.0) |
|
Constructor.
|
FBString |
GetTimeString
() |
|
Get time as a string.
|
void |
SetTimeString
(char *pTime) |
|
Set time from string.
|
bool |
GetTime
(kLongLong &pHour, kLongLong &pMinute, kLongLong
&pSecond, kLongLong &pFrame, kLongLong &pField,
kLongLong &pMilliSecond, FBTimeMode
pTimeMode=kFBTimeModeDefault, double pFramerate=0.0) |
|
Get time (filling separate values).
|
kLongLong |
GetMilliSeconds
() |
|
Get milliseconds for time.
|
void |
SetMilliSeconds
(kLongLong pMilliSeconds) |
|
Set milliseconds time.
|
kLongLong & |
Get
() |
|
Get time value (long).
|
const kLongLong & |
Get ()
const |
|
Get time value (long).
|
void |
Set
(kLongLong pTime) |
|
Set time value from a long.
|
double |
GetSecondDouble
() |
|
Get seconds as double.
|
void |
SetSecondDouble
(double pTime) |
|
Set seconds from double.
|
void |
SetTime
(int pHour, int pMinute=0, int pSecond=0, int pFrame=0, int
pField=0, FBTimeMode
pTimeMode=kFBTimeModeDefault, double pFramerate=0.0) |
|
Set time (from separate values).
|
kLongLong |
GetFrame
(bool pCummul=false, FBTimeMode
pTimeMode=kFBTimeModeDefault, double pFramerate=0.0) |
|
Get the frame count.
|
|
FBTime
& |
operator=
(const FBTime
&pTime) |
|
Overloaded assignment operators with
FBTime objects.
|
FBTime
& |
operator+=
(const FBTime
&pTime) |
|
Overloaded assignment operators with
FBTime objects.
|
FBTime
& |
operator-=
(const FBTime
&pTime) |
|
Overloaded assignment operators with
FBTime objects.
|
FBTime
& |
operator
*= (const FBTime
&pTime) |
|
Overloaded assignment operators with
FBTime objects.
|
FBTime
& |
operator/=
(const FBTime
&pTime) |
|
Overloaded assignment operators with
FBTime objects.
|
|
FBTime
& |
operator=
(double pConstant) |
|
Overloaded assignment operators with
constants.
|
FBTime
& |
operator+=
(double pConstant) |
|
Overloaded assignment operators with
constants.
|
FBTime
& |
operator-=
(double pConstant) |
|
Overloaded assignment operators with
constants.
|
FBTime
& |
operator
*= (double pConstant) |
|
Overloaded assignment operators with
constants.
|
FBTime
& |
operator/=
(double pConstant) |
|
Overloaded assignment operators with
constants.
|
|
FBTime |
operator-
(const FBTime
&pTime) |
|
Overloaded arithmetic operators with
FBTime objects.
|
FBTime |
operator+
(const FBTime
&pTime) |
|
Overloaded arithmetic operators with
FBTime objects.
|
FBTime |
operator/
(const FBTime
&pTime) |
|
Overloaded arithmetic operators with
FBTime objects.
|
FBTime |
operator
* (const FBTime
&pTime) |
|
Overloaded arithmetic operators with
FBTime objects.
|
|
FBTime |
operator-
(double pConstant) |
|
Overloaded arithmetic operators with
constants.
|
FBTime |
operator+
(double pConstant) |
|
Overloaded arithmetic operators with
constants.
|
FBTime |
operator/
(double pConstant) |
|
Overloaded arithmetic operators with
constants.
|
FBTime |
operator
* (double pConstant) |
|
Overloaded arithmetic operators with
constants.
|
|
bool |
operator==
(const FBTime
&pTime) |
|
Overloaded comparison operators.
|
bool |
operator!=
(const FBTime
&pTime) |
|
Overloaded comparison operators.
|
bool |
operator>=
(const FBTime
&pTime) |
|
Overloaded comparison operators.
|
bool |
operator<=
(const FBTime
&pTime) |
|
Overloaded comparison operators.
|
bool |
operator>
(const FBTime
&pTime) |
|
Overloaded comparison operators.
|
bool |
operator<
(const FBTime
&pTime) |
|
Overloaded comparison operators.
|
Static Public Attributes
|
static const FBTime |
Infinity |
|
Time constant: Infinity, the largest time
value.
|
static const FBTime |
MinusInfinity |
|
Time constant: Minus Infinity, the lowest
negative time value.
|
static const FBTime |
Zero |
|
Time constant: Zero.
|
static const FBTime |
Epsilon |
|
Time constant: Epsilon, the smallest time
increment.
|
static const FBTime |
OneSecond |
|
Time constant: One Second.
|
static const FBTime |
OneMinute |
|
Time constant: One Minute.
|
static const FBTime |
OneHour |
|
Time constant: One Hour.
|