Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Private Attributes | Friends
OVR::Allocator Class Reference

#include <OVR_Allocator.h>

Inheritance diagram for OVR::Allocator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void * Alloc (UPInt size)=0
virtual void * AllocAligned (UPInt size, UPInt align)
virtual void * AllocDebug (UPInt size, const char *file, unsigned line)
virtual void Free (void *p)=0
virtual void FreeAligned (void *p)
virtual void * Realloc (void *p, UPInt newSize)=0

Static Public Member Functions

static AllocatorGetInstance ()
static void setInstance (Allocator *palloc)

Protected Member Functions

virtual void onSystemShutdown ()

Static Private Attributes

static AllocatorpInstance = 0

Friends

class System

Detailed Description

Definition at line 166 of file OVR_Allocator.h.


Member Function Documentation

virtual void* OVR::Allocator::Alloc ( UPInt  size) [pure virtual]

Implemented in OVR::DefaultAllocator.

void * OVR::Allocator::AllocAligned ( UPInt  size,
UPInt  align 
) [virtual]

Definition at line 31 of file OVR_Allocator.cpp.

virtual void* OVR::Allocator::AllocDebug ( UPInt  size,
const char *  file,
unsigned  line 
) [inline, virtual]

Reimplemented in OVR::DefaultAllocator.

Definition at line 178 of file OVR_Allocator.h.

virtual void OVR::Allocator::Free ( void *  p) [pure virtual]

Implemented in OVR::DefaultAllocator.

void OVR::Allocator::FreeAligned ( void *  p) [virtual]

Definition at line 47 of file OVR_Allocator.cpp.

static Allocator* OVR::Allocator::GetInstance ( ) [inline, static]

Definition at line 205 of file OVR_Allocator.h.

virtual void OVR::Allocator::onSystemShutdown ( ) [inline, protected, virtual]
virtual void* OVR::Allocator::Realloc ( void *  p,
UPInt  newSize 
) [pure virtual]

Implemented in OVR::DefaultAllocator.

static void OVR::Allocator::setInstance ( Allocator palloc) [inline, static]

Definition at line 214 of file OVR_Allocator.h.


Friends And Related Function Documentation

friend class System [friend]

Definition at line 168 of file OVR_Allocator.h.


Member Data Documentation

Allocator * OVR::Allocator::pInstance = 0 [static, private]

Definition at line 222 of file OVR_Allocator.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:49