CMemAllocator Class Reference

#include <amfilter.h>

Inheritance diagram for CMemAllocator:

CBaseAllocator CUnknown CCritSec CBaseObject

List of all members.

Public Member Functions

STDMETHODIMP SetProperties (ALLOCATOR_PROPERTIES *pRequest, ALLOCATOR_PROPERTIES *pActual)
 CMemAllocator (TCHAR *, LPUNKNOWN, HRESULT *)
 ~CMemAllocator ()

Static Public Member Functions

static CUnknownCreateInstance (LPUNKNOWN, HRESULT *)

Protected Member Functions

void Free (void)
void ReallyFree (void)
HRESULT Alloc (void)

Protected Attributes

LPBYTE m_pBuffer


Detailed Description

Definition at line 1297 of file amfilter.h.


Constructor & Destructor Documentation

CMemAllocator::CMemAllocator ( TCHAR pName,
LPUNKNOWN  pUnk,
HRESULT *  phr 
)

Definition at line 3932 of file amfilter.cpp.

Referenced by CreateInstance().

CMemAllocator::~CMemAllocator (  ) 

Definition at line 4121 of file amfilter.cpp.

References CBaseAllocator::Decommit(), and ReallyFree().


Member Function Documentation

void CMemAllocator::Free ( void   )  [protected, virtual]

Reimplemented from CBaseAllocator.

Definition at line 4088 of file amfilter.cpp.

void CMemAllocator::ReallyFree ( void   )  [protected]

HRESULT CMemAllocator::Alloc ( void   )  [protected, virtual]

CUnknown * CMemAllocator::CreateInstance ( LPUNKNOWN  pUnk,
HRESULT *  phr 
) [static]

Definition at line 3926 of file amfilter.cpp.

References CMemAllocator(), and NAME.

STDMETHODIMP CMemAllocator::SetProperties ( ALLOCATOR_PROPERTIES *  pRequest,
ALLOCATOR_PROPERTIES *  pActual 
)


Member Data Documentation

LPBYTE CMemAllocator::m_pBuffer [protected]

Definition at line 1302 of file amfilter.h.

Referenced by Alloc(), and ReallyFree().


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

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