TAllocInterfaceAlign16 Class Reference

This class represents abstract class (interface) with methods for allocating memory via operators new, delete, new[] and delete[]. More...

#include <AllocInterface.h>

Inheritance diagram for TAllocInterfaceAlign16:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAllocInterfaceAlign16 (void)
 Constructor.
 ~TAllocInterfaceAlign16 (void)
 Destructor.
void * operator new (size_t size)
 Operator new.
void * operator new[] (size_t size)
 Operator new[].
void operator delete (void *ptr)
 Operator delete.
void operator delete[] (void *ptr)
 Operator delete.

Detailed Description

This class represents abstract class (interface) with methods for allocating memory via operators new, delete, new[] and delete[].

Any class derived from this class contains this operators.

MAIN DIFFERENCE FROM TAllocInterface IS there are used ALIGNED versions of memory allocations!!! Memory for class derived from this class always be aligned to 16-bytes boundary (e.g. required for SSE)

There may exists instance of this class, but it does nothing.

 Usage:
        class TNewClass: public TAllocInterfaceAlign16{...}
*

Definition at line 127 of file AllocInterface.h.


Constructor & Destructor Documentation

TAllocInterfaceAlign16::TAllocInterfaceAlign16 void   )  [inline]
 

Constructor.

Definition at line 133 of file AllocInterface.h.

TAllocInterfaceAlign16::~TAllocInterfaceAlign16 void   )  [inline]
 

Destructor.

Definition at line 136 of file AllocInterface.h.


Member Function Documentation

void TAllocInterfaceAlign16::operator delete void *  ptr  )  [inline]
 

Operator delete.

Parameters:
ptr [in] pointer to release

Definition at line 151 of file AllocInterface.h.

References TMemManager::free_align().

Here is the call graph for this function:

void TAllocInterfaceAlign16::operator delete[] void *  ptr  )  [inline]
 

Operator delete.

Parameters:
ptr [in] pointer to release

Definition at line 155 of file AllocInterface.h.

References TMemManager::free_align().

Here is the call graph for this function:

void* TAllocInterfaceAlign16::operator new size_t  size  )  [inline]
 

Operator new.

Parameters:
size [in] number of bytes to allocate

Definition at line 143 of file AllocInterface.h.

References TMemManager::new_align().

Here is the call graph for this function:

void* TAllocInterfaceAlign16::operator new[] size_t  size  )  [inline]
 

Operator new[].

Parameters:
size [in] number of bytes to allocate

Definition at line 147 of file AllocInterface.h.

References TMemManager::new_align().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Nov 28 22:41:21 2007 for Joy4D by  doxygen 1.4.6-NO