LLDB  mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::QueueImpl Class Reference
Collaboration diagram for lldb_private::QueueImpl:
Collaboration graph
[legend]

Public Member Functions

 QueueImpl ()
 
 QueueImpl (const lldb::QueueSP &queue_sp)
 
 QueueImpl (const QueueImpl &rhs)
 
 ~QueueImpl ()=default
 
bool IsValid ()
 
void Clear ()
 
void SetQueue (const lldb::QueueSP &queue_sp)
 
lldb::queue_id_t GetQueueID () const
 
uint32_t GetIndexID () const
 
const char * GetName () const
 
void FetchThreads ()
 
void FetchItems ()
 
uint32_t GetNumThreads ()
 
lldb::SBThread GetThreadAtIndex (uint32_t idx)
 
uint32_t GetNumPendingItems ()
 
lldb::SBQueueItem GetPendingItemAtIndex (uint32_t idx)
 
uint32_t GetNumRunningItems ()
 
lldb::SBProcess GetProcess ()
 
lldb::QueueKind GetKind ()
 

Private Attributes

lldb::QueueWP m_queue_wp
 
std::vector< lldb::ThreadWP > m_threads
 
bool m_thread_list_fetched
 
std::vector< lldb::QueueItemSP > m_pending_items
 
bool m_pending_items_fetched
 

Detailed Description

Definition at line 28 of file SBQueue.cpp.

Constructor & Destructor Documentation

◆ QueueImpl() [1/3]

lldb_private::QueueImpl::QueueImpl ( )
inline

Definition at line 30 of file SBQueue.cpp.

◆ QueueImpl() [2/3]

lldb_private::QueueImpl::QueueImpl ( const lldb::QueueSP &  queue_sp)
inline

Definition at line 32 of file SBQueue.cpp.

◆ QueueImpl() [3/3]

lldb_private::QueueImpl::QueueImpl ( const QueueImpl rhs)
inline

◆ ~QueueImpl()

lldb_private::QueueImpl::~QueueImpl ( )
default

Member Function Documentation

◆ Clear()

void lldb_private::QueueImpl::Clear ( )
inline

Definition at line 52 of file SBQueue.cpp.

◆ FetchItems()

void lldb_private::QueueImpl::FetchItems ( )
inline

◆ FetchThreads()

void lldb_private::QueueImpl::FetchThreads ( )
inline

◆ GetIndexID()

uint32_t lldb_private::QueueImpl::GetIndexID ( ) const
inline

Definition at line 74 of file SBQueue.cpp.

References LLDB_INVALID_INDEX32.

◆ GetKind()

lldb::QueueKind lldb_private::QueueImpl::GetKind ( )
inline

Definition at line 198 of file SBQueue.cpp.

References lldb::eQueueKindUnknown.

◆ GetName()

const char* lldb_private::QueueImpl::GetName ( ) const
inline

Definition at line 83 of file SBQueue.cpp.

◆ GetNumPendingItems()

uint32_t lldb_private::QueueImpl::GetNumPendingItems ( )
inline

Definition at line 160 of file SBQueue.cpp.

◆ GetNumRunningItems()

uint32_t lldb_private::QueueImpl::GetNumRunningItems ( )
inline

Definition at line 181 of file SBQueue.cpp.

◆ GetNumThreads()

uint32_t lldb_private::QueueImpl::GetNumThreads ( )
inline

Definition at line 133 of file SBQueue.cpp.

◆ GetPendingItemAtIndex()

lldb::SBQueueItem lldb_private::QueueImpl::GetPendingItemAtIndex ( uint32_t  idx)
inline

Definition at line 172 of file SBQueue.cpp.

References lldb::SBQueueItem::SetQueueItem().

◆ GetProcess()

lldb::SBProcess lldb_private::QueueImpl::GetProcess ( )
inline

Definition at line 189 of file SBQueue.cpp.

References lldb::SBProcess::SetSP().

◆ GetQueueID()

lldb::queue_id_t lldb_private::QueueImpl::GetQueueID ( ) const
inline

Definition at line 65 of file SBQueue.cpp.

References LLDB_INVALID_QUEUE_ID.

◆ GetThreadAtIndex()

lldb::SBThread lldb_private::QueueImpl::GetThreadAtIndex ( uint32_t  idx)
inline

Definition at line 143 of file SBQueue.cpp.

References lldb_private::Thread::GetProcess(), and lldb::SBThread::SetThread().

◆ IsValid()

bool lldb_private::QueueImpl::IsValid ( )
inline

Definition at line 50 of file SBQueue.cpp.

◆ SetQueue()

void lldb_private::QueueImpl::SetQueue ( const lldb::QueueSP &  queue_sp)
inline

Definition at line 60 of file SBQueue.cpp.

Member Data Documentation

◆ m_pending_items

std::vector<lldb::QueueItemSP> lldb_private::QueueImpl::m_pending_items
private

Definition at line 213 of file SBQueue.cpp.

Referenced by QueueImpl().

◆ m_pending_items_fetched

bool lldb_private::QueueImpl::m_pending_items_fetched
private
Initial value:
=
false

Definition at line 214 of file SBQueue.cpp.

Referenced by QueueImpl().

◆ m_queue_wp

lldb::QueueWP lldb_private::QueueImpl::m_queue_wp
private

Definition at line 208 of file SBQueue.cpp.

Referenced by QueueImpl().

◆ m_thread_list_fetched

bool lldb_private::QueueImpl::m_thread_list_fetched
private
Initial value:
=
false

Definition at line 211 of file SBQueue.cpp.

Referenced by QueueImpl().

◆ m_threads

std::vector<lldb::ThreadWP> lldb_private::QueueImpl::m_threads
private

Definition at line 210 of file SBQueue.cpp.

Referenced by QueueImpl().


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