Detailed Description
TimeCode data structure.
Definition at line 280 of file fbtime.h.
#include <fbtime.h>
List of all members.
Constructor & Destructor Documentation
Member Function Documentation
void SetTimeCode |
( |
int |
pHour, |
|
|
int |
pMinute = 0 , |
|
|
int |
pSecond = 0 , |
|
|
float |
pFrame = 0 |
|
) |
| |
Set timecode.
- Parameters:
-
pHour | Hour value. |
pMinute | Minute value. |
pSecond | Second value. |
pFrame | Frame value. |
Get time as a string.
- Parameters:
-
pFormat | Format to use for the returned string(default=FBTime::eDefaultFormat). |
- Returns:
- String value of time.
void SetTimeCodeString |
( |
const char * |
pTime | ) |
|
Set time from string.
- Parameters:
-
pTime | String to set time from. |
Return a Time corresponding to the timecode.
Set TimeCode according to the given time.
- Parameters:
-
double GetFrame |
( |
| ) |
const |
Return a frame number corresponding to the timecode.
void SetFrame |
( |
double |
pFrame | ) |
|
Set Frame according to the given time.
- Parameters:
-
pFrame | Frame value to set. |
float GetFrameRate |
( |
| ) |
const |
Return the rate of the timecode.
double GetRawSecond |
( |
| ) |
const |
Get the raw value for the second.
- Returns:
- raw value for the second.
double GetRawFrame |
( |
| ) |
const |
Get the raw value for the frame.
- Returns:
- raw value for the frame.
double GetRawRate |
( |
| ) |
const |
Get the raw value for the rate.
- Returns:
- raw value for the rate.
bool operator== |
( |
const FBTimeCode & |
pTimeCode | ) |
const |
Equality operator.
- Parameters:
-
pTimeCode | time code to compare with. |
- Returns:
- true if time codes are equal.
bool operator!= |
( |
const FBTimeCode & |
pTimeCode | ) |
const |
Inequality operator.
- Parameters:
-
pTimeCode | time code to compare with. |
- Returns:
- true if time codes are not equal.
Member Data Documentation
-29.971f Currently not supported : "1" is added just to differentiate from NTSC_FULL(-29.97f)
Definition at line 366 of file fbtime.h.
The documentation for this class was generated from the following file:
FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode
FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode FBTimeCode