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

_OsclBasicAllocator Class Reference
[OSCL Base]

#include <oscl_base_alloc.h>

Inheritance diagram for _OsclBasicAllocator:

Oscl_DefAlloc Oscl_Alloc Oscl_Dealloc

Public Methods

OsclAnyallocate (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 API
Posting Version: OPENCORE_20090310