Code::Blocks  SVN r11506
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
WatchesDlg Class Reference

#include <watchesdlg.h>

Inheritance diagram for WatchesDlg:
Collaboration diagram for WatchesDlg:

Classes

struct  WatchItem
 
struct  WatchItemPredicate
 

Public Member Functions

 WatchesDlg ()
 
wxWindowGetWindow ()
 
void UpdateWatches ()
 
void AddWatch (cb::shared_ptr< cbWatch > watch)
 
void AddSpecialWatch (cb::shared_ptr< cbWatch > watch, bool readonly)
 
void RemoveWatch (cb::shared_ptr< cbWatch > watch)
 
void RenameWatch (wxObject *prop, const wxString &newSymbol)
 
void RefreshUI ()
 
- Public Member Functions inherited from cbWatchesDlg
virtual ~cbWatchesDlg ()
 

Private Types

typedef std::vector< WatchItemWatchItems
 

Private Member Functions

void OnExpand (wxPropertyGridEvent &event)
 
void OnCollapse (wxPropertyGridEvent &event)
 
void OnPropertySelected (wxPropertyGridEvent &event)
 
void OnPropertyChanged (wxPropertyGridEvent &event)
 
void OnPropertyChanging (wxPropertyGridEvent &event)
 
void OnPropertyLableEditBegin (wxPropertyGridEvent &event)
 
void OnPropertyLableEditEnd (wxPropertyGridEvent &event)
 
void OnPropertyRightClick (wxPropertyGridEvent &event)
 
void OnIdle (wxIdleEvent &event)
 
void OnKeyDown (wxKeyEvent &event)
 
void OnMenuRename (wxCommandEvent &event)
 
void OnMenuProperties (wxCommandEvent &event)
 
void OnMenuDelete (wxCommandEvent &event)
 
void OnMenuDeleteAll (wxCommandEvent &event)
 
void OnMenuAddDataBreak (wxCommandEvent &event)
 
void OnMenuExamineMemory (cb_unused wxCommandEvent &event)
 
void OnMenuAutoUpdate (wxCommandEvent &event)
 
void OnMenuUpdate (wxCommandEvent &event)
 
void DeleteProperty (WatchesProperty &prop)
 

Private Attributes

wxPropertyGridm_grid
 
WatchItems m_watches
 
bool m_append_empty_watch
 

Detailed Description

Definition at line 22 of file watchesdlg.h.

Member Typedef Documentation

◆ WatchItems

typedef std::vector<WatchItem> WatchesDlg::WatchItems
private

Definition at line 69 of file watchesdlg.h.

Constructor & Destructor Documentation

◆ WatchesDlg()

WatchesDlg::WatchesDlg ( )

Member Function Documentation

◆ AddSpecialWatch()

void WatchesDlg::AddSpecialWatch ( cb::shared_ptr< cbWatch watch,
bool  readonly 
)
virtual

◆ AddWatch()

void WatchesDlg::AddWatch ( cb::shared_ptr< cbWatch watch)
virtual

◆ DeleteProperty()

void WatchesDlg::DeleteProperty ( WatchesProperty prop)
private

◆ GetWindow()

wxWindow* WatchesDlg::GetWindow ( )
inlinevirtual

◆ OnCollapse()

void WatchesDlg::OnCollapse ( wxPropertyGridEvent event)
private

◆ OnExpand()

void WatchesDlg::OnExpand ( wxPropertyGridEvent event)
private

◆ OnIdle()

void WatchesDlg::OnIdle ( wxIdleEvent event)
private

◆ OnKeyDown()

void WatchesDlg::OnKeyDown ( wxKeyEvent event)
private

◆ OnMenuAddDataBreak()

void WatchesDlg::OnMenuAddDataBreak ( wxCommandEvent event)
private

◆ OnMenuAutoUpdate()

void WatchesDlg::OnMenuAutoUpdate ( wxCommandEvent event)
private

Definition at line 964 of file watchesdlg.cpp.

References wxPropertyGrid::GetSelection(), WatchesProperty::GetWatch(), and m_grid.

Referenced by GetWindow().

◆ OnMenuDelete()

void WatchesDlg::OnMenuDelete ( wxCommandEvent event)
private

Definition at line 890 of file watchesdlg.cpp.

References DeleteProperty(), wxPropertyGrid::GetSelection(), and m_grid.

Referenced by GetWindow().

◆ OnMenuDeleteAll()

void WatchesDlg::OnMenuDeleteAll ( wxCommandEvent event)
private

◆ OnMenuExamineMemory()

void WatchesDlg::OnMenuExamineMemory ( cb_unused wxCommandEvent event)
private

◆ OnMenuProperties()

void WatchesDlg::OnMenuProperties ( wxCommandEvent event)
private

◆ OnMenuRename()

void WatchesDlg::OnMenuRename ( wxCommandEvent event)
private

Definition at line 865 of file watchesdlg.cpp.

References wxPropertyGrid::BeginLabelEdit(), wxPropertyGrid::GetLabelEditor(), and m_grid.

Referenced by GetWindow().

◆ OnMenuUpdate()

void WatchesDlg::OnMenuUpdate ( wxCommandEvent event)
private

◆ OnPropertyChanged()

void WatchesDlg::OnPropertyChanged ( wxPropertyGridEvent event)
private

Definition at line 622 of file watchesdlg.cpp.

References SetValue().

Referenced by GetWindow().

◆ OnPropertyChanging()

void WatchesDlg::OnPropertyChanging ( wxPropertyGridEvent event)
private

◆ OnPropertyLableEditBegin()

void WatchesDlg::OnPropertyLableEditBegin ( wxPropertyGridEvent event)
private

Definition at line 634 of file watchesdlg.cpp.

References wxPGProperty::GetParent(), wxPGProperty::IsRoot(), and wxPropertyGridEvent::Veto().

Referenced by GetWindow().

◆ OnPropertyLableEditEnd()

void WatchesDlg::OnPropertyLableEditEnd ( wxPropertyGridEvent event)
private

◆ OnPropertyRightClick()

void WatchesDlg::OnPropertyRightClick ( wxPropertyGridEvent event)
private

◆ OnPropertySelected()

void WatchesDlg::OnPropertySelected ( wxPropertyGridEvent event)
private

◆ RefreshUI()

void WatchesDlg::RefreshUI ( )
virtual

◆ RemoveWatch()

void WatchesDlg::RemoveWatch ( cb::shared_ptr< cbWatch watch)
virtual

Implements cbWatchesDlg.

Definition at line 591 of file watchesdlg.cpp.

References DeleteProperty(), and m_watches.

Referenced by GetWindow().

◆ RenameWatch()

void WatchesDlg::RenameWatch ( wxObject prop,
const wxString newSymbol 
)
virtual

◆ UpdateWatches()

void WatchesDlg::UpdateWatches ( )
virtual

Implements cbWatchesDlg.

Definition at line 529 of file watchesdlg.cpp.

References m_grid, m_watches, and UpdateWatch().

Referenced by GetWindow().

Member Data Documentation

◆ m_append_empty_watch

bool WatchesDlg::m_append_empty_watch
private

Definition at line 75 of file watchesdlg.h.

Referenced by OnIdle(), and RenameWatch().

◆ m_grid

wxPropertyGrid* WatchesDlg::m_grid
private

◆ m_watches

WatchItems WatchesDlg::m_watches
private

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