LLDB mainline
|
This class handles one or more StructuredData::Dictionary entries that are raised for structured data events. More...
#include <Event.h>
Public Member Functions | |
EventDataStructuredData () | |
EventDataStructuredData (const lldb::ProcessSP &process_sp, const StructuredData::ObjectSP &object_sp, const lldb::StructuredDataPluginSP &plugin_sp) | |
~EventDataStructuredData () override | |
llvm::StringRef | GetFlavor () const override |
void | Dump (Stream *s) const override |
const lldb::ProcessSP & | GetProcess () const |
const StructuredData::ObjectSP & | GetObject () const |
const lldb::StructuredDataPluginSP & | GetStructuredDataPlugin () const |
void | SetProcess (const lldb::ProcessSP &process_sp) |
void | SetObject (const StructuredData::ObjectSP &object_sp) |
void | SetStructuredDataPlugin (const lldb::StructuredDataPluginSP &plugin_sp) |
Public Member Functions inherited from lldb_private::EventData | |
EventData () | |
virtual | ~EventData () |
virtual llvm::StringRef | GetFlavor () const =0 |
virtual Log * | GetLogChannel () |
virtual void | Dump (Stream *s) const |
Static Public Member Functions | |
static const EventDataStructuredData * | GetEventDataFromEvent (const Event *event_ptr) |
static lldb::ProcessSP | GetProcessFromEvent (const Event *event_ptr) |
static StructuredData::ObjectSP | GetObjectFromEvent (const Event *event_ptr) |
static lldb::StructuredDataPluginSP | GetPluginFromEvent (const Event *event_ptr) |
static llvm::StringRef | GetFlavorString () |
Private Member Functions | |
EventDataStructuredData (const EventDataStructuredData &)=delete | |
const EventDataStructuredData & | operator= (const EventDataStructuredData &)=delete |
Private Attributes | |
lldb::ProcessSP | m_process_sp |
StructuredData::ObjectSP | m_object_sp |
lldb::StructuredDataPluginSP | m_plugin_sp |
This class handles one or more StructuredData::Dictionary entries that are raised for structured data events.
EventDataStructuredData::EventDataStructuredData | ( | const lldb::ProcessSP & | process_sp, |
const StructuredData::ObjectSP & | object_sp, | ||
const lldb::StructuredDataPluginSP & | plugin_sp | ||
) |
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::EventData.
Definition at line 197 of file Event.cpp.
References m_object_sp.
|
static |
Definition at line 235 of file Event.cpp.
References lldb_private::Event::GetData(), lldb_private::EventData::GetFlavor(), and GetFlavorString().
Referenced by GetObjectFromEvent(), GetPluginFromEvent(), and GetProcessFromEvent().
|
overridevirtual |
Implements lldb_private::EventData.
Definition at line 193 of file Event.cpp.
References GetFlavorString().
|
static |
Definition at line 273 of file Event.cpp.
Referenced by lldb::SBProcess::EventIsStructuredDataEvent(), GetEventDataFromEvent(), and GetFlavor().
const StructuredData::ObjectSP & EventDataStructuredData::GetObject | ( | ) | const |
Definition at line 209 of file Event.cpp.
References m_object_sp.
|
static |
Definition at line 256 of file Event.cpp.
References GetEventDataFromEvent().
Referenced by lldb_private::Debugger::HandleProcessEvent().
|
static |
Definition at line 265 of file Event.cpp.
References GetEventDataFromEvent().
Referenced by lldb_private::Debugger::HandleProcessEvent().
const ProcessSP & EventDataStructuredData::GetProcess | ( | ) | const |
Definition at line 205 of file Event.cpp.
References m_process_sp.
Definition at line 247 of file Event.cpp.
References GetEventDataFromEvent().
Referenced by lldb::SBProcess::GetProcessFromEvent(), and lldb_private::Debugger::HandleProcessEvent().
const lldb::StructuredDataPluginSP & EventDataStructuredData::GetStructuredDataPlugin | ( | ) | const |
Definition at line 214 of file Event.cpp.
References m_plugin_sp.
|
privatedelete |
void EventDataStructuredData::SetObject | ( | const StructuredData::ObjectSP & | object_sp | ) |
Definition at line 222 of file Event.cpp.
References m_object_sp.
void EventDataStructuredData::SetProcess | ( | const lldb::ProcessSP & | process_sp | ) |
Definition at line 218 of file Event.cpp.
References m_process_sp.
void EventDataStructuredData::SetStructuredDataPlugin | ( | const lldb::StructuredDataPluginSP & | plugin_sp | ) |
Definition at line 227 of file Event.cpp.
References m_plugin_sp.
|
private |
Definition at line 171 of file Event.h.
Referenced by Dump(), GetObject(), and SetObject().
|
private |
Definition at line 172 of file Event.h.
Referenced by GetStructuredDataPlugin(), and SetStructuredDataPlugin().
|
private |
Definition at line 170 of file Event.h.
Referenced by GetProcess(), and SetProcess().