LLDB  mainline
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBQueue Class Reference

#include <SBQueue.h>

Collaboration diagram for lldb::SBQueue:
Collaboration graph
[legend]

Public Member Functions

 SBQueue ()
 
 SBQueue (const QueueSP &queue_sp)
 
 SBQueue (const SBQueue &rhs)
 
const SBQueueoperator= (const lldb::SBQueue &rhs)
 
 ~SBQueue ()
 
 operator bool () const
 
bool IsValid () const
 
void Clear ()
 
lldb::SBProcess GetProcess ()
 
lldb::queue_id_t GetQueueID () const
 
const char * GetName () const
 
uint32_t GetIndexID () const
 
uint32_t GetNumThreads ()
 
lldb::SBThread GetThreadAtIndex (uint32_t)
 
uint32_t GetNumPendingItems ()
 
lldb::SBQueueItem GetPendingItemAtIndex (uint32_t)
 
uint32_t GetNumRunningItems ()
 
lldb::QueueKind GetKind ()
 

Protected Member Functions

void SetQueue (const lldb::QueueSP &queue_sp)
 

Private Attributes

std::shared_ptr< lldb_private::QueueImplm_opaque_sp
 

Friends

class SBProcess
 
class SBThread
 

Detailed Description

Definition at line 19 of file SBQueue.h.

Constructor & Destructor Documentation

◆ SBQueue() [1/3]

SBQueue::SBQueue ( )

Definition at line 219 of file SBQueue.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBQueue() [2/3]

SBQueue::SBQueue ( const QueueSP &  queue_sp)

Definition at line 223 of file SBQueue.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ SBQueue() [3/3]

SBQueue::SBQueue ( const SBQueue rhs)

Definition at line 228 of file SBQueue.cpp.

References LLDB_RECORD_CONSTRUCTOR, and m_opaque_sp.

◆ ~SBQueue()

SBQueue::~SBQueue ( )
default

Member Function Documentation

◆ Clear()

void SBQueue::Clear ( )

Definition at line 257 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_sp.

◆ GetIndexID()

uint32_t SBQueue::GetIndexID ( ) const

Definition at line 273 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_sp.

◆ GetKind()

lldb::QueueKind SBQueue::GetKind ( )

Definition at line 325 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_sp.

◆ GetName()

const char * SBQueue::GetName ( ) const

Definition at line 280 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_sp.

◆ GetNumPendingItems()

uint32_t SBQueue::GetNumPendingItems ( )

Definition at line 300 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_sp.

◆ GetNumRunningItems()

uint32_t SBQueue::GetNumRunningItems ( )

Definition at line 313 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_sp.

◆ GetNumThreads()

uint32_t SBQueue::GetNumThreads ( )

Definition at line 286 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_sp.

◆ GetPendingItemAtIndex()

SBQueueItem SBQueue::GetPendingItemAtIndex ( uint32_t  idx)

Definition at line 306 of file SBQueue.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_sp.

◆ GetProcess()

SBProcess SBQueue::GetProcess ( )

Definition at line 319 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, LLDB_RECORD_RESULT, and m_opaque_sp.

◆ GetQueueID()

lldb::queue_id_t SBQueue::GetQueueID ( ) const

Definition at line 267 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_sp.

◆ GetThreadAtIndex()

SBThread SBQueue::GetThreadAtIndex ( uint32_t  idx)

Definition at line 292 of file SBQueue.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_sp.

◆ IsValid()

bool SBQueue::IsValid ( ) const

Definition at line 247 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator bool()

SBQueue::operator bool ( ) const
explicit

Definition at line 251 of file SBQueue.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

const lldb::SBQueue & SBQueue::operator= ( const lldb::SBQueue rhs)

Definition at line 237 of file SBQueue.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_sp.

◆ SetQueue()

void SBQueue::SetQueue ( const lldb::QueueSP &  queue_sp)
protected

Definition at line 263 of file SBQueue.cpp.

References m_opaque_sp.

Referenced by lldb::SBThread::GetQueue(), and lldb::SBProcess::GetQueueAtIndex().

Friends And Related Function Documentation

◆ SBProcess

friend class SBProcess
friend

Definition at line 58 of file SBQueue.h.

◆ SBThread

friend class SBThread
friend

Definition at line 59 of file SBQueue.h.

Member Data Documentation

◆ m_opaque_sp

std::shared_ptr<lldb_private::QueueImpl> lldb::SBQueue::m_opaque_sp
private

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