LLDB mainline
lldb::SBEvent Class Reference

#include <SBEvent.h>

Public Member Functions

 SBEvent ()
 SBEvent (const lldb::SBEvent &rhs)
 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len)
 ~SBEvent ()
const SBEventoperator= (const lldb::SBEvent &rhs)
 operator bool () const
bool IsValid () const
const char * GetDataFlavor ()
uint32_t GetType () const
lldb::SBBroadcaster GetBroadcaster () const
const char * GetBroadcasterClass () const
bool BroadcasterMatchesPtr (const lldb::SBBroadcaster *broadcaster)
bool BroadcasterMatchesRef (const lldb::SBBroadcaster &broadcaster)
void Clear ()
bool GetDescription (lldb::SBStream &description)
bool GetDescription (lldb::SBStream &description) const

Static Public Member Functions

static const char * GetCStringFromEvent (const lldb::SBEvent &event)

Protected Member Functions

 SBEvent (lldb::EventSP &event_sp)
 SBEvent (lldb_private::Event *event)
lldb::EventSPGetSP () const
void reset (lldb::EventSP &event_sp)
void reset (lldb_private::Event *event)
lldb_private::Eventget () const

Private Attributes

lldb::EventSP m_event_sp
lldb_private::Eventm_opaque_ptr = nullptr

Friends

class SBListener
class SBBroadcaster
class SBBreakpoint
class SBDebugger
class SBProcess
class SBTarget
class SBThread
class SBWatchpoint
class lldb_private::ScriptInterpreter
class lldb_private::python::SWIGBridge

Detailed Description

Definition at line 28 of file SBEvent.h.

Constructor & Destructor Documentation

◆ SBEvent() [1/5]

SBEvent::SBEvent ( )

◆ SBEvent() [2/5]

SBEvent::SBEvent ( const lldb::SBEvent & rhs)

Definition at line 42 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA, m_event_sp, m_opaque_ptr, and SBEvent().

◆ SBEvent() [3/5]

SBEvent::SBEvent ( uint32_t event,
const char * cstr,
uint32_t cstr_len )

Definition at line 26 of file SBEvent.cpp.

References get(), LLDB_INSTRUMENT_VA, m_event_sp, and m_opaque_ptr.

◆ ~SBEvent()

◆ SBEvent() [4/5]

SBEvent::SBEvent ( lldb::EventSP & event_sp)
protected

Definition at line 33 of file SBEvent.cpp.

References get(), LLDB_INSTRUMENT_VA, m_event_sp, and m_opaque_ptr.

◆ SBEvent() [5/5]

SBEvent::SBEvent ( lldb_private::Event * event)
protected

Definition at line 38 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

Member Function Documentation

◆ BroadcasterMatchesPtr()

bool SBEvent::BroadcasterMatchesPtr ( const lldb::SBBroadcaster * broadcaster)

Definition at line 104 of file SBEvent.cpp.

References BroadcasterMatchesRef(), LLDB_INSTRUMENT_VA, and SBBroadcaster.

Referenced by ~SBEvent().

◆ BroadcasterMatchesRef()

bool SBEvent::BroadcasterMatchesRef ( const lldb::SBBroadcaster & broadcaster)

◆ Clear()

void SBEvent::Clear ( )

Definition at line 124 of file SBEvent.cpp.

References lldb_private::Event::Clear(), get(), and LLDB_INSTRUMENT_VA.

Referenced by ~SBEvent().

◆ get()

◆ GetBroadcaster()

SBBroadcaster SBEvent::GetBroadcaster ( ) const

◆ GetBroadcasterClass()

const char * SBEvent::GetBroadcasterClass ( ) const

◆ GetCStringFromEvent()

const char * SBEvent::GetCStringFromEvent ( const lldb::SBEvent & event)
static

◆ GetDataFlavor()

const char * SBEvent::GetDataFlavor ( )

◆ GetDescription() [1/2]

bool SBEvent::GetDescription ( lldb::SBStream & description)

◆ GetDescription() [2/2]

bool SBEvent::GetDescription ( lldb::SBStream & description) const

◆ GetSP()

◆ GetType()

uint32_t SBEvent::GetType ( ) const

Definition at line 71 of file SBEvent.cpp.

References get(), lldb_private::Event::GetType(), and LLDB_INSTRUMENT_VA.

Referenced by ~SBEvent().

◆ IsValid()

◆ operator bool()

SBEvent::operator bool ( ) const
explicit

Definition at line 159 of file SBEvent.cpp.

References get(), and LLDB_INSTRUMENT_VA.

◆ operator=()

const SBEvent & SBEvent::operator= ( const lldb::SBEvent & rhs)

Definition at line 47 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA, m_event_sp, m_opaque_ptr, and SBEvent().

Referenced by ~SBEvent().

◆ reset() [1/2]

void SBEvent::reset ( lldb::EventSP & event_sp)
protected

Definition at line 145 of file SBEvent.cpp.

References m_event_sp, and m_opaque_ptr.

Referenced by lldb::SBProcess::GetStopEventForStopID(), and lldb_private::python::SWIGBridge.

◆ reset() [2/2]

void SBEvent::reset ( lldb_private::Event * event)
protected

Definition at line 150 of file SBEvent.cpp.

References m_event_sp, and m_opaque_ptr.

◆ lldb_private::python::SWIGBridge

friend class lldb_private::python::SWIGBridge
friend

Definition at line 78 of file SBEvent.h.

References get(), GetSP(), reset(), and SBEvent().

◆ lldb_private::ScriptInterpreter

friend class lldb_private::ScriptInterpreter
friend

Definition at line 77 of file SBEvent.h.

◆ SBBreakpoint

friend class SBBreakpoint
friend

Definition at line 70 of file SBEvent.h.

References SBBreakpoint.

Referenced by SBBreakpoint.

◆ SBBroadcaster

friend class SBBroadcaster
friend

Definition at line 69 of file SBEvent.h.

References SBBroadcaster.

Referenced by BroadcasterMatchesPtr(), BroadcasterMatchesRef(), GetBroadcaster(), and SBBroadcaster.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 71 of file SBEvent.h.

References SBDebugger.

Referenced by SBDebugger.

◆ SBListener

friend class SBListener
friend

Definition at line 68 of file SBEvent.h.

References SBListener.

Referenced by SBListener.

◆ SBProcess

friend class SBProcess
friend

Definition at line 72 of file SBEvent.h.

References SBProcess.

Referenced by SBProcess.

◆ SBTarget

friend class SBTarget
friend

Definition at line 73 of file SBEvent.h.

References SBTarget.

Referenced by SBTarget.

◆ SBThread

friend class SBThread
friend

Definition at line 74 of file SBEvent.h.

References SBThread.

Referenced by SBThread.

◆ SBWatchpoint

friend class SBWatchpoint
friend

Definition at line 75 of file SBEvent.h.

References SBWatchpoint.

Referenced by SBWatchpoint.

Member Data Documentation

◆ m_event_sp

lldb::EventSP lldb::SBEvent::m_event_sp
mutableprivate

Definition at line 93 of file SBEvent.h.

Referenced by get(), GetSP(), operator=(), reset(), reset(), SBEvent(), SBEvent(), and SBEvent().

◆ m_opaque_ptr

lldb_private::Event* lldb::SBEvent::m_opaque_ptr = nullptr
mutableprivate

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