HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TimeCode Class Reference

#include <ImfTimeCode.h>

Public Types

enum  Packing { TV60_PACKING, TV50_PACKING, FILM24_PACKING }
 

Public Member Functions

 TimeCode ()
 
 TimeCode (int hours, int minutes, int seconds, int frame, bool dropFrame=false, bool colorFrame=false, bool fieldPhase=false, bool bgf0=false, bool bgf1=false, bool bgf2=false, int binaryGroup1=0, int binaryGroup2=0, int binaryGroup3=0, int binaryGroup4=0, int binaryGroup5=0, int binaryGroup6=0, int binaryGroup7=0, int binaryGroup8=0)
 
 TimeCode (unsigned int timeAndFlags, unsigned int userData=0, Packing packing=TV60_PACKING)
 
 TimeCode (const TimeCode &other)
 
TimeCodeoperator= (const TimeCode &other)
 
int hours () const
 
void setHours (int value)
 
int minutes () const
 
void setMinutes (int value)
 
int seconds () const
 
void setSeconds (int value)
 
int frame () const
 
void setFrame (int value)
 
bool dropFrame () const
 
void setDropFrame (bool value)
 
bool colorFrame () const
 
void setColorFrame (bool value)
 
bool fieldPhase () const
 
void setFieldPhase (bool value)
 
bool bgf0 () const
 
void setBgf0 (bool value)
 
bool bgf1 () const
 
void setBgf1 (bool value)
 
bool bgf2 () const
 
void setBgf2 (bool value)
 
int binaryGroup (int group) const
 
void setBinaryGroup (int group, int value)
 
unsigned int timeAndFlags (Packing packing=TV60_PACKING) const
 
void setTimeAndFlags (unsigned int value, Packing packing=TV60_PACKING)
 
unsigned int userData () const
 
void setUserData (unsigned int value)
 
bool operator== (const TimeCode &v) const
 
bool operator!= (const TimeCode &v) const
 

Detailed Description

Definition at line 119 of file ImfTimeCode.h.

Member Enumeration Documentation

Enumerator
TV60_PACKING 
TV50_PACKING 
FILM24_PACKING 

Definition at line 127 of file ImfTimeCode.h.

Constructor & Destructor Documentation

TimeCode::TimeCode ( )
TimeCode::TimeCode ( int  hours,
int  minutes,
int  seconds,
int  frame,
bool  dropFrame = false,
bool  colorFrame = false,
bool  fieldPhase = false,
bool  bgf0 = false,
bool  bgf1 = false,
bool  bgf2 = false,
int  binaryGroup1 = 0,
int  binaryGroup2 = 0,
int  binaryGroup3 = 0,
int  binaryGroup4 = 0,
int  binaryGroup5 = 0,
int  binaryGroup6 = 0,
int  binaryGroup7 = 0,
int  binaryGroup8 = 0 
)
TimeCode::TimeCode ( unsigned int  timeAndFlags,
unsigned int  userData = 0,
Packing  packing = TV60_PACKING 
)
TimeCode::TimeCode ( const TimeCode other)

Member Function Documentation

bool TimeCode::bgf0 ( ) const
bool TimeCode::bgf1 ( ) const
bool TimeCode::bgf2 ( ) const
int TimeCode::binaryGroup ( int  group) const
bool TimeCode::colorFrame ( ) const
bool TimeCode::dropFrame ( ) const
bool TimeCode::fieldPhase ( ) const
int TimeCode::frame ( ) const
int TimeCode::hours ( ) const
int TimeCode::minutes ( ) const
bool TimeCode::operator!= ( const TimeCode v) const
TimeCode& TimeCode::operator= ( const TimeCode other)
bool TimeCode::operator== ( const TimeCode v) const
int TimeCode::seconds ( ) const
void TimeCode::setBgf0 ( bool  value)
void TimeCode::setBgf1 ( bool  value)
void TimeCode::setBgf2 ( bool  value)
void TimeCode::setBinaryGroup ( int  group,
int  value 
)
void TimeCode::setColorFrame ( bool  value)
void TimeCode::setDropFrame ( bool  value)
void TimeCode::setFieldPhase ( bool  value)
void TimeCode::setFrame ( int  value)
void TimeCode::setHours ( int  value)
void TimeCode::setMinutes ( int  value)
void TimeCode::setSeconds ( int  value)
void TimeCode::setTimeAndFlags ( unsigned int  value,
Packing  packing = TV60_PACKING 
)
void TimeCode::setUserData ( unsigned int  value)
unsigned int TimeCode::timeAndFlags ( Packing  packing = TV60_PACKING) const
unsigned int TimeCode::userData ( ) const

The documentation for this class was generated from the following file: