RTPMemoryManager Class Reference

A memory manager.

#include <rtpmemorymanager.h>

List of all members.

Public Member Functions

virtual void * AllocateBuffer (size_t numbytes, int memtype)=0
 Called to allocate numbytes of memory.
virtual void FreeBuffer (void *buffer)=0
 Frees the previously allocated memory block buffer.


Member Function Documentation

virtual void* RTPMemoryManager::AllocateBuffer ( size_t  numbytes,
int  memtype 
) [pure virtual]

Called to allocate numbytes of memory. The memtype parameter indicates what the purpose of the memory block is. Relevant values can be found in rtpmemorymanager.h . Note that the types starting with RTPMEM_TYPE_CLASS indicate fixed size buffers and that types starting with RTPMEM_TYPE_BUFFER indicate variable size buffers.


The documentation for this class was generated from the following file:
Generated on Thu Feb 8 16:22:23 2007 for jrtplib by  doxygen 1.5.1