com.teamdev.jxcapture.video.win.directshow.wrappers.impl
Class ISampleGrabberImpl

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl
          extended by com.teamdev.jxcapture.video.win.directshow.wrappers.impl.ISampleGrabberImpl
All Implemented Interfaces:
com.jniwrapper.AutoDeleteParameter, com.jniwrapper.PointerParameter, ISampleGrabber, com.teamdev.jxdesktop.win32.com.IUnknown

public class ISampleGrabberImpl
extends com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl
implements ISampleGrabber


Nested Class Summary
 
Nested classes/interfaces inherited from class com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl
com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl.MemoryBufferImpl
 
Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl
PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
ISampleGrabberImpl()
           
ISampleGrabberImpl(com.teamdev.jxdesktop.win32.com.IUnknown iUnknown)
           
ISampleGrabberImpl(com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl iUnknown)
           
 
Method Summary
 java.lang.Object clone()
           
 MediaType getConnectedMediaType()
           
 void getCurrentBuffer(com.jniwrapper.LongInt bufferSize, com.jniwrapper.Pointer.Void buffer)
           
 com.teamdev.jxdesktop.win32.com.types.IID getIID()
           
 void setBufferSamples(boolean value)
           
 void setCallback(ISampleGrabberCB callback, long whichMethodToCallback)
           
 void setMediaType(MediaType type)
           
 void setOneShot(boolean value)
           
 
Methods inherited from class com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl
acceptIOPerformer, addRef, asVoidPointer, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write
 
Methods inherited from class com.jniwrapper.Parameter
a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.teamdev.jxdesktop.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

ISampleGrabberImpl

public ISampleGrabberImpl()

ISampleGrabberImpl

public ISampleGrabberImpl(com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl iUnknown)
                   throws com.teamdev.jxdesktop.win32.com.ComException
Throws:
com.teamdev.jxdesktop.win32.com.ComException

ISampleGrabberImpl

public ISampleGrabberImpl(com.teamdev.jxdesktop.win32.com.IUnknown iUnknown)
Method Detail

setOneShot

public void setOneShot(boolean value)
                throws com.teamdev.jxdesktop.win32.com.ComException
Specified by:
setOneShot in interface ISampleGrabber
Throws:
com.teamdev.jxdesktop.win32.com.ComException

setMediaType

public void setMediaType(MediaType type)
                  throws com.teamdev.jxdesktop.win32.com.ComException
Specified by:
setMediaType in interface ISampleGrabber
Throws:
com.teamdev.jxdesktop.win32.com.ComException

getConnectedMediaType

public MediaType getConnectedMediaType()
                                throws com.teamdev.jxdesktop.win32.com.ComException
Specified by:
getConnectedMediaType in interface ISampleGrabber
Throws:
com.teamdev.jxdesktop.win32.com.ComException

setBufferSamples

public void setBufferSamples(boolean value)
                      throws com.teamdev.jxdesktop.win32.com.ComException
Specified by:
setBufferSamples in interface ISampleGrabber
Throws:
com.teamdev.jxdesktop.win32.com.ComException

getCurrentBuffer

public void getCurrentBuffer(com.jniwrapper.LongInt bufferSize,
                             com.jniwrapper.Pointer.Void buffer)
                      throws com.teamdev.jxdesktop.win32.com.ComException
Specified by:
getCurrentBuffer in interface ISampleGrabber
Throws:
com.teamdev.jxdesktop.win32.com.ComException

setCallback

public void setCallback(ISampleGrabberCB callback,
                        long whichMethodToCallback)
                 throws com.teamdev.jxdesktop.win32.com.ComException
Specified by:
setCallback in interface ISampleGrabber
Throws:
com.teamdev.jxdesktop.win32.com.ComException

getIID

public com.teamdev.jxdesktop.win32.com.types.IID getIID()
Overrides:
getIID in class com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl

clone

public java.lang.Object clone()
Overrides:
clone in class com.teamdev.jxdesktop.win32.com.impl.IUnknownImpl