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]
Collaboration diagram for lldb_private::Thread::ThreadEventData:
Collaboration graph
[legend]

Public Member Functions

 ThreadEventData (const lldb::ThreadSP thread_sp)
 
 ThreadEventData (const lldb::ThreadSP thread_sp, const StackID &stack_id)
 
 ThreadEventData ()
 
 ~ThreadEventData () override
 
ConstString 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 ()
 

Static Public Member Functions

static ConstString 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 82 of file Thread.h.

Constructor & Destructor Documentation

◆ ThreadEventData() [1/4]

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

Definition at line 162 of file Thread.cpp.

◆ ThreadEventData() [2/4]

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

Definition at line 165 of file Thread.cpp.

◆ ThreadEventData() [3/4]

Thread::ThreadEventData::ThreadEventData ( )

Definition at line 169 of file Thread.cpp.

References ~ThreadEventData().

◆ ~ThreadEventData()

Thread::ThreadEventData::~ThreadEventData ( )
overridedefault

Referenced by ThreadEventData().

◆ 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 173 of file Thread.cpp.

◆ GetEventDataFromEvent()

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

◆ GetFlavor()

ConstString lldb_private::Thread::ThreadEventData::GetFlavor ( ) const
inlineoverridevirtual

Implements lldb_private::EventData.

Definition at line 94 of file Thread.h.

◆ GetFlavorString()

ConstString Thread::ThreadEventData::GetFlavorString ( )
static

Definition at line 157 of file Thread.cpp.

Referenced by GetEventDataFromEvent().

◆ GetStackFrameFromEvent()

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

Definition at line 203 of file Thread.cpp.

References GetEventDataFromEvent(), GetStackID(), and GetThread().

◆ GetStackID()

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

Definition at line 110 of file Thread.h.

Referenced by GetStackFrameFromEvent(), and GetStackIDFromEvent().

◆ GetStackIDFromEvent()

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

Definition at line 194 of file Thread.cpp.

References GetEventDataFromEvent(), and GetStackID().

◆ GetThread()

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

Definition at line 108 of file Thread.h.

Referenced by GetStackFrameFromEvent(), and GetThreadFromEvent().

◆ GetThreadFromEvent()

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

Definition at line 186 of file Thread.cpp.

References GetEventDataFromEvent(), and GetThread().

Referenced by lldb_private::Debugger::HandleThreadEvent().

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

◆ m_thread_sp

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

Definition at line 113 of file Thread.h.


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