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 11class SBQueueItem 12{ 13public: 14 SBQueueItem (); 15 16 SBQueueItem (const lldb::QueueItemSP& queue_item_sp); 17 18 ~SBQueueItem(); 19 20 bool 21 IsValid() const; 22 23 explicit operator bool() const; 24 25 void 26 Clear (); 27 28 lldb::QueueItemKind 29 GetKind () const; 30 31 void 32 SetKind (lldb::QueueItemKind kind); 33 34 lldb::SBAddress 35 GetAddress () const; 36 37 void 38 SetAddress (lldb::SBAddress addr); 39 40 void 41 SetQueueItem (const lldb::QueueItemSP& queue_item_sp); 42 43 lldb::SBThread 44 GetExtendedBacktraceThread (const char *type); 45}; 46 47} // namespace lldb 48