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

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 83 of file Thread.h.

Constructor & Destructor Documentation

◆ ThreadEventData() [1/4]

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

Definition at line 152 of file Thread.cpp.

◆ ThreadEventData() [2/4]

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

Definition at line 155 of file Thread.cpp.

◆ ThreadEventData() [3/4]

Thread::ThreadEventData::ThreadEventData ( )

Definition at line 159 of file Thread.cpp.

◆ ~ThreadEventData()

Thread::ThreadEventData::~ThreadEventData ( )

◆ ThreadEventData() [4/4]

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

Member Function Documentation

◆ Dump()

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

Reimplemented from lldb_private::EventData.

Definition at line 163 of file Thread.cpp.

◆ GetEventDataFromEvent()

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

◆ GetFlavor()

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

Implements lldb_private::EventData.

Definition at line 95 of file Thread.h.

References GetFlavorString().

◆ GetFlavorString()

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

Definition at line 148 of file Thread.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetStackFrameFromEvent()

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

Definition at line 193 of file Thread.cpp.

References GetStackID(), and GetThread().

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

◆ GetStackID()

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

Definition at line 111 of file Thread.h.

References m_stack_id.

Referenced by GetStackFrameFromEvent(), and GetStackIDFromEvent().

◆ GetStackIDFromEvent()

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

Definition at line 184 of file Thread.cpp.

References GetStackID().

◆ GetThread()

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

Definition at line 109 of file Thread.h.

References m_thread_sp.

Referenced by GetStackFrameFromEvent(), and GetThreadFromEvent().

◆ GetThreadFromEvent()

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

◆ operator=()

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

Member Data Documentation

◆ m_stack_id

StackID lldb_private::Thread::ThreadEventData::m_stack_id

Definition at line 115 of file Thread.h.

Referenced by GetStackID().

◆ m_thread_sp

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

Definition at line 114 of file Thread.h.

Referenced by GetThread().

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