LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb::SBProcessInfo Class Reference

#include <SBProcessInfo.h>

Collaboration diagram for lldb::SBProcessInfo:
Collaboration graph
[legend]

Public Member Functions

 SBProcessInfo ()
 
 SBProcessInfo (const SBProcessInfo &rhs)
 
 ~SBProcessInfo ()
 
SBProcessInfooperator= (const SBProcessInfo &rhs)
 
 operator bool () const
 
bool IsValid () const
 
const char * GetName ()
 
SBFileSpec GetExecutableFile ()
 
lldb::pid_t GetProcessID ()
 
uint32_t GetUserID ()
 
uint32_t GetGroupID ()
 
bool UserIDIsValid ()
 
bool GroupIDIsValid ()
 
uint32_t GetEffectiveUserID ()
 
uint32_t GetEffectiveGroupID ()
 
bool EffectiveUserIDIsValid ()
 
bool EffectiveGroupIDIsValid ()
 
lldb::pid_t GetParentProcessID ()
 
const char * GetTriple ()
 Return the target triple (arch-vendor-os) for the described process. More...
 

Private Member Functions

lldb_private::ProcessInstanceInforef ()
 
void SetProcessInfo (const lldb_private::ProcessInstanceInfo &proc_info_ref)
 

Private Attributes

std::unique_ptr< lldb_private::ProcessInstanceInfom_opaque_up
 

Friends

class SBProcess
 

Detailed Description

Definition at line 16 of file SBProcessInfo.h.

Constructor & Destructor Documentation

◆ SBProcessInfo() [1/2]

SBProcessInfo::SBProcessInfo ( )

Definition at line 18 of file SBProcessInfo.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBProcessInfo() [2/2]

SBProcessInfo::SBProcessInfo ( const SBProcessInfo rhs)

Definition at line 22 of file SBProcessInfo.cpp.

References lldb_private::clone(), LLDB_RECORD_CONSTRUCTOR, and m_opaque_up.

◆ ~SBProcessInfo()

SBProcessInfo::~SBProcessInfo ( )
default

Member Function Documentation

◆ EffectiveGroupIDIsValid()

bool SBProcessInfo::EffectiveGroupIDIsValid ( )

Definition at line 162 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ EffectiveUserIDIsValid()

bool SBProcessInfo::EffectiveUserIDIsValid ( )

Definition at line 152 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetEffectiveGroupID()

uint32_t SBProcessInfo::GetEffectiveGroupID ( )

Definition at line 142 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, m_opaque_up, and UINT32_MAX.

◆ GetEffectiveUserID()

uint32_t SBProcessInfo::GetEffectiveUserID ( )

Definition at line 132 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, m_opaque_up, and UINT32_MAX.

◆ GetExecutableFile()

SBFileSpec SBProcessInfo::GetExecutableFile ( )

◆ GetGroupID()

uint32_t SBProcessInfo::GetGroupID ( )

Definition at line 102 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, m_opaque_up, and UINT32_MAX.

◆ GetName()

const char * SBProcessInfo::GetName ( )

Definition at line 61 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetParentProcessID()

lldb::pid_t SBProcessInfo::GetParentProcessID ( )

◆ GetProcessID()

lldb::pid_t SBProcessInfo::GetProcessID ( )

◆ GetTriple()

const char * SBProcessInfo::GetTriple ( )

Return the target triple (arch-vendor-os) for the described process.

Definition at line 182 of file SBProcessInfo.cpp.

References lldb_private::ConstString::GetCString(), LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetUserID()

uint32_t SBProcessInfo::GetUserID ( )

Definition at line 92 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, m_opaque_up, and UINT32_MAX.

◆ GroupIDIsValid()

bool SBProcessInfo::GroupIDIsValid ( )

Definition at line 122 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ IsValid()

bool SBProcessInfo::IsValid ( ) const

Definition at line 51 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator bool()

SBProcessInfo::operator bool ( ) const
explicit

Definition at line 55 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

SBProcessInfo & SBProcessInfo::operator= ( const SBProcessInfo rhs)

◆ ref()

ProcessInstanceInfo & SBProcessInfo::ref ( )
private

Definition at line 40 of file SBProcessInfo.cpp.

References m_opaque_up.

Referenced by SetProcessInfo().

◆ SetProcessInfo()

void SBProcessInfo::SetProcessInfo ( const lldb_private::ProcessInstanceInfo proc_info_ref)
private

Definition at line 47 of file SBProcessInfo.cpp.

References ref().

Referenced by lldb::SBProcess::GetProcessInfo().

◆ UserIDIsValid()

bool SBProcessInfo::UserIDIsValid ( )

Definition at line 112 of file SBProcessInfo.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

Friends And Related Function Documentation

◆ SBProcess

friend class SBProcess
friend

Definition at line 57 of file SBProcessInfo.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::ProcessInstanceInfo> lldb::SBProcessInfo::m_opaque_up
private

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