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 {
16
18public:
20
21 SBQueueItem(const lldb::QueueItemSP &queue_item_sp);
22
24
25 explicit operator bool() const;
26
27 bool IsValid() const;
28
29 void Clear();
30
31 lldb::QueueItemKind GetKind() const;
32
33 void SetKind(lldb::QueueItemKind kind);
34
35 lldb::SBAddress GetAddress() const;
36
37 void SetAddress(lldb::SBAddress addr);
38
39 void SetQueueItem(const lldb::QueueItemSP &queue_item_sp);
40
41 SBThread GetExtendedBacktraceThread(const char *type);
42
43private:
44 lldb::QueueItemSP m_queue_item_sp;
45};
46
47} // namespace lldb
48
49#endif // LLDB_API_SBQUEUEITEM_H
#define LLDB_API
Definition: SBDefines.h:26
lldb::QueueItemSP m_queue_item_sp
Definition: SBQueueItem.h:44
SBQueueItem(const lldb::QueueItemSP &queue_item_sp)
Definition: SBAddress.h:15
QueueItemKind
Queue work item types.