quicktime.streaming
Class SourcerTimingParams

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.util.QTPointerRef
              |
              +--quicktime.util.QTPointer
                    |
                    +--quicktime.streaming.SourcerTimingParams
All Implemented Interfaces:
java.lang.Cloneable, InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary

public final class SourcerTimingParams
extends QTPointer

This class provides a representation the native QTSSourcerTimingParams structure that provides sourcer timing services for the Sourcer


Field Summary
static int kNativeSize
          This is the size of this class
 
Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
Constructor Summary
SourcerTimingParams(int vers, int flags, int timeScale, long presStartTime, long presEndTime, long presCurrTime, long localStartTime, long localEndTime, long localCurrTime)
          Constructs an SourcerTimingParams object based on the native QTSSourcerTimingParams structure
SourcerTimingParams(int flags, int timeScale, long presStartTime, long presEndTime, long presCurrTime, long localStartTime, long localEndTime, long localCurrTime)
          Constructs an SourcerTimingParams version 1 object based on the native QTSSourcerTimingParams structure
 
Method Summary
 int getFlags()
          Gets the flags
 long getLocalCurrentTime()
          Gets the local end time
 long getLocalEndTime()
          Gets the local end time
 long getLocalStartTime()
          Gets the local start time
 long getPresentationCurrentTime()
          Gets the presentation current time
 long getPresentationEndTime()
          Gets the presentation end time
 long getPresentationStartTime()
          Gets the presentation start time
 int getTimeScale()
          Gets the time scale
 int getVersion()
          Gets the version of the sourcer timing params object
 void setFlags(int flags)
          Sets the flags of the sourcer timing object
 void setLocalCurrentTime(long localCurrTime)
          Sets the local current time
 void setLocalEndTime(long localEndTime)
          Sets the local end time
 void setLocalStartTime(long localStartTime)
          Sets the local start time
 void setPresentationCurrentTime(long currTime)
          Sets the presentation current time
 void setPresentationEndTime(long endTime)
          Sets the presentation end time
 void setPresentationStartTime(long startTime)
          Sets the presentation start time
 void setTimeScale(int timeScale)
          Sets the time scale of the sourcer timing object
 void setVersion(int vers)
          Sets the version of the sourcer timing params object
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class quicktime.util.QTPointer
clone, concatenate, fromEncodedImage, fromGraphicsExporter, fromSCData, setSize
 
Methods inherited from class quicktime.util.QTPointerRef
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize
 
Methods inherited from class quicktime.QTObject
disposeQTObject, equals, ID
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

kNativeSize

public static final int kNativeSize
This is the size of this class
Constructor Detail

SourcerTimingParams

public SourcerTimingParams(int flags,
                           int timeScale,
                           long presStartTime,
                           long presEndTime,
                           long presCurrTime,
                           long localStartTime,
                           long localEndTime,
                           long localCurrTime)
                    throws QTException
Constructs an SourcerTimingParams version 1 object based on the native QTSSourcerTimingParams structure
Parameters:
flags - flags of the sourcer timing params
timeScale - time scale of the sourcer
presStartTime - presentation start time
presEndTime - presentation end time
presCurrTime - presentation current time
localStartTime - local start time
localEndTime - local end time
localCurrTime - local current time

SourcerTimingParams

public SourcerTimingParams(int vers,
                           int flags,
                           int timeScale,
                           long presStartTime,
                           long presEndTime,
                           long presCurrTime,
                           long localStartTime,
                           long localEndTime,
                           long localCurrTime)
                    throws QTException
Constructs an SourcerTimingParams object based on the native QTSSourcerTimingParams structure
Parameters:
vers - version of the params structure
flags - flags of the sourcer timing params
timeScale - time scale of the sourcer
presStartTime - presentation start time
presEndTime - presentation end time
presCurrTime - presentation current time
localStartTime - local start time
localEndTime - local end time
localCurrTime - local current time
Method Detail

setVersion

public void setVersion(int vers)
Sets the version of the sourcer timing params object
Parameters:
vers - version

getVersion

public int getVersion()
Gets the version of the sourcer timing params object
Returns:
version

setFlags

public void setFlags(int flags)
Sets the flags of the sourcer timing object
Parameters:
flags - sourcer timing flags

getFlags

public int getFlags()
Gets the flags

setTimeScale

public void setTimeScale(int timeScale)
Sets the time scale of the sourcer timing object
Parameters:
timeScale - time scale

getTimeScale

public int getTimeScale()
Gets the time scale

setPresentationStartTime

public void setPresentationStartTime(long startTime)
Sets the presentation start time
Parameters:
startTime - presentation start time

getPresentationStartTime

public long getPresentationStartTime()
Gets the presentation start time

setPresentationEndTime

public void setPresentationEndTime(long endTime)
Sets the presentation end time
Parameters:
endTime - presentation end time

getPresentationEndTime

public long getPresentationEndTime()
Gets the presentation end time

setPresentationCurrentTime

public void setPresentationCurrentTime(long currTime)
Sets the presentation current time
Parameters:
currTime - presentation current time

getPresentationCurrentTime

public long getPresentationCurrentTime()
Gets the presentation current time

setLocalStartTime

public void setLocalStartTime(long localStartTime)
Sets the local start time
Parameters:
localStartTime - local start time

getLocalStartTime

public long getLocalStartTime()
Gets the local start time

setLocalEndTime

public void setLocalEndTime(long localEndTime)
Sets the local end time
Parameters:
localEndTime - local end time

getLocalEndTime

public long getLocalEndTime()
Gets the local end time

setLocalCurrentTime

public void setLocalCurrentTime(long localCurrTime)
Sets the local current time
Parameters:
localCurrTime - local current time

getLocalCurrentTime

public long getLocalCurrentTime()
Gets the local end time

toString

public java.lang.String toString()
Returns a string representation of this object.
Overrides:
toString in class QTPointerRef
Returns:
a String