aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/API/SBQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/API/SBQueue.h')
-rw-r--r--include/lldb/API/SBQueue.h71
1 files changed, 27 insertions, 44 deletions
diff --git a/include/lldb/API/SBQueue.h b/include/lldb/API/SBQueue.h
index 2f453cddd5d1..53612c0a125f 100644
--- a/include/lldb/API/SBQueue.h
+++ b/include/lldb/API/SBQueue.h
@@ -12,78 +12,61 @@
#include <vector>
-#include "lldb/lldb-forward.h"
#include "lldb/API/SBDefines.h"
+#include "lldb/lldb-forward.h"
namespace lldb {
-class LLDB_API SBQueue
-{
+class LLDB_API SBQueue {
public:
- SBQueue ();
+ SBQueue();
+
+ SBQueue(const QueueSP &queue_sp);
- SBQueue (const QueueSP& queue_sp);
-
- SBQueue (const SBQueue& rhs);
+ SBQueue(const SBQueue &rhs);
- const SBQueue &
- operator= (const lldb::SBQueue& rhs);
+ const SBQueue &operator=(const lldb::SBQueue &rhs);
- ~SBQueue();
+ ~SBQueue();
- bool
- IsValid() const;
+ bool IsValid() const;
- void
- Clear ();
+ void Clear();
- lldb::SBProcess
- GetProcess ();
+ lldb::SBProcess GetProcess();
- lldb::queue_id_t
- GetQueueID () const;
+ lldb::queue_id_t GetQueueID() const;
- const char *
- GetName () const;
+ const char *GetName() const;
- uint32_t
- GetIndexID () const;
+ uint32_t GetIndexID() const;
- uint32_t
- GetNumThreads ();
+ uint32_t GetNumThreads();
- lldb::SBThread
- GetThreadAtIndex (uint32_t);
+ lldb::SBThread GetThreadAtIndex(uint32_t);
- uint32_t
- GetNumPendingItems ();
+ uint32_t GetNumPendingItems();
- lldb::SBQueueItem
- GetPendingItemAtIndex (uint32_t);
+ lldb::SBQueueItem GetPendingItemAtIndex(uint32_t);
- uint32_t
- GetNumRunningItems ();
+ uint32_t GetNumRunningItems();
- lldb::QueueKind
- GetKind ();
+ lldb::QueueKind GetKind();
protected:
- friend class SBProcess;
- friend class SBThread;
+ friend class SBProcess;
+ friend class SBThread;
- void
- SetQueue (const lldb::QueueSP& queue_sp);
+ void SetQueue(const lldb::QueueSP &queue_sp);
- void
- FetchThreads ();
+ void FetchThreads();
- void
- FetchItems ();
+ void FetchItems();
private:
- std::shared_ptr<lldb_private::QueueImpl> m_opaque_sp;
+ std::shared_ptr<lldb_private::QueueImpl> m_opaque_sp;
};
} // namespace lldb
-#endif // LLDB_SBQueue_h_
+#endif // LLDB_SBQueue_h_