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

Public Member Functions

 QueueImpl ()=default
 
 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::ThreadWPm_threads
 
bool m_thread_list_fetched
 
std::vector< lldb::QueueItemSPm_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 ( )
default

◆ QueueImpl() [2/3]

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

Definition at line 32 of file SBQueue.cpp.

References m_queue_wp.

◆ 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 48 of file SBQueue.cpp.

References m_pending_items, m_pending_items_fetched, m_queue_wp, m_thread_list_fetched, and m_threads.

Referenced by SetQueue().

◆ 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 70 of file SBQueue.cpp.

References LLDB_INVALID_INDEX32, and m_queue_wp.

◆ GetKind()

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

Definition at line 192 of file SBQueue.cpp.

References lldb::eQueueKindUnknown, and m_queue_wp.

◆ GetName()

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

Definition at line 79 of file SBQueue.cpp.

References lldb_private::ConstString::GetCString(), and m_queue_wp.

◆ GetNumPendingItems()

uint32_t lldb_private::QueueImpl::GetNumPendingItems ( )
inline

Definition at line 154 of file SBQueue.cpp.

References m_pending_items, m_pending_items_fetched, and m_queue_wp.

◆ GetNumRunningItems()

uint32_t lldb_private::QueueImpl::GetNumRunningItems ( )
inline

Definition at line 175 of file SBQueue.cpp.

References m_queue_wp.

◆ GetNumThreads()

uint32_t lldb_private::QueueImpl::GetNumThreads ( )
inline

Definition at line 127 of file SBQueue.cpp.

References FetchThreads(), m_thread_list_fetched, and m_threads.

◆ GetPendingItemAtIndex()

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

◆ GetProcess()

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

Definition at line 183 of file SBQueue.cpp.

References m_queue_wp, and lldb::SBProcess::SetSP().

◆ GetQueueID()

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

Definition at line 61 of file SBQueue.cpp.

References LLDB_INVALID_QUEUE_ID, and m_queue_wp.

◆ GetThreadAtIndex()

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

Definition at line 137 of file SBQueue.cpp.

References FetchThreads(), m_queue_wp, m_threads, and lldb::SBThread::SetThread().

◆ IsValid()

bool lldb_private::QueueImpl::IsValid ( )
inline

Definition at line 46 of file SBQueue.cpp.

References m_queue_wp.

◆ SetQueue()

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

Definition at line 56 of file SBQueue.cpp.

References Clear(), and m_queue_wp.

Member Data Documentation

◆ m_pending_items

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

Definition at line 207 of file SBQueue.cpp.

Referenced by Clear(), FetchItems(), GetNumPendingItems(), GetPendingItemAtIndex(), and QueueImpl().

◆ m_pending_items_fetched

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

Definition at line 208 of file SBQueue.cpp.

Referenced by Clear(), FetchItems(), GetNumPendingItems(), GetPendingItemAtIndex(), and QueueImpl().

◆ m_queue_wp

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

◆ m_thread_list_fetched

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

Definition at line 205 of file SBQueue.cpp.

Referenced by Clear(), FetchThreads(), GetNumThreads(), and QueueImpl().

◆ m_threads

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

Definition at line 204 of file SBQueue.cpp.

Referenced by Clear(), FetchThreads(), GetNumThreads(), GetThreadAtIndex(), and QueueImpl().


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