LLDB  mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::Breakpoint::BreakpointEventData Class Reference

#include <Breakpoint.h>

Inheritance diagram for lldb_private::Breakpoint::BreakpointEventData:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::Breakpoint::BreakpointEventData:
Collaboration graph
[legend]

Public Member Functions

 BreakpointEventData (lldb::BreakpointEventType sub_type, const lldb::BreakpointSP &new_breakpoint_sp)
 
 ~BreakpointEventData () override
 
ConstString GetFlavor () const override
 
lldb::BreakpointEventType GetBreakpointEventType () const
 
lldb::BreakpointSP & GetBreakpoint ()
 
BreakpointLocationCollectionGetBreakpointLocationCollection ()
 
void Dump (Stream *s) const override
 
- Public Member Functions inherited from lldb_private::EventData
 EventData ()
 
virtual ~EventData ()
 

Static Public Member Functions

static ConstString GetFlavorString ()
 
static lldb::BreakpointEventType GetBreakpointEventTypeFromEvent (const lldb::EventSP &event_sp)
 
static lldb::BreakpointSP GetBreakpointFromEvent (const lldb::EventSP &event_sp)
 
static lldb::BreakpointLocationSP GetBreakpointLocationAtIndexFromEvent (const lldb::EventSP &event_sp, uint32_t loc_idx)
 
static size_t GetNumBreakpointLocationsFromEvent (const lldb::EventSP &event_sp)
 
static const BreakpointEventDataGetEventDataFromEvent (const Event *event_sp)
 

Private Member Functions

 BreakpointEventData (const BreakpointEventData &)=delete
 
const BreakpointEventDataoperator= (const BreakpointEventData &)=delete
 

Private Attributes

lldb::BreakpointEventType m_breakpoint_event
 
lldb::BreakpointSP m_new_breakpoint_sp
 
BreakpointLocationCollection m_locations
 

Detailed Description

Definition at line 98 of file Breakpoint.h.

Constructor & Destructor Documentation

◆ BreakpointEventData() [1/2]

lldb_private::Breakpoint::BreakpointEventData::BreakpointEventData ( lldb::BreakpointEventType  sub_type,
const lldb::BreakpointSP &  new_breakpoint_sp 
)

◆ ~BreakpointEventData()

Breakpoint::BreakpointEventData::~BreakpointEventData ( )
overridedefault

◆ BreakpointEventData() [2/2]

lldb_private::Breakpoint::BreakpointEventData::BreakpointEventData ( const BreakpointEventData )
privatedelete

Member Function Documentation

◆ Dump()

void Breakpoint::BreakpointEventData::Dump ( Stream s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 1058 of file Breakpoint.cpp.

◆ GetBreakpoint()

BreakpointSP & Breakpoint::BreakpointEventData::GetBreakpoint ( )

Definition at line 1049 of file Breakpoint.cpp.

◆ GetBreakpointEventType()

BreakpointEventType Breakpoint::BreakpointEventData::GetBreakpointEventType ( ) const

Definition at line 1054 of file Breakpoint.cpp.

Referenced by GetBreakpointEventTypeFromEvent().

◆ GetBreakpointEventTypeFromEvent()

BreakpointEventType Breakpoint::BreakpointEventData::GetBreakpointEventTypeFromEvent ( const lldb::EventSP &  event_sp)
static

Definition at line 1072 of file Breakpoint.cpp.

References GetBreakpointEventType().

Referenced by lldb_private::Debugger::HandleBreakpointEvent().

◆ GetBreakpointFromEvent()

BreakpointSP Breakpoint::BreakpointEventData::GetBreakpointFromEvent ( const lldb::EventSP &  event_sp)
static

Definition at line 1082 of file Breakpoint.cpp.

References m_new_breakpoint_sp.

Referenced by lldb_private::Debugger::HandleBreakpointEvent().

◆ GetBreakpointLocationAtIndexFromEvent()

lldb::BreakpointLocationSP Breakpoint::BreakpointEventData::GetBreakpointLocationAtIndexFromEvent ( const lldb::EventSP &  event_sp,
uint32_t  loc_idx 
)
static

◆ GetBreakpointLocationCollection()

BreakpointLocationCollection& lldb_private::Breakpoint::BreakpointEventData::GetBreakpointLocationCollection ( )
inline

◆ GetEventDataFromEvent()

const Breakpoint::BreakpointEventData * Breakpoint::BreakpointEventData::GetEventDataFromEvent ( const Event event_sp)
static

◆ GetFlavor()

ConstString Breakpoint::BreakpointEventData::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 1045 of file Breakpoint.cpp.

References GetFlavorString().

◆ GetFlavorString()

ConstString Breakpoint::BreakpointEventData::GetFlavorString ( )
static

Definition at line 1040 of file Breakpoint.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetNumBreakpointLocationsFromEvent()

size_t Breakpoint::BreakpointEventData::GetNumBreakpointLocationsFromEvent ( const lldb::EventSP &  event_sp)
static

◆ operator=()

const BreakpointEventData& lldb_private::Breakpoint::BreakpointEventData::operator= ( const BreakpointEventData )
privatedelete

Member Data Documentation

◆ m_breakpoint_event

lldb::BreakpointEventType lldb_private::Breakpoint::BreakpointEventData::m_breakpoint_event
private

Definition at line 136 of file Breakpoint.h.

◆ m_locations

BreakpointLocationCollection lldb_private::Breakpoint::BreakpointEventData::m_locations
private

◆ m_new_breakpoint_sp

lldb::BreakpointSP lldb_private::Breakpoint::BreakpointEventData::m_new_breakpoint_sp
private

Definition at line 137 of file Breakpoint.h.

Referenced by GetBreakpointFromEvent().


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