com.teamdev.jxcapture.video.win.directshow
Class PinWrapper

java.lang.Object
  extended by com.teamdev.jxcapture.video.win.directshow.PinWrapper

public class PinWrapper
extends java.lang.Object

Represents wrapper for IPin COM interface.


Constructor Summary
PinWrapper(IPin pin)
          Creates new wrapper for the specified pin.
 
Method Summary
 java.lang.String getAchName()
          Returns ach name of this pin.
 PinWrapper getConnectedPin()
          Returns the pin to which this pin is connected.
 com.teamdev.jxcapture.video.win.directshow.PinWrapper.Direction getDirection()
          Returns direction of this pin.
 FilterWrapper getFilter()
          Returns a filter to which this pin is connected
protected  IBaseFilter getFilterPeer()
          Returns a filter to which this pin is connected.
 java.lang.String getId()
          Returns Id of this pin.
 IPin getPin()
          Returns pin peer.
protected  PinInfo getPinInfo()
           
 void release()
          Release this wrapper.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PinWrapper

public PinWrapper(IPin pin)
Creates new wrapper for the specified pin.

Parameters:
pin - pin object
Method Detail

getId

public java.lang.String getId()
Returns Id of this pin.

Returns:
string id of this pin

getPinInfo

protected PinInfo getPinInfo()

getDirection

public com.teamdev.jxcapture.video.win.directshow.PinWrapper.Direction getDirection()
Returns direction of this pin.

Returns:
pin direction

getAchName

public java.lang.String getAchName()
Returns ach name of this pin.

Returns:
ach name

getFilterPeer

protected IBaseFilter getFilterPeer()
Returns a filter to which this pin is connected.

Returns:
filter

getFilter

public FilterWrapper getFilter()
Returns a filter to which this pin is connected

Returns:
filter wrapper

getPin

public IPin getPin()
Returns pin peer.

Returns:
pin object

getConnectedPin

public PinWrapper getConnectedPin()
Returns the pin to which this pin is connected.

Returns:
the connected pin to this pin

release

public void release()
Release this wrapper.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object