LLDB mainline
SBQueueItem.h
Go to the documentation of this file.
1//===-- SBQueueItem.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_SBQUEUEITEM_H
10#define LLDB_API_SBQUEUEITEM_H
11
12#include "lldb/API/SBAddress.h"
13#include "lldb/API/SBDefines.h"
14
15namespace lldb_private {
16class QueueImpl;
17}
18
19namespace lldb {
20
22public:
24
26
28
30
31 explicit operator bool() const;
32
33 bool IsValid() const;
34
35 void Clear();
36
38
40
42
43 void SetAddress(lldb::SBAddress addr);
44
45 SBThread GetExtendedBacktraceThread(const char *type);
46
47protected:
49
50 SBQueueItem(const lldb::QueueItemSP &queue_item_sp);
51
52 void SetQueueItem(const lldb::QueueItemSP &queue_item_sp);
53
54private:
56};
57
58} // namespace lldb
59
60#endif // LLDB_API_SBQUEUEITEM_H
#define LLDB_API
Definition SBDefines.h:28
uint32_t GetKind(uint32_t data)
Return the type kind encoded in the given data.
lldb::QueueItemSP m_queue_item_sp
Definition SBQueueItem.h:55
SBThread GetExtendedBacktraceThread(const char *type)
lldb::SBQueueItem & operator=(const lldb::SBQueueItem &rhs)
lldb::SBAddress GetAddress() const
bool IsValid() const
void SetQueueItem(const lldb::QueueItemSP &queue_item_sp)
void SetKind(lldb::QueueItemKind kind)
void SetAddress(lldb::SBAddress addr)
A class that represents a running process on the host machine.
QueueItemKind
Queue work item types.
std::shared_ptr< lldb_private::QueueItem > QueueItemSP