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

#include <UT_Playback.h>

Public Types

enum  UT_PlaybackMode {
  REVERSE, STOPPED, FORWARD, SCRUB,
  RESET, FLIPBOOKING
}
 

Public Member Functions

 UT_Playback ()
 
void setPlaybackMode (UT_PlaybackMode mode)
 
UT_PlaybackMode getPlaybackMode () const
 
int getStopCount () const
 
void setRealtimeMode (bool mode)
 
bool getRealtimeMode () const
 
void setPlaybackRange (fpreal start, fpreal end)
 
void getPlaybackRange (fpreal &start, fpreal &end) const
 
bool isPlaybackReset ()
 
bool isPlaying () const
 
bool isScrubbing () const
 
void setCurrentFrame (fpreal frame)
 
fpreal getCurrentFrame ()
 
void resetAbsoluteFrame ()
 
unsigned long getAbsoluteFrame ()
 
void stopPlayback ()
 
void setStopCallback (void(*cb)(void *), void *data)
 
void setInterceptMode (int mode)
 
int getInterceptMode () const
 
void setEvalStartTime (fpreal eval_start_time)
 
fpreal getEvalStartTime () const
 
void addPlayCallback (UT_PlayCallback cb, void *cbdata)
 
void removePlayCallback (UT_PlayCallback cb, void *cbdata)
 
void addPlayAdvanceCB (UT_PlayAdvanceCB, void *cbdata)
 
void removePlayAdvanceCB (UT_PlayAdvanceCB, void *cbdata)
 
bool canAdvancePlay ()
 

Static Public Member Functions

static UT_PlaybackgetPlayback ()
 

Detailed Description

Definition at line 32 of file UT_Playback.h.

Member Enumeration Documentation

Enumerator
REVERSE 
STOPPED 
FORWARD 
SCRUB 
RESET 
FLIPBOOKING 

Definition at line 38 of file UT_Playback.h.

Constructor & Destructor Documentation

UT_Playback::UT_Playback ( )

Member Function Documentation

void UT_Playback::addPlayAdvanceCB ( UT_PlayAdvanceCB  ,
void cbdata 
)
void UT_Playback::addPlayCallback ( UT_PlayCallback  cb,
void cbdata 
)
bool UT_Playback::canAdvancePlay ( )
unsigned long UT_Playback::getAbsoluteFrame ( )
inline

Definition at line 77 of file UT_Playback.h.

fpreal UT_Playback::getCurrentFrame ( )
inline

Definition at line 74 of file UT_Playback.h.

fpreal UT_Playback::getEvalStartTime ( ) const
inline

Definition at line 87 of file UT_Playback.h.

int UT_Playback::getInterceptMode ( ) const
inline

Definition at line 84 of file UT_Playback.h.

static UT_Playback* UT_Playback::getPlayback ( )
static
UT_PlaybackMode UT_Playback::getPlaybackMode ( ) const
inline

Definition at line 50 of file UT_Playback.h.

void UT_Playback::getPlaybackRange ( fpreal start,
fpreal end 
) const
inline

Definition at line 65 of file UT_Playback.h.

bool UT_Playback::getRealtimeMode ( ) const
inline

Definition at line 59 of file UT_Playback.h.

int UT_Playback::getStopCount ( ) const
inline

Definition at line 53 of file UT_Playback.h.

bool UT_Playback::isPlaybackReset ( )
bool UT_Playback::isPlaying ( ) const
inline

Definition at line 69 of file UT_Playback.h.

bool UT_Playback::isScrubbing ( ) const
inline

Definition at line 71 of file UT_Playback.h.

void UT_Playback::removePlayAdvanceCB ( UT_PlayAdvanceCB  ,
void cbdata 
)
void UT_Playback::removePlayCallback ( UT_PlayCallback  cb,
void cbdata 
)
void UT_Playback::resetAbsoluteFrame ( )
void UT_Playback::setCurrentFrame ( fpreal  frame)
void UT_Playback::setEvalStartTime ( fpreal  eval_start_time)
inline

Definition at line 86 of file UT_Playback.h.

void UT_Playback::setInterceptMode ( int  mode)
inline

Definition at line 83 of file UT_Playback.h.

void UT_Playback::setPlaybackMode ( UT_PlaybackMode  mode)
void UT_Playback::setPlaybackRange ( fpreal  start,
fpreal  end 
)
inline

Definition at line 62 of file UT_Playback.h.

void UT_Playback::setRealtimeMode ( bool  mode)
inline

Definition at line 56 of file UT_Playback.h.

void UT_Playback::setStopCallback ( void(*)(void *)  cb,
void data 
)
void UT_Playback::stopPlayback ( )

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