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
[legend]

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 524 of file Target.h.

Constructor & Destructor Documentation

◆ TargetEventData() [1/3]

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

Definition at line 4913 of file Target.cpp.

◆ TargetEventData() [2/3]

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

Definition at line 4916 of file Target.cpp.

◆ ~TargetEventData()

Target::TargetEventData::~TargetEventData ( )
overridedefault

◆ TargetEventData() [3/3]

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

Member Function Documentation

◆ Dump()

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

Reimplemented from lldb_private::EventData.

Definition at line 4926 of file Target.cpp.

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

◆ GetEventDataFromEvent()

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

◆ GetFlavor()

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

Implements lldb_private::EventData.

Definition at line 535 of file Target.h.

References GetFlavorString().

◆ GetFlavorString()

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

Definition at line 4922 of file Target.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetModuleList()

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

Definition at line 549 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 547 of file Target.h.

References m_target_sp.

◆ GetTargetFromEvent()

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

Definition at line 4946 of file Target.cpp.

References m_target_sp.

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

◆ operator=()

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

Member Data Documentation

◆ m_module_list

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

Definition at line 553 of file Target.h.

Referenced by GetModuleList(), and GetModuleListFromEvent().

◆ m_target_sp

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

Definition at line 552 of file Target.h.

Referenced by GetTarget(), and GetTargetFromEvent().


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