LLDB mainline
lldb_private::HostProcessWindows Class Reference

#include <HostProcessWindows.h>

Inheritance diagram for lldb_private::HostProcessWindows:
[legend]

Public Member Functions

 HostProcessWindows ()
 HostProcessWindows (lldb::process_t process)
 ~HostProcessWindows ()
void SetOwnsHandle (bool owns)
Status Terminate () override
lldb::pid_t GetProcessId () const override
bool IsRunning () const override
virtual llvm::Expected< HostThreadStartMonitoring (const Host::MonitorChildProcessCallback &callback) override
Public Member Functions inherited from lldb_private::HostNativeProcessBase
 HostNativeProcessBase ()
 HostNativeProcessBase (lldb::process_t process)
virtual ~HostNativeProcessBase ()=default
lldb::process_t GetSystemHandle () const

Private Member Functions

void Close ()

Private Attributes

bool m_owns_handle

Additional Inherited Members

Protected Attributes inherited from lldb_private::HostNativeProcessBase
lldb::process_t m_process

Detailed Description

Definition at line 19 of file HostProcessWindows.h.

Constructor & Destructor Documentation

◆ HostProcessWindows() [1/2]

HostProcessWindows::HostProcessWindows ( )

◆ HostProcessWindows() [2/2]

HostProcessWindows::HostProcessWindows ( lldb::process_t process)
explicit

◆ ~HostProcessWindows()

HostProcessWindows::~HostProcessWindows ( )

Definition at line 36 of file HostProcessWindows.cpp.

References Close().

Member Function Documentation

◆ Close()

void HostProcessWindows::Close ( )
private

◆ GetProcessId()

lldb::pid_t HostProcessWindows::GetProcessId ( ) const
overridevirtual

◆ IsRunning()

bool HostProcessWindows::IsRunning ( ) const
overridevirtual

◆ SetOwnsHandle()

void HostProcessWindows::SetOwnsHandle ( bool owns)

Definition at line 38 of file HostProcessWindows.cpp.

References m_owns_handle.

◆ StartMonitoring()

llvm::Expected< HostThread > HostProcessWindows::StartMonitoring ( const Host::MonitorChildProcessCallback & callback)
overridevirtual

◆ Terminate()

Status HostProcessWindows::Terminate ( )
overridevirtual

Member Data Documentation

◆ m_owns_handle

bool lldb_private::HostProcessWindows::m_owns_handle
private

Definition at line 38 of file HostProcessWindows.h.

Referenced by Close(), HostProcessWindows(), HostProcessWindows(), and SetOwnsHandle().


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