TAllocInterfaceAlign8 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 TAllocInterfaceAlign8:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAllocInterfaceAlign8 (void)
 Constructor.
 ~TAllocInterfaceAlign8 (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 8-bytes boundary.

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

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

Definition at line 216 of file AllocInterface.h.


Constructor & Destructor Documentation

TAllocInterfaceAlign8::TAllocInterfaceAlign8 void   )  [inline]
 

Constructor.

Definition at line 222 of file AllocInterface.h.

TAllocInterfaceAlign8::~TAllocInterfaceAlign8 void   )  [inline]
 

Destructor.

Definition at line 225 of file AllocInterface.h.


Member Function Documentation

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

Operator delete.

Parameters:
ptr [in] pointer to release

Definition at line 240 of file AllocInterface.h.

References TMemManager::free_align().

Here is the call graph for this function:

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

Operator delete.

Parameters:
ptr [in] pointer to release

Definition at line 244 of file AllocInterface.h.

References TMemManager::free_align().

Here is the call graph for this function:

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

Operator new.

Parameters:
size [in] number of bytes to allocate

Definition at line 232 of file AllocInterface.h.

References TMemManager::new_align().

Here is the call graph for this function:

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

Operator new[].

Parameters:
size [in] number of bytes to allocate

Definition at line 236 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:25 2007 for Joy4D by  doxygen 1.4.6-NO