blob: 7f48166f6c2479a20d6d2f8c3997c82118ec74cc [file] [log] [blame]
Jason Molenda5e8dce42013-12-13 00:29:16 +00001//===-- 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
10namespace lldb {
11
12class SBQueue
13{
14public:
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 Molenda2fd83352014-02-05 05:44:54 +000046 GetNumPendingItems ();
Jason Molenda5e8dce42013-12-13 00:29:16 +000047
48 lldb::SBQueueItem
Jason Molenda2fd83352014-02-05 05:44:54 +000049 GetPendingItemAtIndex (uint32_t);
Jason Molenda5e8dce42013-12-13 00:29:16 +000050
Jason Molenda37e9b5a2014-03-09 21:17:08 +000051 uint32_t
52 GetNumRunningItems ();
53
Jason Molenda5e8dce42013-12-13 00:29:16 +000054};
55
56} // namespace lldb
57