My Project
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CBasePin Class Reference
Inheritance diagram for CBasePin:
CUnknown CBaseObject CBaseInputPin CBaseOutputPin CRenderedInputPin CRendererInputPin CTransformInputPin CDynamicOutputPin CSourceStream CTransformOutputPin CTransInPlaceInputPin CTransInPlaceOutputPin

Public Member Functions

 CBasePin (TCHAR *pObjectName, CBaseFilter *pFilter, CCritSec *pLock, HRESULT *phr, LPCWSTR pName, PIN_DIRECTION dir)
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
STDMETHODIMP Connect (IPin *pReceivePin, const AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP ReceiveConnection (IPin *pConnector, const AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP Disconnect ()
 
STDMETHODIMP ConnectedTo (IPin **pPin)
 
STDMETHODIMP ConnectionMediaType (AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP QueryPinInfo (PIN_INFO *pInfo)
 
STDMETHODIMP QueryDirection (PIN_DIRECTION *pPinDir)
 
STDMETHODIMP QueryId (LPWSTR *Id)
 
STDMETHODIMP QueryAccept (const AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP EnumMediaTypes (IEnumMediaTypes **ppEnum)
 
STDMETHODIMP QueryInternalConnections (IPin **apPin, ULONG *nPin)
 
STDMETHODIMP EndOfStream (void)
 
STDMETHODIMP NewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)
 
STDMETHODIMP Notify (IBaseFilter *pSender, Quality q)
 
STDMETHODIMP SetSink (IQualityControl *piqc)
 
BOOL IsConnected (void)
 
IPin * GetConnected ()
 
BOOL IsStopped ()
 
virtual LONG GetMediaTypeVersion ()
 
void IncrementTypeVersion ()
 
virtual HRESULT Active (void)
 
virtual HRESULT Inactive (void)
 
virtual HRESULT Run (REFERENCE_TIME tStart)
 
virtual HRESULT CheckMediaType (const CMediaType *) PURE
 
virtual HRESULT SetMediaType (const CMediaType *)
 
virtual HRESULT CheckConnect (IPin *)
 
virtual HRESULT BreakConnect ()
 
virtual HRESULT CompleteConnect (IPin *pReceivePin)
 
virtual HRESULT GetMediaType (int iPosition, CMediaType *pMediaType)
 
REFERENCE_TIME CurrentStopTime ()
 
REFERENCE_TIME CurrentStartTime ()
 
double CurrentRate ()
 
LPWSTR Name ()
 
void SetReconnectWhenActive (bool bCanReconnect)
 
bool CanReconnectWhenActive ()
 
- Public Member Functions inherited from CUnknown
 CUnknown (const TCHAR *pName, LPUNKNOWN pUnk)
 
 CUnknown (TCHAR *pName, LPUNKNOWN pUnk, HRESULT *phr)
 
LPUNKNOWN GetOwner () const
 
STDMETHODIMP NonDelegatingQueryInterface (REFIID, void **)
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
- Public Member Functions inherited from CBaseObject
 CBaseObject (const TCHAR *pName)
 

Protected Member Functions

void DisplayPinInfo (IPin *pReceivePin)
 
void DisplayTypeInfo (IPin *pPin, const CMediaType *pmt)
 
HRESULT AttemptConnection (IPin *pReceivePin, const CMediaType *pmt)
 
HRESULT TryMediaTypes (IPin *pReceivePin, const CMediaType *pmt, IEnumMediaTypes *pEnum)
 
HRESULT AgreeMediaType (IPin *pReceivePin, const CMediaType *pmt)
 
STDMETHODIMP DisconnectInternal ()
 

Protected Attributes

WCHAR * m_pName
 
IPin * m_Connected
 
PIN_DIRECTION m_dir
 
CCritSecm_pLock
 
bool m_bRunTimeError
 
bool m_bCanReconnectWhenActive
 
bool m_bTryMyTypesFirst
 
CBaseFilterm_pFilter
 
IQualityControl * m_pQSink
 
LONG m_TypeVersion
 
CMediaType m_mt
 
CRefTime m_tStart
 
CRefTime m_tStop
 
double m_dRate
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 

Additional Inherited Members

- Static Public Member Functions inherited from CBaseObject
static LONG ObjectsActive ()
 

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