Public Member Functions | Static Public Attributes

FBTimeCode Class Reference

Search for all occurrences

Detailed Description

TimeCode data structure.

Definition at line 263 of file fbtime.h.

#include <fbtime.h>

List of all members.

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

Constructor & Destructor Documentation

FBTimeCode ( int  pHour,
int  pMinute = 0,
int  pSecond = 0,
float  pFrame = 0,
float  pRate = 0 
)

Constructor.

Parameters:
pHour Hour value.
pMinute Minute value.
pSecond Second value.
pFrame Frame value.
pRate Framerate value.

Member Function Documentation

FBString GetTimeCodeString ( )

Get time as a string.

Returns:
String value of time.
void SetTimeCodeString ( char *  pTime )

Set time from string.

Parameters:
pTime String to set time from.
FBTime GetTime ( ) const

Return a Time corresponding to the timecode.

void SetTime ( FBTime  pTime,
float  pFrameRate = 0 
)

Set TimeCode according to the given time.

Parameters:
pTime Time value to set.
pFrameRate Rate use in the pTime see Rates.

Member Data Documentation

const float NTSC_DROP [static]

Rates.

Definition at line 305 of file fbtime.h.

const float NTSC_FULL [static]

Definition at line 306 of file fbtime.h.

const float PAL25 [static]

Definition at line 307 of file fbtime.h.

const float MPAL_30 [static]

Definition at line 308 of file fbtime.h.

const float FILM_24 [static]

Definition at line 309 of file fbtime.h.

const float FILM_23976 [static]

Definition at line 310 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