LLDB
mainline
llvm-project
lldb
include
lldb
API
SBQueue.h
Go to the documentation of this file.
1
//===-- SBQueue.h -----------------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_API_SBQUEUE_H
10
#define LLDB_API_SBQUEUE_H
11
12
#include <vector>
13
14
#include "
lldb/API/SBDefines.h
"
15
#include "
lldb/lldb-forward.h
"
16
17
namespace
lldb
{
18
19
class
LLDB_API
SBQueue
{
20
public
:
21
SBQueue
();
22
23
SBQueue
(
const
SBQueue
&rhs);
24
25
const
SBQueue
&operator=(
const
lldb::SBQueue
&rhs);
26
27
~SBQueue
();
28
29
explicit
operator
bool()
const
;
30
31
bool
IsValid()
const
;
32
33
void
Clear();
34
35
lldb::SBProcess
GetProcess();
36
37
lldb::queue_id_t
GetQueueID()
const
;
38
39
const
char
*
GetName
()
const
;
40
41
uint32_t GetIndexID()
const
;
42
43
uint32_t GetNumThreads();
44
45
lldb::SBThread
GetThreadAtIndex(uint32_t);
46
47
uint32_t GetNumPendingItems();
48
49
lldb::SBQueueItem
GetPendingItemAtIndex(uint32_t);
50
51
uint32_t GetNumRunningItems();
52
53
lldb::QueueKind
GetKind
();
54
55
protected
:
56
friend
class
SBProcess
;
57
friend
class
SBThread
;
58
59
SBQueue
(
const
QueueSP
&queue_sp);
60
61
void
SetQueue(
const
lldb::QueueSP
&queue_sp);
62
63
private
:
64
std::shared_ptr<lldb_private::QueueImpl>
m_opaque_sp
;
65
};
66
67
}
// namespace lldb
68
69
#endif
// LLDB_API_SBQUEUE_H
GetName
static const char * GetName(DWARFDeclContext::Entry entry)
Returns the name of entry if it has one, or the appropriate "anonymous {namespace,...
Definition:
DWARFDeclContext.cpp:17
SBDefines.h
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
GetKind
uint32_t GetKind(uint32_t data)
Return the type kind encoded in the given data.
Definition:
SymbolFileCTF.cpp:307
lldb::SBProcess
Definition:
SBProcess.h:29
lldb::SBQueueItem
Definition:
SBQueueItem.h:21
lldb::SBQueue
Definition:
SBQueue.h:19
lldb::SBQueue::m_opaque_sp
std::shared_ptr< lldb_private::QueueImpl > m_opaque_sp
Definition:
SBQueue.h:64
lldb::SBQueue::~SBQueue
~SBQueue()
lldb::SBThread
Definition:
SBThread.h:26
lldb-forward.h
lldb
Definition:
SBAddress.h:15
lldb::QueueSP
std::shared_ptr< lldb_private::Queue > QueueSP
Definition:
lldb-forward.h:390
lldb::QueueKind
QueueKind
Queue type.
Definition:
lldb-enumerations.h:1012
lldb::queue_id_t
uint64_t queue_id_t
Definition:
lldb-types.h:88
Generated on Wed Apr 17 2024 13:11:17 for LLDB by
1.9.6