blob: 09dbc190a6d6bdc425706e08ae271a6372f16aa3 [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
46 GetNumItems ();
47
48 lldb::SBQueueItem
49 GetItemAtIndex (uint32_t);
50
51};
52
53} // namespace lldb
54