LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | 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]

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::ProcessSPGetProcess () const
 
const StructuredData::ObjectSPGetObject () const
 
const lldb::StructuredDataPluginSPGetStructuredDataPlugin () 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 LogGetLogChannel ()
 
virtual void Dump (Stream *s) const
 

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 llvm::StringRef GetFlavorString ()
 

Private Member Functions

 EventDataStructuredData (const EventDataStructuredData &)=delete
 
const EventDataStructuredDataoperator= (const EventDataStructuredData &)=delete
 

Private Attributes

lldb::ProcessSP m_process_sp
 
StructuredData::ObjectSP m_object_sp
 
lldb::StructuredDataPluginSP m_plugin_sp
 

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/3]

EventDataStructuredData::EventDataStructuredData ( )

Definition at line 180 of file Event.cpp.

◆ EventDataStructuredData() [2/3]

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

Definition at line 183 of file Event.cpp.

◆ ~EventDataStructuredData()

EventDataStructuredData::~EventDataStructuredData ( )
overridedefault

◆ EventDataStructuredData() [3/3]

lldb_private::EventDataStructuredData::EventDataStructuredData ( const EventDataStructuredData )
privatedelete

Member Function Documentation

◆ Dump()

void EventDataStructuredData::Dump ( Stream s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 197 of file Event.cpp.

References m_object_sp.

◆ GetEventDataFromEvent()

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

◆ GetFlavor()

llvm::StringRef EventDataStructuredData::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 193 of file Event.cpp.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef EventDataStructuredData::GetFlavorString ( )
static

◆ GetObject()

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

Definition at line 209 of file Event.cpp.

References m_object_sp.

◆ GetObjectFromEvent()

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

Definition at line 256 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 265 of file Event.cpp.

References GetEventDataFromEvent().

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

◆ GetProcess()

const ProcessSP & EventDataStructuredData::GetProcess ( ) const

Definition at line 205 of file Event.cpp.

References m_process_sp.

◆ GetProcessFromEvent()

ProcessSP EventDataStructuredData::GetProcessFromEvent ( const Event event_ptr)
static

◆ GetStructuredDataPlugin()

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

Definition at line 214 of file Event.cpp.

References m_plugin_sp.

◆ operator=()

const EventDataStructuredData & lldb_private::EventDataStructuredData::operator= ( const EventDataStructuredData )
privatedelete

◆ SetObject()

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

Definition at line 222 of file Event.cpp.

References m_object_sp.

◆ SetProcess()

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

Definition at line 218 of file Event.cpp.

References m_process_sp.

◆ SetStructuredDataPlugin()

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

Definition at line 227 of file Event.cpp.

References m_plugin_sp.

Member Data Documentation

◆ m_object_sp

StructuredData::ObjectSP lldb_private::EventDataStructuredData::m_object_sp
private

Definition at line 171 of file Event.h.

Referenced by Dump(), GetObject(), and SetObject().

◆ m_plugin_sp

lldb::StructuredDataPluginSP lldb_private::EventDataStructuredData::m_plugin_sp
private

Definition at line 172 of file Event.h.

Referenced by GetStructuredDataPlugin(), and SetStructuredDataPlugin().

◆ m_process_sp

lldb::ProcessSP lldb_private::EventDataStructuredData::m_process_sp
private

Definition at line 170 of file Event.h.

Referenced by GetProcess(), and SetProcess().


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