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

# Oscl_DefAlloc Class Reference
[OSCL Base]

`#include <oscl_defalloc.h>`

Inheritance diagram for Oscl_DefAlloc:

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

## Member Function Documentation

virtual OsclAny* Oscl_DefAlloc::allocate | ( | const uint32 | size | ) | `[pure virtual]`

| Implements Oscl_Alloc. Implemented in _OsclBasicAllocator, OsclMemAllocator, OsclMemBasicAllocator, OsclMemAllocDestructDealloc< T >, OsclMemBasicAllocDestructDealloc< T >, OsclMemPoolFixedChunkAllocator, OsclMemPoolResizableAllocator, and OsclReadyAlloc.

virtual OsclAny* Oscl_DefAlloc::allocate_fl | ( | const uint32 | size,
|  | const char * | file_name,
|  | const int | line_num
| ) | `[inline, virtual]`

| Reimplemented from Oscl_Alloc. Reimplemented in OsclMemAllocator, OsclMemAllocDestructDealloc< T >, and OsclReadyAlloc.

virtual void Oscl_DefAlloc::deallocate | ( | OsclAny * | p | ) | `[pure virtual]`

| Implements Oscl_Dealloc. Implemented in _OsclBasicAllocator, OsclMemAllocator, OsclMemBasicAllocator, OsclMemAllocDestructDealloc< T >, OsclMemBasicAllocDestructDealloc< T >, OsclMemPoolFixedChunkAllocator, OsclMemPoolResizableAllocator, and OsclReadyAlloc.

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

- oscl_defalloc.h