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

#include <UT_Playback.h>

Public Types

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

Public Member Functions

 UT_Playback ()
 
 ~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
 
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 addPlayCallback (UT_PlayCallback cb, void *cbdata)
 
void removePlayCallback (UT_PlayCallback cb, void *cbdata)
 

Static Public Member Functions

static UT_PlaybackgetPlayback ()
 

Detailed Description

Definition at line 29 of file UT_Playback.h.

Member Enumeration Documentation

Enumerator
REVERSE 
STOPPED 
FORWARD 
SCRUB 
RESET 

Definition at line 36 of file UT_Playback.h.

Constructor & Destructor Documentation

UT_Playback::UT_Playback ( )
UT_Playback::~UT_Playback ( )

Member Function Documentation

void UT_Playback::addPlayCallback ( UT_PlayCallback  cb,
void cbdata 
)
unsigned long UT_Playback::getAbsoluteFrame ( )
inline

Definition at line 72 of file UT_Playback.h.

fpreal UT_Playback::getCurrentFrame ( )
inline

Definition at line 69 of file UT_Playback.h.

int UT_Playback::getInterceptMode ( ) const
inline

Definition at line 79 of file UT_Playback.h.

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

Definition at line 46 of file UT_Playback.h.

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

Definition at line 61 of file UT_Playback.h.

bool UT_Playback::getRealtimeMode ( ) const
inline

Definition at line 55 of file UT_Playback.h.

int UT_Playback::getStopCount ( ) const
inline

Definition at line 49 of file UT_Playback.h.

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

Definition at line 65 of file UT_Playback.h.

void UT_Playback::removePlayCallback ( UT_PlayCallback  cb,
void cbdata 
)
void UT_Playback::resetAbsoluteFrame ( )
void UT_Playback::setCurrentFrame ( fpreal  frame)
void UT_Playback::setInterceptMode ( int  mode)
inline

Definition at line 78 of file UT_Playback.h.

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

Definition at line 58 of file UT_Playback.h.

void UT_Playback::setRealtimeMode ( bool  mode)
inline

Definition at line 52 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: