LLDB mainline
lldb_private::Target::TargetEventData Class Reference

#include <Target.h>

Inheritance diagram for lldb_private::Target::TargetEventData:
[legend]

Public Member Functions

 TargetEventData (const lldb::TargetSP &target_sp)
 TargetEventData (const lldb::TargetSP &target_sp, const ModuleList &module_list)
 TargetEventData (const lldb::TargetSP &target_sp, const lldb::TargetSP &created_target_sp)
 ~TargetEventData () override
llvm::StringRef GetFlavor () const override
void Dump (Stream *s) const override
const lldb::TargetSPGetTarget () const
const lldb::TargetSPGetCreatedTarget () const
const ModuleListGetModuleList () const
Public Member Functions inherited from lldb_private::EventData
 EventData ()
virtual ~EventData ()
virtual LogGetLogChannel ()

Static Public Member Functions

static llvm::StringRef GetFlavorString ()
static const TargetEventDataGetEventDataFromEvent (const Event *event_ptr)
static lldb::TargetSP GetTargetFromEvent (const Event *event_ptr)
static lldb::TargetSP GetCreatedTargetFromEvent (const Event *event_ptr)
static ModuleList GetModuleListFromEvent (const Event *event_ptr)

Private Member Functions

 TargetEventData (const TargetEventData &)=delete
const TargetEventDataoperator= (const TargetEventData &)=delete

Private Attributes

lldb::TargetSP m_target_sp
lldb::TargetSP m_created_target_sp
ModuleList m_module_list

Detailed Description

Definition at line 553 of file Target.h.

Constructor & Destructor Documentation

◆ TargetEventData() [1/4]

Target::TargetEventData::TargetEventData ( const lldb::TargetSP & target_sp)

◆ TargetEventData() [2/4]

Target::TargetEventData::TargetEventData ( const lldb::TargetSP & target_sp,
const ModuleList & module_list )

Definition at line 5202 of file Target.cpp.

References lldb_private::EventData::EventData(), m_module_list, and m_target_sp.

◆ TargetEventData() [3/4]

Target::TargetEventData::TargetEventData ( const lldb::TargetSP & target_sp,
const lldb::TargetSP & created_target_sp )

◆ ~TargetEventData()

Target::TargetEventData::~TargetEventData ( )
overridedefault

◆ TargetEventData() [4/4]

lldb_private::Target::TargetEventData::TargetEventData ( const TargetEventData & )
privatedelete

References TargetEventData().

Member Function Documentation

◆ Dump()

void Target::TargetEventData::Dump ( Stream * s) const
overridevirtual

◆ GetCreatedTarget()

const lldb::TargetSP & lldb_private::Target::TargetEventData::GetCreatedTarget ( ) const
inline

Definition at line 589 of file Target.h.

References m_created_target_sp.

◆ GetCreatedTargetFromEvent()

TargetSP Target::TargetEventData::GetCreatedTargetFromEvent ( const Event * event_ptr)
static

◆ GetEventDataFromEvent()

◆ GetFlavor()

llvm::StringRef lldb_private::Target::TargetEventData::GetFlavor ( ) const
inlineoverridevirtual

Implements lldb_private::EventData.

Definition at line 571 of file Target.h.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef Target::TargetEventData::GetFlavorString ( )
static

Definition at line 5213 of file Target.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetModuleList()

const ModuleList & lldb_private::Target::TargetEventData::GetModuleList ( ) const
inline

Definition at line 593 of file Target.h.

References m_module_list.

◆ GetModuleListFromEvent()

ModuleList Target::TargetEventData::GetModuleListFromEvent ( const Event * event_ptr)
static

◆ GetTarget()

const lldb::TargetSP & lldb_private::Target::TargetEventData::GetTarget ( ) const
inline

Definition at line 587 of file Target.h.

References m_target_sp.

◆ GetTargetFromEvent()

TargetSP Target::TargetEventData::GetTargetFromEvent ( const Event * event_ptr)
static

◆ operator=()

const TargetEventData & lldb_private::Target::TargetEventData::operator= ( const TargetEventData & )
privatedelete

References TargetEventData().

Member Data Documentation

◆ m_created_target_sp

lldb::TargetSP lldb_private::Target::TargetEventData::m_created_target_sp
private

Definition at line 597 of file Target.h.

Referenced by GetCreatedTarget(), GetCreatedTargetFromEvent(), and TargetEventData().

◆ m_module_list

ModuleList lldb_private::Target::TargetEventData::m_module_list
private

◆ m_target_sp

lldb::TargetSP lldb_private::Target::TargetEventData::m_target_sp
private

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