Code::Blocks
SVN r11506
|
#include <debuggermanager.h>
Public Member Functions | |
cbWatch () | |
virtual void | GetSymbol (wxString &symbol) const =0 |
virtual void | GetValue (wxString &value) const =0 |
virtual bool | SetValue (const wxString &value)=0 |
virtual void | GetFullWatchString (wxString &full_watch) const =0 |
virtual void | GetType (wxString &type) const =0 |
virtual void | SetType (const wxString &type)=0 |
virtual wxString const & | GetDebugString () const =0 |
virtual wxString | MakeSymbolToAddress () const |
This should return a string that when passed to the debugger will return the address of the variable. More... | |
virtual bool | IsPointerType () const |
Tells us if the watch is for pointer variable. More... | |
void | RemoveChild (int index) |
void | RemoveChildren () |
bool | RemoveMarkedChildren () |
int | GetChildCount () const |
cb::shared_ptr< cbWatch > | GetChild (int index) |
cb::shared_ptr< const cbWatch > | GetChild (int index) const |
cb::shared_ptr< cbWatch > | FindChild (const wxString &name) |
int | FindChildIndex (const wxString &symbol) const |
cb::shared_ptr< const cbWatch > | GetParent () const |
cb::shared_ptr< cbWatch > | GetParent () |
bool | IsRemoved () const |
bool | IsChanged () const |
void | MarkAsRemoved (bool flag) |
void | MarkChildsAsRemoved () |
void | MarkAsChanged (bool flag) |
void | MarkAsChangedRecursive (bool flag) |
bool | IsExpanded () const |
void | Expand (bool expand) |
bool | IsAutoUpdateEnabled () const |
void | AutoUpdate (bool enabled) |
Static Public Member Functions | |
static void | AddChild (cb::shared_ptr< cbWatch > parent, cb::shared_ptr< cbWatch > watch) |
Protected Member Functions | |
virtual | ~cbWatch () |
Private Member Functions | |
cbWatch & | operator= (cbWatch &) |
cbWatch (cbWatch &) | |
Private Attributes | |
cb::weak_ptr< cbWatch > | m_parent |
std::vector< cb::shared_ptr< cbWatch > > | m_children |
bool | m_changed |
bool | m_removed |
bool | m_expanded |
bool | m_autoUpdate |
Definition at line 49 of file debuggermanager.h.
|
private |
cbWatch::cbWatch | ( | ) |
Definition at line 45 of file debuggermanager.cpp.
|
protectedvirtual |
Definition at line 53 of file debuggermanager.cpp.
References m_children.
Definition at line 58 of file debuggermanager.cpp.
Referenced by AddChild(), and SUITE().
void cbWatch::AutoUpdate | ( | bool | enabled | ) |
Definition at line 200 of file debuggermanager.cpp.
References m_autoUpdate.
void cbWatch::Expand | ( | bool | expand | ) |
Definition at line 190 of file debuggermanager.cpp.
References m_expanded.
Definition at line 116 of file debuggermanager.cpp.
References m_children.
int cbWatch::FindChildIndex | ( | const wxString & | symbol | ) | const |
Definition at line 128 of file debuggermanager.cpp.
References m_children.
cb::shared_ptr< cbWatch > cbWatch::GetChild | ( | int | index | ) |
Definition at line 102 of file debuggermanager.cpp.
References m_children.
Referenced by AppendChildren(), WatchToString(), and WatchRawDialog::WatchToString().
cb::shared_ptr< const cbWatch > cbWatch::GetChild | ( | int | index | ) | const |
Definition at line 109 of file debuggermanager.cpp.
References m_children.
int cbWatch::GetChildCount | ( | ) | const |
Definition at line 97 of file debuggermanager.cpp.
References m_children.
Referenced by AppendChildren(), WatchToString(), and WatchRawDialog::WatchToString().
|
pure virtual |
Implemented in GDBWatch.
cb::shared_ptr< const cbWatch > cbWatch::GetParent | ( | ) | const |
Definition at line 143 of file debuggermanager.cpp.
References m_parent.
Referenced by GDBWatch::GetFullWatchString(), and DebuggerGDB::OnWatchesContextMenu().
cb::shared_ptr< cbWatch > cbWatch::GetParent | ( | ) |
Definition at line 148 of file debuggermanager.cpp.
References m_parent.
|
pure virtual |
Implemented in GDBWatch.
Referenced by getName(), MakeSymbolToAddress(), DebuggerGDB::OnWatchesContextMenu(), WatchToString(), and WatchRawDialog::WatchToString().
|
pure virtual |
Implemented in GDBWatch.
Referenced by DebuggerGDB::OnWatchesContextMenu().
|
pure virtual |
Implemented in GDBWatch.
Referenced by WatchToString(), and WatchRawDialog::WatchToString().
bool cbWatch::IsAutoUpdateEnabled | ( | ) | const |
Definition at line 195 of file debuggermanager.cpp.
References m_autoUpdate.
bool cbWatch::IsChanged | ( | ) | const |
Definition at line 158 of file debuggermanager.cpp.
References m_changed.
bool cbWatch::IsExpanded | ( | ) | const |
Definition at line 185 of file debuggermanager.cpp.
References m_expanded.
|
virtual |
Tells us if the watch is for pointer variable.
Reimplemented in GDBWatch.
Definition at line 212 of file debuggermanager.cpp.
bool cbWatch::IsRemoved | ( | ) | const |
Definition at line 153 of file debuggermanager.cpp.
References m_removed.
|
virtual |
This should return a string that when passed to the debugger will return the address of the variable.
For example for C/C++ languages for myVar this function will return &myVar.
Reimplemented in GDBWatch.
Definition at line 205 of file debuggermanager.cpp.
References GetSymbol().
void cbWatch::MarkAsChanged | ( | bool | flag | ) |
Definition at line 173 of file debuggermanager.cpp.
References m_changed.
Referenced by GDBWatch::SetValue().
void cbWatch::MarkAsChangedRecursive | ( | bool | flag | ) |
Definition at line 178 of file debuggermanager.cpp.
References m_changed, and m_children.
void cbWatch::MarkAsRemoved | ( | bool | flag | ) |
Definition at line 163 of file debuggermanager.cpp.
References m_removed.
void cbWatch::MarkChildsAsRemoved | ( | ) |
Definition at line 168 of file debuggermanager.cpp.
References m_children.
void cbWatch::RemoveChild | ( | int | index | ) |
Definition at line 64 of file debuggermanager.cpp.
References m_children.
void cbWatch::RemoveChildren | ( | ) |
Definition at line 92 of file debuggermanager.cpp.
References m_children.
bool cbWatch::RemoveMarkedChildren | ( | ) |
Definition at line 82 of file debuggermanager.cpp.
References m_children, and TestIfMarkedForRemoval().
|
private |
Definition at line 106 of file debuggermanager.h.
Referenced by AutoUpdate(), and IsAutoUpdateEnabled().
|
private |
Definition at line 103 of file debuggermanager.h.
Referenced by IsChanged(), MarkAsChanged(), and MarkAsChangedRecursive().
|
private |
Definition at line 102 of file debuggermanager.h.
Referenced by FindChild(), FindChildIndex(), GetChild(), GetChildCount(), MarkAsChangedRecursive(), MarkChildsAsRemoved(), RemoveChild(), RemoveChildren(), RemoveMarkedChildren(), and ~cbWatch().
|
private |
Definition at line 105 of file debuggermanager.h.
Referenced by Expand(), and IsExpanded().
|
private |
Definition at line 101 of file debuggermanager.h.
Referenced by GetParent().
|
private |
Definition at line 104 of file debuggermanager.h.
Referenced by IsRemoved(), and MarkAsRemoved().