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

# OsclMemAllocDestructDealloc< T > Class Template Reference
[OSCL Memory, OSCL Memory]

`#include <oscl_mem.h>`

Inheritance diagram for OsclMemAllocDestructDealloc< T >:

## Public Methods
OsclAny * | allocate_fl (const uint32 size, const char *file_name, const int line_num)
OsclAny * | allocate (const uint32 size)
void | deallocate (OsclAny *p)
void | destruct_and_dealloc (OsclAny *p)

## Detailed Description

### template<class T>
class OsclMemAllocDestructDealloc< T >

An OsclAllocDestructDealloc class that uses OsclMemAllocator.

## Member Function Documentation

template<class T>
OsclAny* OsclMemAllocDestructDealloc< T >::allocate | ( | const uint32 | size | ) | `[inline, virtual]`

| Implements Oscl_DefAlloc.

template<class T>
OsclAny* OsclMemAllocDestructDealloc< T >::allocate_fl | ( | const uint32 | size,
|  | const char * | file_name,
|  | const int | line_num
| ) | `[inline, virtual]`

| Reimplemented from Oscl_DefAlloc.

template<class T>
void OsclMemAllocDestructDealloc< T >::deallocate | ( | OsclAny * | p | ) | `[inline, virtual]`

| Implements Oscl_DefAlloc.

template<class T>
void OsclMemAllocDestructDealloc< T >::destruct_and_dealloc | ( | OsclAny * | p | ) | `[inline, virtual]`

| Implements OsclDestructDealloc.

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

- oscl_mem.h