Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# MemAllocator< T > Class Template Reference
[OSCL Util]

`#include <oscl_media_data.h>`

## Public Types
typedef T * | pointer
## Public Methods
virtual pointer | allocate (void *hint=0, const int num_reserved_frags=1)=0
virtual void | deallocate (pointer p)=0
virtual | ~MemAllocator ()

### template<class T>
class MemAllocator< T >

## Member Typedef Documentation

template<class T>
typedef T* MemAllocator< T >::pointer

## Constructor & Destructor Documentation

template<class T>
virtual MemAllocator< T >::~MemAllocator | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

template<class T>
virtual pointer MemAllocator< T >::allocate | ( | void * | hint = 0,
|  | const int | num_reserved_frags = 1
| ) | `[pure virtual]`

template<class T>
virtual void MemAllocator< T >::deallocate | ( | pointer | p | ) | `[pure virtual]`

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

- oscl_media_data.h