Medical Imaging Interaction Toolkit  2023.12.00
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 32 of file berryDebugUtil.h.

Member Function Documentation

◆ AddObjectListener()

static void berry::DebugUtil::AddObjectListener ( IDebugObjectListener listener)
static

◆ GetBreakpointManager()

static DebugBreakpointManager* berry::DebugUtil::GetBreakpointManager ( )
static

◆ GetObject()

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

◆ GetRegisteredObjects()

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

◆ GetSmartPointerCounter()

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

◆ GetSmartPointerIDs()

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

◆ GetTracedObjects()

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

◆ IsTraced() [1/3]

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

◆ IsTraced() [2/3]

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

◆ IsTraced() [3/3]

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

◆ PrintObjectSummary() [1/2]

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

◆ PrintObjectSummary() [2/2]

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

◆ PrintSmartPointerIDs()

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

◆ RegisterObject()

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

◆ RegisterSmartPointer()

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

◆ RemoveObjectListener()

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

◆ ResetObjectSummary()

static void berry::DebugUtil::ResetObjectSummary ( )
static

◆ RestoreState()

static void berry::DebugUtil::RestoreState ( const QDir &  path)
static

◆ SaveState()

static void berry::DebugUtil::SaveState ( const QDir &  path)
static

◆ StopTracing() [1/3]

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

◆ StopTracing() [2/3]

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

◆ StopTracing() [3/3]

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

◆ TraceClass()

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

◆ TraceObject() [1/2]

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

◆ TraceObject() [2/2]

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

◆ UnregisterObject()

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

◆ UnregisterSmartPointer()

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

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