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]

Public Member Functions

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

Static Public Member Functions

static llvm::StringRef 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 101 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

◆ GetBreakpoint()

BreakpointSP Breakpoint::BreakpointEventData::GetBreakpoint ( ) const

Definition at line 1036 of file Breakpoint.cpp.

◆ GetBreakpointEventType()

BreakpointEventType Breakpoint::BreakpointEventData::GetBreakpointEventType ( ) const

Definition at line 1041 of file Breakpoint.cpp.

Referenced by GetBreakpointEventTypeFromEvent().

◆ GetBreakpointEventTypeFromEvent()

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

◆ GetBreakpointFromEvent()

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

◆ GetBreakpointLocationAtIndexFromEvent()

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

◆ GetBreakpointLocationCollection()

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

Definition at line 118 of file Breakpoint.h.

References m_locations.

◆ GetEventDataFromEvent()

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

◆ GetFlavor()

llvm::StringRef Breakpoint::BreakpointEventData::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 1032 of file Breakpoint.cpp.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef Breakpoint::BreakpointEventData::GetFlavorString ( )
static

Definition at line 1028 of file Breakpoint.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetLogChannel()

Log * Breakpoint::BreakpointEventData::GetLogChannel ( )
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 1018 of file Breakpoint.cpp.

References lldb_private::Breakpoints, and lldb_private::GetLog().

◆ 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 141 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 142 of file Breakpoint.h.

Referenced by GetBreakpointFromEvent().


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