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

#include <HostProcessWindows.h>

Inheritance diagram for lldb_private::HostProcessWindows:
Inheritance graph
[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
 
virtual Status Terminate ()=0
 
virtual lldb::pid_t GetProcessId () const =0
 
virtual bool IsRunning () const =0
 
lldb::process_t GetSystemHandle () const
 
virtual llvm::Expected< HostThreadStartMonitoring (const Host::MonitorChildProcessCallback &callback)=0
 

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 ( )

Definition at line 30 of file HostProcessWindows.cpp.

◆ HostProcessWindows() [2/2]

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

Definition at line 33 of file HostProcessWindows.cpp.

◆ ~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(), and SetOwnsHandle().


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