|
|
|||
File indexing completed on 2026-05-10 08:42:49
0001 //===-- MonitoringProcessLauncher.h -----------------------------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 0009 #ifndef LLDB_HOST_MONITORINGPROCESSLAUNCHER_H 0010 #define LLDB_HOST_MONITORINGPROCESSLAUNCHER_H 0011 0012 #include <memory> 0013 #include "lldb/Host/ProcessLauncher.h" 0014 0015 namespace lldb_private { 0016 0017 class MonitoringProcessLauncher : public ProcessLauncher { 0018 public: 0019 explicit MonitoringProcessLauncher( 0020 std::unique_ptr<ProcessLauncher> delegate_launcher); 0021 0022 /// Launch the process specified in launch_info. The monitoring callback in 0023 /// launch_info must be set, and it will be called when the process 0024 /// terminates. 0025 HostProcess LaunchProcess(const ProcessLaunchInfo &launch_info, 0026 Status &error) override; 0027 0028 private: 0029 std::unique_ptr<ProcessLauncher> m_delegate_launcher; 0030 }; 0031 0032 } // namespace lldb_private 0033 0034 #endif // LLDB_HOST_MONITORINGPROCESSLAUNCHER_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|