Qt 4.5: QPin Class Reference

|  | Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# QPin Class Reference
(Phonon::DS9::QPin)

Inherited by

- List of all members, including inherited members

### Public Functions

- QPin ( QBaseFilter * parent, PIN_DIRECTION dir, const QVector<AM_MEDIA_TYPE> & mt )
- virtual ~QPin ()
- STDMETHODIMP BeginFlush ()
- STDMETHODIMP Connect ( IPin *, const AM_MEDIA_TYPE * )
- STDMETHODIMP ConnectedTo ( IPin ** )
- STDMETHODIMP ConnectionMediaType ( AM_MEDIA_TYPE * )
- STDMETHODIMP Disconnect ()
- STDMETHODIMP EndFlush ()
- STDMETHODIMP EndOfStream ()
- STDMETHODIMP EnumMediaTypes ( IEnumMediaTypes ** )
- STDMETHODIMP NewSegment ( REFERENCE_TIME, REFERENCE_TIME, double )
- STDMETHODIMP QueryAccept ( const AM_MEDIA_TYPE * )
- STDMETHODIMP QueryDirection ( PIN_DIRECTION * )
- STDMETHODIMP QueryId ( LPWSTR * )
- STDMETHODIMP QueryInterface ( REFIID iid, void ** out )
- STDMETHODIMP QueryInternalConnections ( IPin **, ULONG * )
- STDMETHODIMP QueryPinInfo ( PIN_INFO * )
- STDMETHODIMP ReceiveConnection ( IPin *, const AM_MEDIA_TYPE * )
- STDMETHODIMP_ ( ULONG )
- STDMETHODIMP_ ( ULONG )
- IPin * connected ( bool = false ) const
- const AM_MEDIA_TYPE & connectedType () const
- void createDefaultMemoryAllocator ( ALLOCATOR_PROPERTIES * = 0 )
- PIN_DIRECTION direction () const
- FILTER_STATE filterState () const
- bool isFlushing () const
- QVector<AM_MEDIA_TYPE> mediaTypes () const
- IMemAllocator * memoryAllocator ( bool = false ) const
- HRESULT setAcceptedMediaType ( const AM_MEDIA_TYPE & )
- void setConnected ( IPin * pin )
- void setConnectedType ( const AM_MEDIA_TYPE & type )
- void setMemoryAllocator ( IMemAllocator * alloc )

### Static Public Members

- AM_MEDIA_TYPE copyMediaType ( const AM_MEDIA_TYPE & type )
- void freeMediaType ( AM_MEDIA_TYPE * type )
- void freeMediaType ( const AM_MEDIA_TYPE & type )

## Member Function Documentation

### QPin::QPin ( QBaseFilter * parent, PIN_DIRECTION dir, const QVector<AM_MEDIA_TYPE> & mt )

### QPin::~QPin () `[virtual]`

### STDMETHODIMP QPin::BeginFlush ()

### STDMETHODIMP QPin::Connect ( IPin *, const AM_MEDIA_TYPE * )

### STDMETHODIMP QPin::ConnectedTo ( IPin ** )

### STDMETHODIMP QPin::ConnectionMediaType ( AM_MEDIA_TYPE * )

### STDMETHODIMP QPin::Disconnect ()

### STDMETHODIMP QPin::EndFlush ()

### STDMETHODIMP QPin::EndOfStream ()

### STDMETHODIMP QPin::EnumMediaTypes ( IEnumMediaTypes ** )

### STDMETHODIMP QPin::NewSegment ( REFERENCE_TIME, REFERENCE_TIME, double )

### STDMETHODIMP QPin::QueryAccept ( const AM_MEDIA_TYPE * )

### STDMETHODIMP QPin::QueryDirection ( PIN_DIRECTION * )

### STDMETHODIMP QPin::QueryId ( LPWSTR * )

### STDMETHODIMP QPin::QueryInterface ( REFIID iid, void ** out )

### STDMETHODIMP QPin::QueryInternalConnections ( IPin **, ULONG * )

### STDMETHODIMP QPin::QueryPinInfo ( PIN_INFO * )

### STDMETHODIMP QPin::ReceiveConnection ( IPin *, const AM_MEDIA_TYPE * )

### QPin::STDMETHODIMP_ ( ULONG )

### IPin * QPin::connected ( bool = false ) const

See also setConnected().

### const AM_MEDIA_TYPE & QPin::connectedType () const

See also setConnectedType().

### AM_MEDIA_TYPE QPin::copyMediaType ( const AM_MEDIA_TYPE & type ) `[static]`

### void QPin::createDefaultMemoryAllocator ( ALLOCATOR_PROPERTIES * = 0 )

### PIN_DIRECTION QPin::direction () const

### FILTER_STATE QPin::filterState () const

### void QPin::freeMediaType ( AM_MEDIA_TYPE * type ) `[static]`

### void QPin::freeMediaType ( const AM_MEDIA_TYPE & type ) `[static]`

### bool QPin::isFlushing () const

### QVector<AM_MEDIA_TYPE> QPin::mediaTypes () const

### IMemAllocator * QPin::memoryAllocator ( bool = false ) const

See also setMemoryAllocator().

### HRESULT QPin::setAcceptedMediaType ( const AM_MEDIA_TYPE & )

### void QPin::setConnected ( IPin * pin )

See also connected().

### void QPin::setConnectedType ( const AM_MEDIA_TYPE & type )

See also connectedType().

### void QPin::setMemoryAllocator ( IMemAllocator * alloc )

See also memoryAllocator().