Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
Standard_MMgrTBBalloc Class Reference

Implementation of OCC memory manager which uses Intel TBB scalable allocator. More...

#include <Standard_MMgrTBBalloc.hxx>

Inheritance diagram for Standard_MMgrTBBalloc:
Inheritance graph
[legend]

Public Member Functions

 Standard_MMgrTBBalloc (const Standard_Boolean aClear=Standard_False)
 Constructor; if aClear is True, the memory will be nullified upon allocation.
virtual Standard_Address Allocate (const Standard_Size aSize)
 Allocate aSize bytes.
virtual Standard_Address Reallocate (Standard_Address &aPtr, const Standard_Size aSize)
 Reallocate aPtr to the size aSize. The pointer aPtr is nullified; new pointer is returned.
virtual void Free (Standard_Address &)
 Free allocated memory. The pointer is nullified.

Protected Attributes

Standard_Boolean myClear

Detailed Description

On configurations where TBB is not available standard RTL functions malloc() / free() are used.


Constructor & Destructor Documentation


Member Function Documentation

Implements Standard_MMgrRoot.

Implements Standard_MMgrRoot.

Implements Standard_MMgrRoot.


Field Documentation


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