LLDB  mainline
Public Member Functions | Static Public Member Functions | List of all members
lldb_private::EventDataStructuredData Class Reference

This class handles one or more StructuredData::Dictionary entries that are raised for structured data events. More...

#include <Event.h>

Inheritance diagram for lldb_private::EventDataStructuredData:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::EventDataStructuredData:
Collaboration graph
[legend]

Public Member Functions

 EventDataStructuredData ()
 
 EventDataStructuredData (const lldb::ProcessSP &process_sp, const StructuredData::ObjectSP &object_sp, const lldb::StructuredDataPluginSP &plugin_sp)
 
 ~EventDataStructuredData () override
 
ConstString GetFlavor () const override
 
void Dump (Stream *s) const override
 
const lldb::ProcessSP & GetProcess () const
 
const StructuredData::ObjectSPGetObject () 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 ()
 

Static Public Member Functions

static const EventDataStructuredDataGetEventDataFromEvent (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 ConstString GetFlavorString ()
 

Detailed Description

This class handles one or more StructuredData::Dictionary entries that are raised for structured data events.

Definition at line 128 of file Event.h.

Constructor & Destructor Documentation

◆ EventDataStructuredData() [1/2]

EventDataStructuredData::EventDataStructuredData ( )

Definition at line 192 of file Event.cpp.

References lldb_private::EventData::EventData().

◆ EventDataStructuredData() [2/2]

lldb_private::EventDataStructuredData::EventDataStructuredData ( const lldb::ProcessSP &  process_sp,
const StructuredData::ObjectSP object_sp,
const lldb::StructuredDataPluginSP &  plugin_sp 
)

◆ ~EventDataStructuredData()

EventDataStructuredData::~EventDataStructuredData ( )
override

Definition at line 201 of file Event.cpp.

Member Function Documentation

◆ Dump()

void EventDataStructuredData::Dump ( Stream s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 209 of file Event.cpp.

◆ GetEventDataFromEvent()

const EventDataStructuredData * EventDataStructuredData::GetEventDataFromEvent ( const Event event_ptr)
static

◆ GetFlavor()

ConstString EventDataStructuredData::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 205 of file Event.cpp.

References GetFlavorString().

◆ GetFlavorString()

ConstString EventDataStructuredData::GetFlavorString ( )
static

Definition at line 285 of file Event.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetObject()

const StructuredData::ObjectSP & EventDataStructuredData::GetObject ( ) const

Definition at line 221 of file Event.cpp.

◆ GetObjectFromEvent()

StructuredData::ObjectSP EventDataStructuredData::GetObjectFromEvent ( const Event event_ptr)
static

Definition at line 268 of file Event.cpp.

References GetEventDataFromEvent().

Referenced by lldb_private::Debugger::HandleProcessEvent().

◆ GetPluginFromEvent()

lldb::StructuredDataPluginSP EventDataStructuredData::GetPluginFromEvent ( const Event event_ptr)
static

Definition at line 277 of file Event.cpp.

References GetEventDataFromEvent().

Referenced by lldb_private::Debugger::HandleProcessEvent().

◆ GetProcess()

const ProcessSP & EventDataStructuredData::GetProcess ( ) const

Definition at line 217 of file Event.cpp.

◆ GetProcessFromEvent()

ProcessSP EventDataStructuredData::GetProcessFromEvent ( const Event event_ptr)
static

Definition at line 259 of file Event.cpp.

References GetEventDataFromEvent().

Referenced by lldb_private::Debugger::HandleProcessEvent().

◆ GetStructuredDataPlugin()

const lldb::StructuredDataPluginSP & EventDataStructuredData::GetStructuredDataPlugin ( ) const

Definition at line 226 of file Event.cpp.

◆ SetObject()

void EventDataStructuredData::SetObject ( const StructuredData::ObjectSP object_sp)

Definition at line 234 of file Event.cpp.

◆ SetProcess()

void EventDataStructuredData::SetProcess ( const lldb::ProcessSP &  process_sp)

Definition at line 230 of file Event.cpp.

◆ SetStructuredDataPlugin()

void EventDataStructuredData::SetStructuredDataPlugin ( const lldb::StructuredDataPluginSP &  plugin_sp)

Definition at line 239 of file Event.cpp.


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