quicktime.std.sg
Class SGOutput

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.std.sg.SGOutput
All Implemented Interfaces:
InterfaceLib, PrimitivesLib, QuickTimeLib, com.apple.jdirect.SharedLibrary, SharedLibrary

public final class SGOutput
extends QTObject
implements QuickTimeLib, PrimitivesLib

Assists in capturing to Multiple files. The SGOutput implements methods for a capturing to multiple files. Introduced in QuickTime 3.0, capturing to multople files can improve the Performance and flexibility of cpatures and enable larger total captures. refer to SGOutput in QuickTime Components


Field Summary
 
Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
Constructor Summary
SGOutput(SequenceGrabber owner, DataRef dataRef, int whereFlags)
          The SGNewOutput function creates a new sequence grabber output.
 
Method Summary
 void disposeQTObject()
          Disposes of an output associated with a sequence grabber.
 DataRef getDataReference()
          

QuickTime::SGGetOutputDataReference(

 long getDataStorageSpaceRemaining()
          

QuickTime::SGGetDataOutputStorageSpaceRemaining

 long getMaximumOffset()
          

QuickTime::SGGetOutputMaximumOffset

 SGOutput getNextOutput()
          

QuickTime::SGGetOutputNextOutput(

 void setChannel(SGChannel c)
          

QuickTime::SGSetChannelOutput

 void setMaximumOffset(long maxOffset)
          

QuickTime::SGSetOutputMaximumOffset

 void setNextOutput(SGOutput nextOutput)
          

QuickTime::SGSetOutputNextOutput(

 void setOutputFlags(int whereFlags)
          

QuickTime::SGSetOutputFlags

 
Methods inherited from class quicktime.QTObject
equals, ID, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SGOutput

public SGOutput(SequenceGrabber owner,
                DataRef dataRef,
                int whereFlags)
         throws StdQTException
The SGNewOutput function creates a new sequence grabber output. You specify the outputÕs destination container using a data reference. Once you have created the sequence grabber output, you can use the SGSetChannelOutput function to assign the output to a sequence grabber channel.

QuickTime::SGNewOutput

Parameters:
owner - your connection to the sequence grabber.
dataRef - A handle to the destination container.
whereFlags - that control the record operation. You must set either seqGrabToDisk or seqGrabToMemory to 1. Set unused flags to 0.
Method Detail

disposeQTObject

public void disposeQTObject()
                     throws QTException
Disposes of an output associated with a sequence grabber.

QuickTime::SGDisposeOutput

Overrides:
disposeQTObject in class QTObject
QTException

setMaximumOffset

public void setMaximumOffset(long maxOffset)
                      throws StdQTException


QuickTime::SGSetOutputMaximumOffset

Parameters:
maxOffset - the maximum offset for data written to this output.
StdQTException

getMaximumOffset

public long getMaximumOffset()
                      throws StdQTException


QuickTime::SGGetOutputMaximumOffset

StdQTException

setOutputFlags

public void setOutputFlags(int whereFlags)
                    throws StdQTException


QuickTime::SGSetOutputFlags

Parameters:
whereFlags - determines where the output is sent, eg seqGrabToDisk
StdQTException

setChannel

public void setChannel(SGChannel c)
                throws StdQTException


QuickTime::SGSetChannelOutput

Parameters:
c - the channel you want to assign the output to
StdQTException

getDataStorageSpaceRemaining

public long getDataStorageSpaceRemaining()
                                  throws StdQTException


QuickTime::SGGetDataOutputStorageSpaceRemaining

StdQTException

getNextOutput

public SGOutput getNextOutput()
                       throws StdQTException


QuickTime::SGGetOutputNextOutput(

StdQTException

setNextOutput

public void setNextOutput(SGOutput nextOutput)
                   throws StdQTException


QuickTime::SGSetOutputNextOutput(

Parameters:
nextOutput - specifies the next output to be used after the output represented by this object.
StdQTException

getDataReference

public DataRef getDataReference()
                         throws StdQTException


QuickTime::SGGetOutputDataReference(

StdQTException