My Project
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
CBaseAllocator Class Reference
Inheritance diagram for CBaseAllocator:
CUnknown CCritSec CBaseObject CImageAllocator CMemAllocator

Public Member Functions

 CBaseAllocator (TCHAR *, LPUNKNOWN, HRESULT *, BOOL bEvent=TRUE, BOOL fEnableReleaseCallback=FALSE)
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 
STDMETHODIMP SetProperties (ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
 
STDMETHODIMP GetProperties (ALLOCATOR_PROPERTIES *pProps)
 
STDMETHODIMP Commit ()
 
STDMETHODIMP Decommit ()
 
STDMETHODIMP GetBuffer (IMediaSample **ppBuffer, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, DWORD dwFlags)
 
STDMETHODIMP ReleaseBuffer (IMediaSample *pBuffer)
 
STDMETHODIMP SetNotify (IMemAllocatorNotifyCallbackTemp *pNotify)
 
STDMETHODIMP GetFreeCount (LONG *plBuffersFree)
 
void NotifySample ()
 
void SetWaiting ()
 
- 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)
 
- Public Member Functions inherited from CCritSec
void Lock ()
 
void Unlock ()
 

Protected Member Functions

virtual void Free (void) PURE
 
virtual HRESULT Alloc (void)
 

Protected Attributes

CSampleList m_lFree
 
HANDLE m_hSem
 
long m_lWaiting
 
long m_lCount
 
long m_lAllocated
 
long m_lSize
 
long m_lAlignment
 
long m_lPrefix
 
BOOL m_bChanged
 
BOOL m_bCommitted
 
BOOL m_bDecommitInProgress
 
IMemAllocatorNotifyCallbackTemp * m_pNotify
 
BOOL m_fEnableReleaseCallback
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 

Friends

class CSampleList
 

Additional Inherited Members

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

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