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

#include <Thread.h>

Inheritance diagram for lldb_private::Thread::ThreadEventData:
Inheritance graph
[legend]

Public Member Functions

 ThreadEventData (const lldb::ThreadSP thread_sp)
 
 ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id)
 
 ThreadEventData ()
 
 ~ThreadEventData () override
 
llvm::StringRef GetFlavor () const override
 
void Dump (Stream *s) const override
 
lldb::ThreadSP GetThread () const
 
StackID GetStackID () 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 ThreadEventDataGetEventDataFromEvent (const Event *event_ptr)
 
static lldb::ThreadSP GetThreadFromEvent (const Event *event_ptr)
 
static StackID GetStackIDFromEvent (const Event *event_ptr)
 
static lldb::StackFrameSP GetStackFrameFromEvent (const Event *event_ptr)
 

Private Member Functions

 ThreadEventData (const ThreadEventData &)=delete
 
const ThreadEventDataoperator= (const ThreadEventData &)=delete
 

Private Attributes

lldb::ThreadSP m_thread_sp
 
StackID m_stack_id
 

Detailed Description

Definition at line 86 of file Thread.h.

Constructor & Destructor Documentation

◆ ThreadEventData() [1/4]

Thread::ThreadEventData::ThreadEventData ( const lldb::ThreadSP  thread_sp)

Definition at line 158 of file Thread.cpp.

◆ ThreadEventData() [2/4]

Thread::ThreadEventData::ThreadEventData ( const lldb::ThreadSP  thread_sp,
const StackID stack_id 
)

Definition at line 161 of file Thread.cpp.

◆ ThreadEventData() [3/4]

Thread::ThreadEventData::ThreadEventData ( )

Definition at line 165 of file Thread.cpp.

◆ ~ThreadEventData()

Thread::ThreadEventData::~ThreadEventData ( )
overridedefault

◆ ThreadEventData() [4/4]

lldb_private::Thread::ThreadEventData::ThreadEventData ( const ThreadEventData )
privatedelete

Member Function Documentation

◆ Dump()

void Thread::ThreadEventData::Dump ( Stream s) const
overridevirtual

Reimplemented from lldb_private::EventData.

Definition at line 169 of file Thread.cpp.

◆ GetEventDataFromEvent()

const Thread::ThreadEventData * Thread::ThreadEventData::GetEventDataFromEvent ( const Event event_ptr)
static

◆ GetFlavor()

llvm::StringRef lldb_private::Thread::ThreadEventData::GetFlavor ( ) const
inlineoverridevirtual

Implements lldb_private::EventData.

Definition at line 98 of file Thread.h.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef Thread::ThreadEventData::GetFlavorString ( )
static

Definition at line 154 of file Thread.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetStackFrameFromEvent()

StackFrameSP Thread::ThreadEventData::GetStackFrameFromEvent ( const Event event_ptr)
static

Definition at line 199 of file Thread.cpp.

References GetStackID(), and GetThread().

Referenced by lldb::SBThread::GetStackFrameFromEvent().

◆ GetStackID()

StackID lldb_private::Thread::ThreadEventData::GetStackID ( ) const
inline

Definition at line 114 of file Thread.h.

References m_stack_id.

Referenced by GetStackFrameFromEvent(), and GetStackIDFromEvent().

◆ GetStackIDFromEvent()

StackID Thread::ThreadEventData::GetStackIDFromEvent ( const Event event_ptr)
static

Definition at line 190 of file Thread.cpp.

References GetStackID().

◆ GetThread()

lldb::ThreadSP lldb_private::Thread::ThreadEventData::GetThread ( ) const
inline

Definition at line 112 of file Thread.h.

References m_thread_sp.

Referenced by GetStackFrameFromEvent(), and GetThreadFromEvent().

◆ GetThreadFromEvent()

ThreadSP Thread::ThreadEventData::GetThreadFromEvent ( const Event event_ptr)
static

◆ operator=()

const ThreadEventData & lldb_private::Thread::ThreadEventData::operator= ( const ThreadEventData )
privatedelete

Member Data Documentation

◆ m_stack_id

StackID lldb_private::Thread::ThreadEventData::m_stack_id
private

Definition at line 118 of file Thread.h.

Referenced by GetStackID().

◆ m_thread_sp

lldb::ThreadSP lldb_private::Thread::ThreadEventData::m_thread_sp
private

Definition at line 117 of file Thread.h.

Referenced by GetThread().


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