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

# _OsclBasicAllocator Class Reference
[OSCL Base]

`#include <oscl_base_alloc.h>`

Inheritance diagram for _OsclBasicAllocator:

## Public Methods
OsclAny * | allocate (const uint32 size)
void | deallocate (OsclAny *p)
virtual | ~_OsclBasicAllocator ()

## Detailed Description

A basic allocator that does not rely on other modules. There is no memory auditing or exception generation.

Note: this allocator is for internal use by Oscl code only. Higher level code should use OsclMemAllocator defined in "oscl_mem.h".

## Constructor & Destructor Documentation

virtual _OsclBasicAllocator::~_OsclBasicAllocator | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

OsclAny* _OsclBasicAllocator::allocate | ( | const uint32 | size | ) | `[inline, virtual]`

| Implements Oscl_DefAlloc.

void _OsclBasicAllocator::deallocate | ( | OsclAny * | p | ) | `[inline, virtual]`

| Implements Oscl_DefAlloc.

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

- oscl_base_alloc.h