Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <berryDebugBreakpointManager.h>
Public Member Functions | |
void | AddSmartpointerBreakpoint (int smartPointerId, const Object *obj=nullptr) |
void | AddObjectBreakpoint (unsigned long objectTraceId) |
void | RemoveSmartpointerBreakpoint (int smartPointerId) |
void | RemoveObjectBreakpoint (unsigned long objectTraceId) |
const std::set< unsigned long > & | GetObjectBreakpoints () const |
const Poco::HashMap< int, const Object * > & | GetSmartPointerBreakpoints () const |
bool | BreakAtObject (unsigned long traceId) const |
bool | BreakAtSmartpointer (int spId) const |
void | SaveState (const QString &path) const |
void | RestoreState (const QString &path) |
Static Public Attributes | |
static const std::string | BREAKPOINTS_XML |
Definition at line 26 of file berryDebugBreakpointManager.h.
void berry::DebugBreakpointManager::AddObjectBreakpoint | ( | unsigned long | objectTraceId | ) |
Definition at line 53 of file berryDebugBreakpointManager.cpp.
Referenced by SaveState().
void berry::DebugBreakpointManager::AddSmartpointerBreakpoint | ( | int | smartPointerId, |
const Object * | obj = nullptr |
||
) |
Definition at line 46 of file berryDebugBreakpointManager.cpp.
Referenced by SaveState().
bool berry::DebugBreakpointManager::BreakAtObject | ( | unsigned long | traceId | ) | const |
Definition at line 79 of file berryDebugBreakpointManager.cpp.
bool berry::DebugBreakpointManager::BreakAtSmartpointer | ( | int | spId | ) | const |
Definition at line 84 of file berryDebugBreakpointManager.cpp.
References berry::Object::GetClassName(), berry::DebugUtil::GetObject(), and SaveState().
const std::set< unsigned long > & berry::DebugBreakpointManager::GetObjectBreakpoints | ( | ) | const |
Definition at line 69 of file berryDebugBreakpointManager.cpp.
const Poco::HashMap< int, const Object * > & berry::DebugBreakpointManager::GetSmartPointerBreakpoints | ( | ) | const |
Definition at line 74 of file berryDebugBreakpointManager.cpp.
void berry::DebugBreakpointManager::RemoveObjectBreakpoint | ( | unsigned long | objectTraceId | ) |
Definition at line 64 of file berryDebugBreakpointManager.cpp.
void berry::DebugBreakpointManager::RemoveSmartpointerBreakpoint | ( | int | smartPointerId | ) |
Definition at line 59 of file berryDebugBreakpointManager.cpp.
void berry::DebugBreakpointManager::RestoreState | ( | const QString & | path | ) |
Definition at line 228 of file berryDebugBreakpointManager.cpp.
Referenced by SaveState().
void berry::DebugBreakpointManager::SaveState | ( | const QString & | path | ) | const |
Definition at line 141 of file berryDebugBreakpointManager.cpp.
References AddObjectBreakpoint(), AddSmartpointerBreakpoint(), BERRY_WARN, berry::DebugUtil::GetBreakpointManager(), and RestoreState().
Referenced by BreakAtSmartpointer().
|
static |
Definition at line 30 of file berryDebugBreakpointManager.h.
Referenced by berry::DebugUtil::RestoreState(), and berry::DebugUtil::SaveState().