Compartilhar via


CTransformOutputPin Class (Compact 2013)

3/26/2014

CBaseOutputPin Class

**     CTransformOutputPin Class**

This class implements the output pin of a simple transform filter. It is the class assigned to the m_pOutput data member of the CTransformFilter class.

Typically, you can create objects of a class derived from CTransformFilter without modifying the CTransformOutputPin class.

To override this class and derive a class from CTransformFilter, use the class and then override the CTransformFilter::GetPin member function to create pins of your derived class.

Protected Data Members

Member

Description

m_pTransformFilter

Pointer to the owning CTransformFilter object.

Public Data Members

Member

Description

m_pPosition

Pointer to a CPosPassThru object that implements the IMediaPosition interface to pass media position commands on to the upstream filter.

Member Functions

Member function

Description

CTransformOutputPin

Constructs a CTransformOutputPin object.

CurrentMediaType

Retrieves the media type currently assigned to the filter.

Overrideable Member Functions

Member function

Description

BreakConnect

Informs the derived class when the connection is broken.

CheckConnect

Informs the derived class when the connection process is starting.

CheckMediaType

Determines if the pin can use a specified media type.

CompleteConnect

Informs the derived class when the connection process has completed.

DecideBufferSize

Determines the number and size of buffers required.

GetMediaType

Returns the media type that the output pin uses.

SetMediaType

Informs the derived class when the media type is established for the connection.

Implemented IQualityControl Methods

Method

Description

Notify

Receives a quality-control notification, typically from a downstream filter. This method is inherited from the IQualityControl interface through the CBasePin class.

Implemented IPin Methods

Method

Description

QueryId

Retrieves an identifier for the pin.

Implemented INonDelegatingUnknown Methods

Method

Description

NonDelegatingQueryInterface

Returns an interface and increments the reference count.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

DirectShow Classes