Jason Molenda | 5e8dce4 | 2013-12-13 00:29:16 +0000 | [diff] [blame] | 1 | //===-- SWIG Interface for SBQueue.h -----------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | class SBQueue |
| 13 | { |
| 14 | public: |
| 15 | SBQueue (); |
| 16 | |
| 17 | SBQueue (const lldb::QueueSP& queue_sp); |
| 18 | |
| 19 | ~SBQueue(); |
| 20 | |
| 21 | bool |
| 22 | IsValid() const; |
| 23 | |
| 24 | void |
| 25 | Clear (); |
| 26 | |
| 27 | lldb::SBProcess |
| 28 | GetProcess (); |
| 29 | |
| 30 | lldb::queue_id_t |
| 31 | GetQueueID () const; |
| 32 | |
| 33 | const char * |
| 34 | GetName () const; |
| 35 | |
| 36 | uint32_t |
| 37 | GetIndexID () const; |
| 38 | |
| 39 | uint32_t |
| 40 | GetNumThreads (); |
| 41 | |
| 42 | lldb::SBThread |
| 43 | GetThreadAtIndex (uint32_t); |
| 44 | |
| 45 | uint32_t |
Jason Molenda | 2fd8335 | 2014-02-05 05:44:54 +0000 | [diff] [blame] | 46 | GetNumPendingItems (); |
Jason Molenda | 5e8dce4 | 2013-12-13 00:29:16 +0000 | [diff] [blame] | 47 | |
| 48 | lldb::SBQueueItem |
Jason Molenda | 2fd8335 | 2014-02-05 05:44:54 +0000 | [diff] [blame] | 49 | GetPendingItemAtIndex (uint32_t); |
Jason Molenda | 5e8dce4 | 2013-12-13 00:29:16 +0000 | [diff] [blame] | 50 | |
Jason Molenda | 37e9b5a | 2014-03-09 21:17:08 +0000 | [diff] [blame^] | 51 | uint32_t |
| 52 | GetNumRunningItems (); |
| 53 | |
Jason Molenda | 5e8dce4 | 2013-12-13 00:29:16 +0000 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | } // namespace lldb |
| 57 | |