TMemoryAllocStats Class Reference

Tato trid slouzi pro alokaci a dealokaci pameti. More...

#include <MemoryAlloc.h>

List of all members.

Static Public Member Functions

static void New_Normal (void)
static void New_Array (void)
static void Delete_Normal (void)
static void Delete_Array (void)

Static Public Attributes

static int m_alloc_normal = 0
 pocet alokaci pomoci operatoru NEW
static int m_alloc_array = 0
 pocet alokaci pomoci operatoru NEW[]


Detailed Description

Tato trid slouzi pro alokaci a dealokaci pameti.

Ve skutecnosti trida pouze zapouzdruje volani standardnich alokacnich operatoru new a delete. Diky tomuto zapouzdreni je mozne kontrolovat mnozstvi alokaci a dealokaci a kontrolovat tak alespon castecne praci s pameti.

Trida v podstate pouze pocita vyskyty, v souboru MemoryAlloc lze definovat zda budou operatory pretizene nebo ne.

Definition at line 29 of file MemoryAlloc.h.


Member Function Documentation

static void TMemoryAllocStats::Delete_Array void   )  [inline, static]
 

Definition at line 36 of file MemoryAlloc.h.

Referenced by operator delete[]().

static void TMemoryAllocStats::Delete_Normal void   )  [inline, static]
 

Definition at line 35 of file MemoryAlloc.h.

References m_alloc_normal.

Referenced by operator delete().

static void TMemoryAllocStats::New_Array void   )  [inline, static]
 

Definition at line 34 of file MemoryAlloc.h.

References m_alloc_array.

Referenced by operator new[]().

static void TMemoryAllocStats::New_Normal void   )  [inline, static]
 

Definition at line 33 of file MemoryAlloc.h.

References m_alloc_normal.

Referenced by operator new().


Member Data Documentation

int TMemoryAllocStats::m_alloc_array = 0 [static]
 

pocet alokaci pomoci operatoru NEW[]

Definition at line 41 of file MemoryAlloc.h.

Referenced by DllMain(), and New_Array().

int TMemoryAllocStats::m_alloc_normal = 0 [static]
 

pocet alokaci pomoci operatoru NEW

Definition at line 36 of file MemoryAlloc.h.

Referenced by Delete_Normal(), DllMain(), and New_Normal().


The documentation for this class was generated from the following files:
Generated on Sat Nov 17 16:25:12 2007 for Image Processing Pipeline by  doxygen 1.4.6-NO