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

Oscl_Opaque_Type_Alloc Class Reference
[OSCL Base]

#include <oscl_opaque_type.h>

Inheritance diagram for Oscl_Opaque_Type_Alloc:

Oscl_Queue< T, Alloc > Oscl_Vector< T, Alloc > Oscl_Vector< TOsclReady, OsclReadyAlloc >

Public Methods

virtual ~Oscl_Opaque_Type_Alloc ()
virtual void construct (OsclAny *p, const OsclAny *init_val)=0
virtual void destroy (OsclAny *p)=0
virtual OsclAny * allocate (const uint32 size)=0
virtual void deallocate (OsclAny *p)=0

Detailed Description

This class combines opaque type operations with memory allocation operations.


Constructor & Destructor Documentation

virtual Oscl_Opaque_Type_Alloc::~Oscl_Opaque_Type_Alloc (    )  [inline, virtual]
 


Member Function Documentation

virtual OsclAny* Oscl_Opaque_Type_Alloc::allocate (  const uint32    size )  [pure virtual]
 

Allocate "size" bytes

virtual void Oscl_Opaque_Type_Alloc::construct (  OsclAny *    p,
const OsclAny *    init_val
)  [pure virtual]
 

Construct element at p using element at init_val as the initial value. Both pointers must be non-NULL.

virtual void Oscl_Opaque_Type_Alloc::deallocate (  OsclAny *    p )  [pure virtual]
 

Deallocate memory previously allocated with "allocate"

virtual void Oscl_Opaque_Type_Alloc::destroy (  OsclAny *    p )  [pure virtual]
 

Destroy element at p.


The documentation for this class was generated from the following file:
OSCL API
Posting Version: CORE_8.508.1.1