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

#include <breakpointsdlg.h>

Inheritance diagram for BreakpointsDlg:
Collaboration diagram for BreakpointsDlg:

Classes

struct  Item
 

Public Member Functions

 BreakpointsDlg ()
 
wxWindowGetWindow ()
 
bool AddBreakpoint (cbDebuggerPlugin *plugin, const wxString &filename, int line)
 
bool RemoveBreakpoint (cbDebuggerPlugin *plugin, const wxString &filename, int line)
 
void RemoveAllBreakpoints ()
 
void EditBreakpoint (const wxString &filename, int line)
 
void EnableBreakpoint (const wxString &filename, int line, bool enable)
 
void Reload ()
 
- Public Member Functions inherited from cbBreakpointsDlg
virtual ~cbBreakpointsDlg ()
 

Private Types

enum  Columns {
  Type = 0, FilenameAddress, Line, Info,
  Debugger
}
 
typedef std::vector< ItemItems
 

Private Member Functions

void OnRemove (wxCommandEvent &event)
 
void OnRemoveAll (wxCommandEvent &event)
 
void OnProperties (wxCommandEvent &event)
 
void OnOpen (wxCommandEvent &event)
 
void OnEnable (wxCommandEvent &event)
 
void OnShowTemp (wxCommandEvent &event)
 
void OnRightClick (wxListEvent &event)
 
void OnDoubleClick (wxListEvent &event)
 
void OnBreakpointAdd (CodeBlocksEvent &event)
 
void OnBreakpointEdit (CodeBlocksEvent &event)
 
void OnKeyUp (wxKeyEvent &event)
 
void OnUpdateUI (wxUpdateUIEvent &event)
 
Items::iterator FindBreakpoint (const wxString &filename, int line)
 
void BreakpointProperties (const Item &item)
 

Private Attributes

wxListCtrlm_pList
 
Items m_breakpoints
 
wxImageList m_icons
 

Friends

struct FindBreakpointPred
 

Detailed Description

Definition at line 24 of file breakpointsdlg.h.

Member Typedef Documentation

◆ Items

typedef std::vector<Item> BreakpointsDlg::Items
private

Definition at line 77 of file breakpointsdlg.h.

Member Enumeration Documentation

◆ Columns

Enumerator
Type 
FilenameAddress 
Line 
Info 
Debugger 

Definition at line 53 of file breakpointsdlg.h.

Constructor & Destructor Documentation

◆ BreakpointsDlg()

BreakpointsDlg::BreakpointsDlg ( )

Member Function Documentation

◆ AddBreakpoint()

bool BreakpointsDlg::AddBreakpoint ( cbDebuggerPlugin plugin,
const wxString filename,
int  line 
)
virtual

Implements cbBreakpointsDlg.

Definition at line 171 of file breakpointsdlg.cpp.

References cbDebuggerPlugin::AddBreakpoint(), and Reload().

Referenced by GetWindow().

◆ BreakpointProperties()

void BreakpointsDlg::BreakpointProperties ( const Item item)
private

◆ EditBreakpoint()

void BreakpointsDlg::EditBreakpoint ( const wxString filename,
int  line 
)
virtual

Implements cbBreakpointsDlg.

Definition at line 248 of file breakpointsdlg.cpp.

References BreakpointProperties(), FindBreakpoint(), and m_breakpoints.

Referenced by GetWindow().

◆ EnableBreakpoint()

void BreakpointsDlg::EnableBreakpoint ( const wxString filename,
int  line,
bool  enable 
)
virtual

◆ FindBreakpoint()

BreakpointsDlg::Items::iterator BreakpointsDlg::FindBreakpoint ( const wxString filename,
int  line 
)
private

Definition at line 158 of file breakpointsdlg.cpp.

References m_breakpoints.

Referenced by EditBreakpoint(), and EnableBreakpoint().

◆ GetWindow()

wxWindow* BreakpointsDlg::GetWindow ( )
inlinevirtual

◆ OnBreakpointAdd()

void BreakpointsDlg::OnBreakpointAdd ( CodeBlocksEvent event)
private

◆ OnBreakpointEdit()

void BreakpointsDlg::OnBreakpointEdit ( CodeBlocksEvent event)
private

◆ OnDoubleClick()

void BreakpointsDlg::OnDoubleClick ( wxListEvent event)
private

Definition at line 386 of file breakpointsdlg.cpp.

References OnOpen().

Referenced by BreakpointsDlg(), and GetWindow().

◆ OnEnable()

void BreakpointsDlg::OnEnable ( wxCommandEvent event)
private

◆ OnKeyUp()

void BreakpointsDlg::OnKeyUp ( wxKeyEvent event)
private

Definition at line 392 of file breakpointsdlg.cpp.

References wxKeyEvent::GetKeyCode(), OnRemove(), WXK_DELETE, and WXK_NUMPAD_DELETE.

Referenced by GetWindow().

◆ OnOpen()

void BreakpointsDlg::OnOpen ( wxCommandEvent event)
private

◆ OnProperties()

void BreakpointsDlg::OnProperties ( wxCommandEvent event)
private

◆ OnRemove()

void BreakpointsDlg::OnRemove ( wxCommandEvent event)
private

◆ OnRemoveAll()

void BreakpointsDlg::OnRemoveAll ( wxCommandEvent event)
private

Definition at line 299 of file breakpointsdlg.cpp.

References RemoveAllBreakpoints().

Referenced by GetWindow().

◆ OnRightClick()

void BreakpointsDlg::OnRightClick ( wxListEvent event)
private

◆ OnShowTemp()

void BreakpointsDlg::OnShowTemp ( wxCommandEvent event)
private

◆ OnUpdateUI()

void BreakpointsDlg::OnUpdateUI ( wxUpdateUIEvent event)
private

◆ Reload()

void BreakpointsDlg::Reload ( )
virtual

◆ RemoveAllBreakpoints()

void BreakpointsDlg::RemoveAllBreakpoints ( )
virtual

◆ RemoveBreakpoint()

bool BreakpointsDlg::RemoveBreakpoint ( cbDebuggerPlugin plugin,
const wxString filename,
int  line 
)
virtual

Implements cbBreakpointsDlg.

Definition at line 202 of file breakpointsdlg.cpp.

References FindBreakpointPred, m_breakpoints, and Reload().

Referenced by GetWindow().

Friends And Related Function Documentation

◆ FindBreakpointPred

friend struct FindBreakpointPred
friend

Definition at line 62 of file breakpointsdlg.h.

Referenced by RemoveBreakpoint().

Member Data Documentation

◆ m_breakpoints

Items BreakpointsDlg::m_breakpoints
private

◆ m_icons

wxImageList BreakpointsDlg::m_icons
private

Definition at line 85 of file breakpointsdlg.h.

◆ m_pList

wxListCtrl* BreakpointsDlg::m_pList
private

Definition at line 83 of file breakpointsdlg.h.

Referenced by OnEnable(), OnOpen(), OnProperties(), OnRemove(), OnRightClick(), and Reload().


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