LLDB mainline
|
#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 SBEvent & | operator= (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::EventSP & | GetSP () const |
void | reset (lldb::EventSP &event_sp) |
void | reset (lldb_private::Event *event) |
lldb_private::Event * | get () const |
Private Attributes | |
lldb::EventSP | m_event_sp |
lldb_private::Event * | m_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 |
SBEvent::SBEvent | ( | ) |
Definition at line 24 of file SBEvent.cpp.
References LLDB_INSTRUMENT_VA.
SBEvent::SBEvent | ( | const lldb::SBEvent & | rhs | ) |
Definition at line 42 of file SBEvent.cpp.
References LLDB_INSTRUMENT_VA.
SBEvent::SBEvent | ( | uint32_t | event, |
const char * | cstr, | ||
uint32_t | cstr_len | ||
) |
Definition at line 26 of file SBEvent.cpp.
References LLDB_INSTRUMENT_VA.
|
default |
|
protected |
Definition at line 33 of file SBEvent.cpp.
References LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 38 of file SBEvent.cpp.
References LLDB_INSTRUMENT_VA.
bool SBEvent::BroadcasterMatchesPtr | ( | const lldb::SBBroadcaster * | broadcaster | ) |
Definition at line 104 of file SBEvent.cpp.
References BroadcasterMatchesRef(), and LLDB_INSTRUMENT_VA.
bool SBEvent::BroadcasterMatchesRef | ( | const lldb::SBBroadcaster & | broadcaster | ) |
Definition at line 112 of file SBEvent.cpp.
References lldb_private::Event::BroadcasterIs(), lldb::SBBroadcaster::get(), get(), and LLDB_INSTRUMENT_VA.
Referenced by BroadcasterMatchesPtr().
void SBEvent::Clear | ( | ) |
Definition at line 124 of file SBEvent.cpp.
References lldb_private::Event::Clear(), get(), and LLDB_INSTRUMENT_VA.
|
protected |
Definition at line 134 of file SBEvent.cpp.
References m_event_sp, and m_opaque_ptr.
Referenced by BroadcasterMatchesRef(), Clear(), lldb::SBBreakpoint::EventIsBreakpointEvent(), lldb::SBProcess::EventIsProcessEvent(), lldb::SBTarget::EventIsTargetEvent(), lldb::SBThread::EventIsThreadEvent(), lldb::SBWatchpoint::EventIsWatchpointEvent(), GetBroadcaster(), GetBroadcasterClass(), GetCStringFromEvent(), GetDataFlavor(), GetDescription(), lldb::SBDebugger::GetDiagnosticFromEvent(), lldb::SBProcess::GetInterruptedFromEvent(), lldb::SBTarget::GetModuleAtIndexFromEvent(), lldb::SBTarget::GetNumModulesFromEvent(), lldb::SBProcess::GetNumRestartedReasonsFromEvent(), lldb::SBProcess::GetProcessFromEvent(), lldb::SBDebugger::GetProgressDataFromEvent(), lldb::SBDebugger::GetProgressFromEvent(), lldb::SBProcess::GetRestartedFromEvent(), lldb::SBProcess::GetRestartedReasonAtIndexFromEvent(), lldb::SBThread::GetStackFrameFromEvent(), lldb::SBProcess::GetStateFromEvent(), lldb::SBTarget::GetTargetFromEvent(), lldb::SBThread::GetThreadFromEvent(), GetType(), and operator bool().
SBBroadcaster SBEvent::GetBroadcaster | ( | ) | const |
Definition at line 83 of file SBEvent.cpp.
References get(), lldb_private::Event::GetBroadcaster(), LLDB_INSTRUMENT_VA, and lldb::SBBroadcaster::reset().
const char * SBEvent::GetBroadcasterClass | ( | ) | const |
Definition at line 93 of file SBEvent.cpp.
References lldb_private::ConstString::AsCString(), get(), lldb_private::Event::GetBroadcaster(), lldb_private::Broadcaster::GetBroadcasterClass(), and LLDB_INSTRUMENT_VA.
|
static |
Definition at line 167 of file SBEvent.cpp.
References get(), lldb_private::EventDataBytes::GetBytesFromEvent(), lldb_private::ConstString::GetCString(), and LLDB_INSTRUMENT_VA.
const char * SBEvent::GetDataFlavor | ( | ) |
Definition at line 59 of file SBEvent.cpp.
References get(), lldb_private::ConstString::GetCString(), lldb_private::Event::GetData(), lldb_private::EventData::GetFlavor(), and LLDB_INSTRUMENT_VA.
bool SBEvent::GetDescription | ( | lldb::SBStream & | description | ) |
Definition at line 175 of file SBEvent.cpp.
References lldb_private::Event::Dump(), get(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
bool SBEvent::GetDescription | ( | lldb::SBStream & | description | ) | const |
Definition at line 188 of file SBEvent.cpp.
References lldb_private::Event::Dump(), get(), LLDB_INSTRUMENT_VA, m_opaque_ptr, lldb_private::Stream::PutCString(), and lldb::SBStream::ref().
|
protected |
Definition at line 132 of file SBEvent.cpp.
References m_event_sp.
Referenced by lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent(), lldb::SBBreakpoint::GetBreakpointFromEvent(), lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent(), lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent(), lldb::SBProcess::GetStructuredDataFromEvent(), lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent(), lldb::SBWatchpoint::GetWatchpointFromEvent(), and lldb::SBListener::HandleBroadcastEvent().
uint32_t SBEvent::GetType | ( | ) | const |
Definition at line 71 of file SBEvent.cpp.
References get(), lldb_private::Event::GetType(), and LLDB_INSTRUMENT_VA.
bool SBEvent::IsValid | ( | ) | const |
Definition at line 155 of file SBEvent.cpp.
References LLDB_INSTRUMENT_VA.
Referenced by lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent(), lldb::SBBreakpoint::GetBreakpointFromEvent(), lldb::SBBreakpoint::GetBreakpointLocationAtIndexFromEvent(), lldb::SBBreakpoint::GetNumBreakpointLocationsFromEvent(), lldb::SBWatchpoint::GetWatchpointEventTypeFromEvent(), and lldb::SBWatchpoint::GetWatchpointFromEvent().
|
explicit |
Definition at line 159 of file SBEvent.cpp.
References get(), and LLDB_INSTRUMENT_VA.
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.
|
protected |
Definition at line 145 of file SBEvent.cpp.
References m_event_sp, and m_opaque_ptr.
Referenced by lldb::SBProcess::GetStopEventForStopID().
|
protected |
Definition at line 150 of file SBEvent.cpp.
References m_event_sp, and m_opaque_ptr.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
mutableprivate |
|
mutableprivate |
Definition at line 94 of file SBEvent.h.
Referenced by get(), GetDescription(), operator=(), and reset().