LLDB mainline
SBProcessInfoList.h
Go to the documentation of this file.
1//===-- SBProcessInfoList.h -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_API_SBPROCESSINSTANCEINFOLIST_H
10#define LLDB_API_SBPROCESSINSTANCEINFOLIST_H
11
12#include "lldb/API/SBDefines.h"
13
14#include <memory>
15
16namespace lldb_private {
17class ProcessInfoList;
18} // namespace lldb_private
19
20namespace lldb {
21
23public:
26
28
29 const lldb::SBProcessInfoList &operator=(const lldb::SBProcessInfoList &rhs);
30
31 uint32_t GetSize() const;
32
33 bool GetProcessInfoAtIndex(uint32_t idx, SBProcessInfo &info);
34
35 void Clear();
36
37private:
38 friend SBPlatform;
39
41 std::unique_ptr<lldb_private::ProcessInfoList> m_opaque_up;
42};
43
44} // namespace lldb
45
46#endif // LLDB_API_SBPROCESSINSTANCEINFOLIST_H
#define LLDB_API
Definition: SBDefines.h:28
std::unique_ptr< lldb_private::ProcessInfoList > m_opaque_up
A class that represents a running process on the host machine.
Definition: SBAddress.h:15