LLDB  mainline
Public Member Functions | Private Attributes | List of all members
lldb_private::HostProcess Class Reference

#include <HostProcess.h>

Collaboration diagram for lldb_private::HostProcess:
Collaboration graph
[legend]

Public Member Functions

 HostProcess ()
 
 HostProcess (lldb::process_t process)
 
 ~HostProcess ()
 
Status Terminate ()
 
Status GetMainModule (FileSpec &file_spec) const
 
lldb::pid_t GetProcessId () const
 
bool IsRunning () const
 
llvm::Expected< HostThreadStartMonitoring (const Host::MonitorChildProcessCallback &callback, bool monitor_signals)
 
HostNativeProcessBaseGetNativeProcess ()
 
const HostNativeProcessBaseGetNativeProcess () const
 

Private Attributes

std::shared_ptr< HostNativeProcessBasem_native_process
 

Detailed Description

Definition at line 33 of file HostProcess.h.

Constructor & Destructor Documentation

◆ HostProcess() [1/2]

HostProcess::HostProcess ( )

Definition at line 16 of file HostProcess.cpp.

◆ HostProcess() [2/2]

HostProcess::HostProcess ( lldb::process_t  process)

Definition at line 18 of file HostProcess.cpp.

◆ ~HostProcess()

HostProcess::~HostProcess ( )

Definition at line 21 of file HostProcess.cpp.

Member Function Documentation

◆ GetMainModule()

Status HostProcess::GetMainModule ( FileSpec file_spec) const

Definition at line 25 of file HostProcess.cpp.

References m_native_process.

◆ GetNativeProcess() [1/2]

HostNativeProcessBase & HostProcess::GetNativeProcess ( )

◆ GetNativeProcess() [2/2]

const HostNativeProcessBase & HostProcess::GetNativeProcess ( ) const

Definition at line 45 of file HostProcess.cpp.

References m_native_process.

◆ GetProcessId()

lldb::pid_t HostProcess::GetProcessId ( ) const

◆ IsRunning()

bool HostProcess::IsRunning ( ) const

Definition at line 33 of file HostProcess.cpp.

References m_native_process.

◆ StartMonitoring()

llvm::Expected< HostThread > HostProcess::StartMonitoring ( const Host::MonitorChildProcessCallback callback,
bool  monitor_signals 
)

Definition at line 36 of file HostProcess.cpp.

References m_native_process.

◆ Terminate()

Status HostProcess::Terminate ( )

Definition at line 23 of file HostProcess.cpp.

References m_native_process.

Member Data Documentation

◆ m_native_process

std::shared_ptr<HostNativeProcessBase> lldb_private::HostProcess::m_native_process
private

The documentation for this class was generated from the following files: