MemoryLeakIndicator
Lade ...
Suche ...
Keine Treffer
MemoryLeakIndicator.h-Dateireferenz

Header für MemSpy::LeakMap Mehr ...

#include <unordered_map>
#include <basetsd.h>
#include <stdarg.h>
#include <windows.h>

gehe zum Quellcode dieser Datei

Klassen

class  MemSpy::Trace
 Klasse, um eine TRACE-Ausgaben auch im Releas-Modus ins Ausgabefenster schreiben zu können.
Gefunden in http://blog.m-ri.de/index.php/2009/08/09/vs-tippstricks-einfache-ausgabe-mit-trace-auch-in-der-release-version/ Mehr ...
 
class  MemSpy::LeakMap
 Klasse um vergessene Objekte im Speicher im Zugriff zu haben.
Inspiriert von Rainer Grimm und Mouaz Chamieh. Mehr ...
 
struct  MemSpy::LeakMap::MemoryItem
 Referenz auf das instantiierte Objekt mit Dateinamen und Zeile, in der es instantiiert wurde. Mehr ...
 

Namensbereiche

namespace  MemSpy
 

Makrodefinitionen

#define __mem_leak_indicator_export_dll
 
#define NULL_PTR   NULL
 

Typdefinitionen

typedef bool MemSpy::TbExceptionMode
 
typedef int MemSpy::TiOutput
 

Aufzählungen

enum  MemSpy::SeekMode { MemSpy::START , MemSpy::NEXT , MemSpy::CURRENT }
 

Funktionen

__mem_leak_indicator_export_dll MemSpy::LeakMapMemSpy::activateMemoryMonitoring (MemSpy::TbExceptionMode bExceptionMode=MemSpy::THROW)
 
void __mem_leak_indicator_export_dll MemSpy::finishMemoryMonitoring (MemSpy::TiOutput iOutput=MemSpy::OUTPUT_CONSOLE)
 

Variablen

const TbExceptionMode MemSpy::NOTHROW = false
 
const TbExceptionMode MemSpy::THROW = true
 
const TiOutput MemSpy::OUTPUT_NON = 0
 
const TiOutput MemSpy::OUTPUT_CONSOLE = 1
 
const TiOutput MemSpy::OUTPUT_TRACE = 2
 

Ausführliche Beschreibung

Header für MemSpy::LeakMap

Autor
Helmut Jakoby

Terms of License

This file is part of the MemoryLeakIndicator module.

MemoryLeakIndicator is free software:

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GNU Affero General Public License Usage
You can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Please review the following information to ensure the GNU Affero General Public License requirements will be met: https://www.gnu.org/licenses/agpl-3.0.en.html .

Makro-Dokumentation

◆ __mem_leak_indicator_export_dll

#define __mem_leak_indicator_export_dll

◆ NULL_PTR

#define NULL_PTR   NULL

In Visual Studio die "Eigenschaften::C/C++::Alle Optionen::Zusätzliche Optionen:" um "/Zc:__cplusplus" erweitern!