CBaseInputPin Class Reference

#include <amfilter.h>

Inheritance diagram for CBaseInputPin:

CBasePin CUnknown CBaseObject CRenderedInputPin CRendererInputPin CTransformInputPin CTransInPlaceInputPin

List of all members.

Public Member Functions

 CBaseInputPin (TCHAR *pObjectName, CBaseFilter *pFilter, CCritSec *pLock, HRESULT *phr, LPCWSTR pName)
virtual ~CBaseInputPin ()
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
STDMETHODIMP GetAllocator (IMemAllocator **ppAllocator)
STDMETHODIMP NotifyAllocator (IMemAllocator *pAllocator, BOOL bReadOnly)
STDMETHODIMP Receive (IMediaSample *pSample)
STDMETHODIMP ReceiveMultiple (IMediaSample **pSamples, long nSamples, long *nSamplesProcessed)
STDMETHODIMP ReceiveCanBlock ()
STDMETHODIMP BeginFlush (void)
STDMETHODIMP EndFlush (void)
STDMETHODIMP GetAllocatorRequirements (ALLOCATOR_PROPERTIES *pProps)
HRESULT BreakConnect ()
BOOL IsReadOnly ()
BOOL IsFlushing ()
virtual HRESULT CheckStreaming ()
HRESULT PassNotify (Quality &q)
STDMETHODIMP Notify (IBaseFilter *pSender, Quality q)
virtual HRESULT Inactive (void)
AM_SAMPLE2_PROPERTIES * SampleProps ()

Protected Attributes

IMemAllocator * m_pAllocator
BYTE m_bReadOnly
BYTE m_bFlushing
AM_SAMPLE2_PROPERTIES m_SampleProps


Detailed Description

Definition at line 694 of file amfilter.h.


Constructor & Destructor Documentation

CBaseInputPin::CBaseInputPin ( TCHAR pObjectName,
CBaseFilter pFilter,
CCritSec pLock,
HRESULT *  phr,
LPCWSTR  pName 
)

Definition at line 2000 of file amfilter.cpp.

References m_SampleProps.

CBaseInputPin::~CBaseInputPin (  )  [virtual]

Definition at line 2028 of file amfilter.cpp.

References m_pAllocator, and NULL.


Member Function Documentation

STDMETHODIMP CBaseInputPin::NonDelegatingQueryInterface ( REFIID  riid,
void **  ppv 
)

Reimplemented from CBasePin.

Definition at line 2037 of file amfilter.cpp.

References GetInterface(), and CBasePin::NonDelegatingQueryInterface().

STDMETHODIMP CBaseInputPin::GetAllocator ( IMemAllocator **  ppAllocator  ) 

STDMETHODIMP CBaseInputPin::NotifyAllocator ( IMemAllocator *  pAllocator,
BOOL  bReadOnly 
)

STDMETHODIMP CBaseInputPin::Receive ( IMediaSample *  pSample  ) 

STDMETHODIMP CBaseInputPin::ReceiveMultiple ( IMediaSample **  pSamples,
long  nSamples,
long *  nSamplesProcessed 
)

Definition at line 2184 of file amfilter.cpp.

References CheckPointer, hr, HRESULT, Receive(), S_OK, and ValidateReadPtr.

STDMETHODIMP CBaseInputPin::ReceiveCanBlock (  ) 

STDMETHODIMP CBaseInputPin::BeginFlush ( void   ) 

STDMETHODIMP CBaseInputPin::EndFlush ( void   ) 

STDMETHODIMP CBaseInputPin::GetAllocatorRequirements ( ALLOCATOR_PROPERTIES *  pProps  ) 

Reimplemented in CTransInPlaceInputPin.

Definition at line 2314 of file amfilter.cpp.

HRESULT CBaseInputPin::BreakConnect (  )  [virtual]

Reimplemented from CBasePin.

Reimplemented in CRendererInputPin, and CTransformInputPin.

Definition at line 2093 of file amfilter.cpp.

References FAILED, hr, HRESULT, m_pAllocator, NULL, and S_OK.

Referenced by CTransformInputPin::BreakConnect(), and CRendererInputPin::BreakConnect().

BOOL CBaseInputPin::IsReadOnly (  )  [inline]

Definition at line 782 of file amfilter.h.

BOOL CBaseInputPin::IsFlushing (  )  [inline]

HRESULT CBaseInputPin::CheckStreaming (  )  [virtual]

HRESULT CBaseInputPin::PassNotify ( Quality &  q  ) 

STDMETHODIMP CBaseInputPin::Notify ( IBaseFilter *  pSender,
Quality  q 
)

Reimplemented from CBasePin.

Definition at line 2291 of file amfilter.cpp.

References CheckPointer, DbgBreak, and ValidateReadPtr.

HRESULT CBaseInputPin::Inactive ( void   )  [virtual]

Reimplemented from CBasePin.

Reimplemented in CRendererInputPin.

Definition at line 2301 of file amfilter.cpp.

References FALSE, m_bFlushing, CBasePin::m_bRunTimeError, m_pAllocator, and NULL.

Referenced by CTransformFilter::Stop().

AM_SAMPLE2_PROPERTIES* CBaseInputPin::SampleProps (  )  [inline]


Member Data Documentation

IMemAllocator* CBaseInputPin::m_pAllocator [protected]

Reimplemented in CTransInPlaceInputPin.

Definition at line 705 of file amfilter.h.

Referenced by NotifyAllocator().

AM_SAMPLE2_PROPERTIES CBaseInputPin::m_SampleProps [protected]

Definition at line 712 of file amfilter.h.

Referenced by CBaseInputPin(), and Receive().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:35 2008 by  doxygen 1.5.6