1//===-- SWIG Interface for 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
9namespace lldb {
10
11%feature("docstring",
12"This class represents an item in an :py:class:`SBQueue`."
13) SBQueueItem;
14class SBQueueItem
15{
16public:
17    SBQueueItem ();
18
19    SBQueueItem (const lldb::QueueItemSP& queue_item_sp);
20
21   ~SBQueueItem();
22
23    bool
24    IsValid() const;
25
26    explicit operator bool() const;
27
28    void
29    Clear ();
30
31    lldb::QueueItemKind
32    GetKind () const;
33
34    void
35    SetKind (lldb::QueueItemKind kind);
36
37    lldb::SBAddress
38    GetAddress () const;
39
40    void
41    SetAddress (lldb::SBAddress addr);
42
43    void
44    SetQueueItem (const lldb::QueueItemSP& queue_item_sp);
45
46    lldb::SBThread
47    GetExtendedBacktraceThread (const char *type);
48};
49
50} // namespace lldb
51