1 //===-- SBThreadCollection.h ------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBThreadCollection_h_
11 #define LLDB_SBThreadCollection_h_
13 #include "lldb/API/SBDefines.h"
17 class SBThreadCollection
21 SBThreadCollection ();
23 SBThreadCollection (const SBThreadCollection &rhs);
25 const SBThreadCollection &
26 operator = (const SBThreadCollection &rhs);
28 ~SBThreadCollection ();
37 GetThreadAtIndex (size_t idx);
41 // Mimic shared pointer...
42 lldb_private::ThreadCollection *
45 lldb_private::ThreadCollection *
48 lldb::ThreadCollectionSP &
51 const lldb::ThreadCollectionSP &
54 SBThreadCollection (const lldb::ThreadCollectionSP &threads);
57 SetOpaque (const lldb::ThreadCollectionSP &threads);
60 friend class SBProcess;
62 lldb::ThreadCollectionSP m_opaque_sp;
68 #endif // LLDB_SBThreadCollection_h_