File indexing completed on 2026-05-10 08:42:42
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_API_SBTHREADCOLLECTION_H
0010 #define LLDB_API_SBTHREADCOLLECTION_H
0011
0012 #include "lldb/API/SBDefines.h"
0013
0014 namespace lldb {
0015
0016 class LLDB_API SBThreadCollection {
0017 public:
0018 SBThreadCollection();
0019
0020 SBThreadCollection(const SBThreadCollection &rhs);
0021
0022 const SBThreadCollection &operator=(const SBThreadCollection &rhs);
0023
0024 ~SBThreadCollection();
0025
0026 explicit operator bool() const;
0027
0028 bool IsValid() const;
0029
0030 size_t GetSize();
0031
0032 lldb::SBThread GetThreadAtIndex(size_t idx);
0033
0034 protected:
0035
0036 lldb_private::ThreadCollection *get() const;
0037
0038 lldb_private::ThreadCollection *operator->() const;
0039
0040 lldb::ThreadCollectionSP &operator*();
0041
0042 const lldb::ThreadCollectionSP &operator*() const;
0043
0044 SBThreadCollection(const lldb::ThreadCollectionSP &threads);
0045
0046 void SetOpaque(const lldb::ThreadCollectionSP &threads);
0047
0048 private:
0049 friend class SBProcess;
0050 friend class SBThread;
0051 friend class SBSaveCoreOptions;
0052 lldb::ThreadCollectionSP m_opaque_sp;
0053 };
0054
0055 }
0056
0057 #endif