All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.clocks.RateCallBack

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.clocks.QTCallBack
                   |
                   +----quicktime.std.clocks.RateCallBack

public abstract class RateCallBack
extends QTCallBack
Provides scheduled operations with time base time rate changes.


Variable Index

 o flags
Determines when the callback will be called.
 o rate
Determines the rate that is used in the callback.

Constructor Index

 o RateCallBack(TimeBase, float, int)
Creates a new callback event that will invoke its Callback object when the rate of the specified timebase reaches a certain value.

Method Index

 o callMeWhen()
Makes the callback active.
 o toString()
String representation of this class.

Variables

 o rate
 public float rate
Determines the rate that is used in the callback. Default is 1.0.

 o flags
 public int flags
Determines when the callback will be called.

Constructors

 o RateCallBack
 public RateCallBack(TimeBase tb,
                     float rate,
                     int flags) throws QTException
Creates a new callback event that will invoke its Callback object when the rate of the specified timebase reaches a certain value. The callback is not active until you schedule it by calling the callMeWhen method.

QuickTime::NewCallBack()

Parameters:
tb - the time base that the callback is attached too.
rate - the specified rate which will invoke the Callback
flags - the conditions under which the Callback will be executed

Methods

 o callMeWhen
 public final void callMeWhen() throws StdQTException
Makes the callback active. The rate value should be set before this method is called.

QuickTime::CallMeWhen

Overrides:
callMeWhen in class QTCallBack
 o toString
 public String toString()
String representation of this class.

Overrides:
toString in class QTObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index