#include <fbtime.h>
Public Member Functions |
|
FBTimeCode () | |
FBTimeCode (int pHour, int pMinute=0, int pSecond=0, float pFrame=0, float pRate=0) | |
Constructor. |
|
FBString | GetTimeCodeString () |
Get time as a string. |
|
void | SetTimeCodeString (char *pTime) |
Set time from string. |
|
FBTime | GetTime () const |
Return a Time corresponding to the timecode.
|
|
void | SetTime (FBTime pTime, float pFrameRate=0) |
Set TimeCode according to the given time.
|
|
Static Public Attributes |
|
static const float | NTSC_DROP |
Rates. |
|
static const float | NTSC_FULL |
static const float | PAL25 |
static const float | MPAL_30 |
static const float | FILM_24 |
static const float | FILM_23976 |
FBTimeCode | ( | ) |
FBTimeCode | ( | int | pHour, |
int | pMinute = 0 , |
||
int | pSecond = 0 , |
||
float | pFrame = 0 , |
||
float | pRate = 0 |
||
) |
Constructor.
pHour | Hour value. |
pMinute | Minute value. |
pSecond | Second value. |
pFrame | Frame value. |
pRate | Framerate value. |
FBString GetTimeCodeString | ( | ) |
void SetTimeCodeString | ( | char * | pTime | ) |
FBTime GetTime | ( | ) | const |
Return a Time corresponding to the timecode.
void SetTime | ( | FBTime | pTime, |
float | pFrameRate =
0 |
||
) |
Set TimeCode according to the given time.
pTime | Time value to set. |
pFrameRate | Rate use in the pTime see Rates. |
const float NTSC_DROP
[static] |
const float NTSC_FULL
[static] |
const float PAL25
[static] |
const float MPAL_30
[static] |
const float FILM_24
[static] |
const float FILM_23976
[static] |