LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::Target::TargetEventData Class Reference

#include <Target.h>

Inheritance diagram for lldb_private::Target::TargetEventData:
Inheritance graph

Public Member Functions

 TargetEventData (const lldb::TargetSP &target_sp)
 TargetEventData (const lldb::TargetSP &target_sp, const ModuleList &module_list)
 ~TargetEventData () override
llvm::StringRef GetFlavor () const override
void Dump (Stream *s) const override
const lldb::TargetSPGetTarget () const
const ModuleListGetModuleList () const
- 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 llvm::StringRef GetFlavorString ()
static const TargetEventDataGetEventDataFromEvent (const Event *event_ptr)
static lldb::TargetSP GetTargetFromEvent (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
ModuleList m_module_list

Detailed Description

Definition at line 510 of file Target.h.

Constructor & Destructor Documentation

◆ TargetEventData() [1/3]

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

Definition at line 4895 of file Target.cpp.

◆ TargetEventData() [2/3]

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

Definition at line 4898 of file Target.cpp.

◆ ~TargetEventData()

Target::TargetEventData::~TargetEventData ( )

◆ TargetEventData() [3/3]

lldb_private::Target::TargetEventData::TargetEventData ( const TargetEventData )

Member Function Documentation

◆ Dump()

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

Reimplemented from lldb_private::EventData.

Definition at line 4908 of file Target.cpp.

References lldb_private::Stream::AsRawOstream(), and lldb::eDescriptionLevelBrief.

◆ GetEventDataFromEvent()

const Target::TargetEventData * Target::TargetEventData::GetEventDataFromEvent ( const Event event_ptr)

◆ GetFlavor()

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

Implements lldb_private::EventData.

Definition at line 521 of file Target.h.

References GetFlavorString().

◆ GetFlavorString()

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

Definition at line 4904 of file Target.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetModuleList()

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

Definition at line 535 of file Target.h.

References m_module_list.

◆ GetModuleListFromEvent()

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

◆ GetTarget()

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

Definition at line 533 of file Target.h.

References m_target_sp.

◆ GetTargetFromEvent()

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

Definition at line 4928 of file Target.cpp.

References m_target_sp.

Referenced by lldb::SBTarget::GetTargetFromEvent().

◆ operator=()

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

Member Data Documentation

◆ m_module_list

ModuleList lldb_private::Target::TargetEventData::m_module_list

Definition at line 539 of file Target.h.

Referenced by GetModuleList(), and GetModuleListFromEvent().

◆ m_target_sp

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

Definition at line 538 of file Target.h.

Referenced by GetTarget(), and GetTargetFromEvent().

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