JRTPLIB  3.11.1
Public Member Functions | List of all members
jrtplib::RTPMemoryManager Class Referenceabstract

A memory manager. More...

#include <rtpmemorymanager.h>

Public Member Functions

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

Detailed Description

Member Function Documentation

virtual void* jrtplib::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: