LLDB mainline
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
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 ( )

Definition at line 24 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBEvent() [2/5]

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

Definition at line 42 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBEvent() [3/5]

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

Definition at line 26 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBEvent()

SBEvent::~SBEvent ( )
default

◆ SBEvent() [4/5]

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

Definition at line 33 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBEvent() [5/5]

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

Definition at line 38 of file SBEvent.cpp.

References LLDB_INSTRUMENT_VA.

Member Function Documentation

◆ BroadcasterMatchesPtr()

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

Definition at line 104 of file SBEvent.cpp.

References BroadcasterMatchesRef(), and LLDB_INSTRUMENT_VA.

◆ 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.

◆ get()

Event * SBEvent::get ( ) const
protected

◆ 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()

EventSP & SBEvent::GetSP ( ) const
protected

◆ GetType()

uint32_t SBEvent::GetType ( ) const

Definition at line 71 of file SBEvent.cpp.

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

◆ IsValid()

bool SBEvent::IsValid ( ) const

◆ 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, and m_opaque_ptr.

◆ 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().

◆ 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.

Friends And Related Function Documentation

◆ lldb_private::python::SWIGBridge

friend class lldb_private::python::SWIGBridge
friend

Definition at line 78 of file SBEvent.h.

◆ 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.

◆ SBBroadcaster

friend class SBBroadcaster
friend

Definition at line 69 of file SBEvent.h.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 71 of file SBEvent.h.

◆ SBListener

friend class SBListener
friend

Definition at line 68 of file SBEvent.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 72 of file SBEvent.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 73 of file SBEvent.h.

◆ SBThread

friend class SBThread
friend

Definition at line 74 of file SBEvent.h.

◆ SBWatchpoint

friend class SBWatchpoint
friend

Definition at line 75 of file SBEvent.h.

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=(), and reset().

◆ m_opaque_ptr

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

Definition at line 94 of file SBEvent.h.

Referenced by get(), GetDescription(), operator=(), and reset().


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