Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::DebugUtil Class Reference

#include <berryDebugUtil.h>

Static Public Member Functions

static DebugBreakpointManagerGetBreakpointManager ()
 
static void TraceObject (const Object *)
 
static void TraceObject (unsigned int traceId)
 
static void TraceClass (const QString &className)
 
static void StopTracing (unsigned int traceId)
 
static void StopTracing (const Object *obj)
 
static void StopTracing (const QString &className)
 
static bool IsTraced (const Object *object)
 
static bool IsTraced (unsigned int traceId)
 
static bool IsTraced (const QString &className)
 
static QSet< unsigned int > GetTracedObjects ()
 
static const ObjectGetObject (unsigned int traceId)
 
static QList< unsigned int > GetSmartPointerIDs (const Object *objectPointer, const QList< unsigned int > &excludeList=QList< unsigned int >())
 
static QList< const Object * > GetRegisteredObjects ()
 
static void PrintSmartPointerIDs (const Object *objectPointer, const QList< unsigned int > &excludeList=QList< unsigned int >())
 
static void ResetObjectSummary ()
 
static bool PrintObjectSummary (bool details=false)
 
static bool PrintObjectSummary (const QString &className, bool details=false)
 
static void AddObjectListener (IDebugObjectListener *listener)
 
static void RemoveObjectListener (IDebugObjectListener *listener)
 
static void SaveState (const QDir &path)
 
static void RestoreState (const QDir &path)
 
static unsigned int & GetSmartPointerCounter ()
 
static void RegisterSmartPointer (unsigned int smartPointerId, const Object *objectPointer, bool recordStack=false)
 
static void UnregisterSmartPointer (unsigned int smartPointerId, const Object *objectPointer)
 
static void RegisterObject (const Object *objectPointer)
 
static void UnregisterObject (const Object *objectPointer)
 

Detailed Description

Definition at line 36 of file berryDebugUtil.h.

Member Function Documentation

void berry::DebugUtil::AddObjectListener ( IDebugObjectListener listener)
static
DebugBreakpointManager * berry::DebugUtil::GetBreakpointManager ( )
static

Definition at line 89 of file berryDebugUtil.cpp.

Referenced by RestoreState(), and SaveState().

const Object * berry::DebugUtil::GetObject ( unsigned int  traceId)
static

Definition at line 239 of file berryDebugUtil.cpp.

QList< const Object * > berry::DebugUtil::GetRegisteredObjects ( )
static

Definition at line 263 of file berryDebugUtil.cpp.

unsigned int & berry::DebugUtil::GetSmartPointerCounter ( )
static

Definition at line 349 of file berryDebugUtil.cpp.

QList< unsigned int > berry::DebugUtil::GetSmartPointerIDs ( const Object objectPointer,
const QList< unsigned int > &  excludeList = QList<unsigned int>() 
)
static

Definition at line 256 of file berryDebugUtil.cpp.

Referenced by PrintSmartPointerIDs().

QSet< unsigned int > berry::DebugUtil::GetTracedObjects ( )
static

Definition at line 234 of file berryDebugUtil.cpp.

bool berry::DebugUtil::IsTraced ( const Object object)
static

Definition at line 194 of file berryDebugUtil.cpp.

Referenced by PrintSmartPointerIDs().

bool berry::DebugUtil::IsTraced ( unsigned int  traceId)
static

Definition at line 216 of file berryDebugUtil.cpp.

bool berry::DebugUtil::IsTraced ( const QString &  className)
static

Definition at line 228 of file berryDebugUtil.cpp.

bool berry::DebugUtil::PrintObjectSummary ( bool  details = false)
static

Definition at line 304 of file berryDebugUtil.cpp.

Referenced by berry::TestCase::tearDown().

bool berry::DebugUtil::PrintObjectSummary ( const QString &  className,
bool  details = false 
)
static

Definition at line 327 of file berryDebugUtil.cpp.

References PrintSmartPointerIDs().

void berry::DebugUtil::PrintSmartPointerIDs ( const Object objectPointer,
const QList< unsigned int > &  excludeList = QList<unsigned int>() 
)
static

Definition at line 268 of file berryDebugUtil.cpp.

References GetSmartPointerIDs(), and IsTraced().

Referenced by PrintObjectSummary().

void berry::DebugUtil::RegisterObject ( const Object objectPointer)
static

Definition at line 404 of file berryDebugUtil.cpp.

Referenced by berry::Object::Object().

void berry::DebugUtil::RegisterSmartPointer ( unsigned int  smartPointerId,
const Object objectPointer,
bool  recordStack = false 
)
static

Definition at line 385 of file berryDebugUtil.cpp.

void berry::DebugUtil::RemoveObjectListener ( IDebugObjectListener listener)
static
void berry::DebugUtil::ResetObjectSummary ( )
static

Definition at line 297 of file berryDebugUtil.cpp.

Referenced by berry::TestCase::setUp().

void berry::DebugUtil::RestoreState ( const QDir &  path)
static
void berry::DebugUtil::SaveState ( const QDir &  path)
static
void berry::DebugUtil::StopTracing ( unsigned int  traceId)
static

Definition at line 151 of file berryDebugUtil.cpp.

void berry::DebugUtil::StopTracing ( const Object obj)
static

Definition at line 164 of file berryDebugUtil.cpp.

void berry::DebugUtil::StopTracing ( const QString &  className)
static

Definition at line 177 of file berryDebugUtil.cpp.

void berry::DebugUtil::TraceClass ( const QString &  className)
static

Definition at line 133 of file berryDebugUtil.cpp.

Referenced by RestoreState().

void berry::DebugUtil::TraceObject ( const Object )
static

Definition at line 103 of file berryDebugUtil.cpp.

Referenced by RestoreState().

void berry::DebugUtil::TraceObject ( unsigned int  traceId)
static

Definition at line 120 of file berryDebugUtil.cpp.

void berry::DebugUtil::UnregisterObject ( const Object objectPointer)
static

Definition at line 416 of file berryDebugUtil.cpp.

Referenced by berry::Object::~Object().

void berry::DebugUtil::UnregisterSmartPointer ( unsigned int  smartPointerId,
const Object objectPointer 
)
static

Definition at line 364 of file berryDebugUtil.cpp.


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