LLDB  mainline
Public Member Functions | Static Public Member Functions | Protected Member Functions | 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 (lldb::EventSP &event_sp)
 
 SBEvent (lldb_private::Event *event_sp)
 
 ~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

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

Friends

class SBListener
 
class SBBroadcaster
 
class SBBreakpoint
 
class SBDebugger
 
class SBProcess
 
class SBTarget
 
class SBThread
 
class SBWatchpoint
 

Detailed Description

Definition at line 21 of file SBEvent.h.

Constructor & Destructor Documentation

◆ SBEvent() [1/5]

SBEvent::SBEvent ( )

Definition at line 25 of file SBEvent.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

Referenced by SBEvent().

◆ SBEvent() [2/5]

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

Definition at line 45 of file SBEvent.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBEvent() [3/5]

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

Definition at line 29 of file SBEvent.cpp.

References LLDB_RECORD_CONSTRUCTOR, and SBEvent().

◆ SBEvent() [4/5]

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

◆ SBEvent() [5/5]

SBEvent::SBEvent ( lldb_private::Event event_sp)

Definition at line 41 of file SBEvent.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBEvent()

SBEvent::~SBEvent ( )

Definition at line 61 of file SBEvent.cpp.

Member Function Documentation

◆ BroadcasterMatchesPtr()

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

◆ BroadcasterMatchesRef()

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

◆ Clear()

void SBEvent::Clear ( )

◆ 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

Definition at line 174 of file SBEvent.cpp.

References get(), and LLDB_RECORD_STATIC_METHOD.

Referenced by lldb_private::repro::RegisterMethods< SBEvent >().

◆ 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

◆ IsValid()

bool SBEvent::IsValid ( ) const

◆ operator bool()

SBEvent::operator bool ( ) const
explicit

Definition at line 166 of file SBEvent.cpp.

References get(), and LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

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

Definition at line 50 of file SBEvent.cpp.

References LLDB_RECORD_METHOD, and LLDB_RECORD_RESULT.

◆ reset() [1/2]

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

◆ reset() [2/2]

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

Definition at line 157 of file SBEvent.cpp.

Friends And Related Function Documentation

◆ SBBreakpoint

friend class SBBreakpoint
friend

Definition at line 65 of file SBEvent.h.

◆ SBBroadcaster

friend class SBBroadcaster
friend

Definition at line 64 of file SBEvent.h.

◆ SBDebugger

friend class SBDebugger
friend

Definition at line 66 of file SBEvent.h.

◆ SBListener

friend class SBListener
friend

Definition at line 63 of file SBEvent.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 67 of file SBEvent.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 68 of file SBEvent.h.

◆ SBThread

friend class SBThread
friend

Definition at line 69 of file SBEvent.h.

◆ SBWatchpoint

friend class SBWatchpoint
friend

Definition at line 70 of file SBEvent.h.


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