1 //===-- SBQueueItem.h -------------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SBQueueItem_h_
10 #define LLDB_SBQueueItem_h_
12 #include "lldb/API/SBAddress.h"
13 #include "lldb/API/SBDefines.h"
17 class LLDB_API SBQueueItem {
21 SBQueueItem(const lldb::QueueItemSP &queue_item_sp);
25 explicit operator bool() const;
31 lldb::QueueItemKind GetKind() const;
33 void SetKind(lldb::QueueItemKind kind);
35 lldb::SBAddress GetAddress() const;
37 void SetAddress(lldb::SBAddress addr);
39 void SetQueueItem(const lldb::QueueItemSP &queue_item_sp);
41 SBThread GetExtendedBacktraceThread(const char *type);
44 lldb::QueueItemSP m_queue_item_sp;
49 #endif // LLDB_SBQueueItem_h_