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

#include <Process.h>

Public Member Functions

 ProcessModID ()=default
 
 ProcessModID (const ProcessModID &rhs)
 
const ProcessModIDoperator= (const ProcessModID &rhs)
 
 ~ProcessModID ()=default
 
uint32_t BumpStopID ()
 
void BumpMemoryID ()
 
void BumpResumeID ()
 
bool IsRunningUtilityFunction () const
 
uint32_t GetStopID () const
 
uint32_t GetLastNaturalStopID () const
 
uint32_t GetMemoryID () const
 
uint32_t GetResumeID () const
 
uint32_t GetLastUserExpressionResumeID () const
 
bool MemoryIDEqual (const ProcessModID &compare) const
 
bool StopIDEqual (const ProcessModID &compare) const
 
void SetInvalid ()
 
bool IsValid () const
 
bool IsLastResumeForUserExpression () const
 
bool IsRunningExpression () const
 
void SetRunningUserExpression (bool on)
 
void SetRunningUtilityFunction (bool on)
 
void SetStopEventForLastNaturalStopID (lldb::EventSP event_sp)
 
lldb::EventSP GetStopEventForStopID (uint32_t stop_id) const
 

Private Attributes

uint32_t m_stop_id = 0
 
uint32_t m_last_natural_stop_id = 0
 
uint32_t m_resume_id = 0
 
uint32_t m_memory_id = 0
 
uint32_t m_last_user_expression_resume = 0
 
uint32_t m_running_user_expression = false
 
uint32_t m_running_utility_function = 0
 
lldb::EventSP m_last_natural_stop_event
 

Friends

bool operator== (const ProcessModID &lhs, const ProcessModID &rhs)
 

Detailed Description

Definition at line 211 of file Process.h.

Constructor & Destructor Documentation

◆ ProcessModID() [1/2]

lldb_private::ProcessModID::ProcessModID ( )
default

◆ ProcessModID() [2/2]

lldb_private::ProcessModID::ProcessModID ( const ProcessModID rhs)
inline

Definition at line 217 of file Process.h.

◆ ~ProcessModID()

lldb_private::ProcessModID::~ProcessModID ( )
default

Member Function Documentation

◆ BumpMemoryID()

void lldb_private::ProcessModID::BumpMemoryID ( )
inline

Definition at line 237 of file Process.h.

References m_memory_id.

Referenced by lldb_private::Process::WriteMemory().

◆ BumpResumeID()

void lldb_private::ProcessModID::BumpResumeID ( )
inline

◆ BumpStopID()

uint32_t lldb_private::ProcessModID::BumpStopID ( )
inline

◆ GetLastNaturalStopID()

uint32_t lldb_private::ProcessModID::GetLastNaturalStopID ( ) const
inline

Definition at line 250 of file Process.h.

References m_last_natural_stop_id.

Referenced by lldb_private::Process::GetLastNaturalStopID().

◆ GetLastUserExpressionResumeID()

uint32_t lldb_private::ProcessModID::GetLastUserExpressionResumeID ( ) const
inline

◆ GetMemoryID()

uint32_t lldb_private::ProcessModID::GetMemoryID ( ) const
inline

◆ GetResumeID()

uint32_t lldb_private::ProcessModID::GetResumeID ( ) const
inline

Definition at line 252 of file Process.h.

References m_resume_id.

Referenced by lldb_private::Process::GetResumeID().

◆ GetStopEventForStopID()

lldb::EventSP lldb_private::ProcessModID::GetStopEventForStopID ( uint32_t  stop_id) const
inline

◆ GetStopID()

uint32_t lldb_private::ProcessModID::GetStopID ( ) const
inline

◆ IsLastResumeForUserExpression()

bool lldb_private::ProcessModID::IsLastResumeForUserExpression ( ) const
inline

Definition at line 269 of file Process.h.

References m_last_user_expression_resume, and m_resume_id.

Referenced by BumpStopID(), and lldb_private::Process::SetPrivateState().

◆ IsRunningExpression()

bool lldb_private::ProcessModID::IsRunningExpression ( ) const
inline

◆ IsRunningUtilityFunction()

bool lldb_private::ProcessModID::IsRunningUtilityFunction ( ) const
inline

Definition at line 245 of file Process.h.

References m_running_utility_function.

Referenced by lldb_private::Process::PushProcessIOHandler().

◆ IsValid()

bool lldb_private::ProcessModID::IsValid ( ) const
inline

◆ MemoryIDEqual()

bool lldb_private::ProcessModID::MemoryIDEqual ( const ProcessModID compare) const
inline

Definition at line 257 of file Process.h.

References m_memory_id.

Referenced by lldb_private::operator!=().

◆ operator=()

const ProcessModID & lldb_private::ProcessModID::operator= ( const ProcessModID rhs)
inline

Definition at line 220 of file Process.h.

References m_memory_id, and m_stop_id.

◆ SetInvalid()

void lldb_private::ProcessModID::SetInvalid ( )
inline

◆ SetRunningUserExpression()

void lldb_private::ProcessModID::SetRunningUserExpression ( bool  on)
inline

Definition at line 285 of file Process.h.

References m_running_user_expression.

Referenced by lldb_private::Process::SetRunningUserExpression().

◆ SetRunningUtilityFunction()

void lldb_private::ProcessModID::SetRunningUtilityFunction ( bool  on)
inline

Definition at line 292 of file Process.h.

References m_running_utility_function.

Referenced by lldb_private::Process::SetRunningUtilityFunction().

◆ SetStopEventForLastNaturalStopID()

void lldb_private::ProcessModID::SetStopEventForLastNaturalStopID ( lldb::EventSP  event_sp)
inline

◆ StopIDEqual()

bool lldb_private::ProcessModID::StopIDEqual ( const ProcessModID compare) const
inline

Definition at line 261 of file Process.h.

References m_stop_id.

Referenced by lldb_private::operator!=().

Friends And Related Function Documentation

◆ operator==

bool operator== ( const ProcessModID lhs,
const ProcessModID rhs 
)
friend

Definition at line 324 of file Process.h.

Member Data Documentation

◆ m_last_natural_stop_event

lldb::EventSP lldb_private::ProcessModID::m_last_natural_stop_event
private

Definition at line 321 of file Process.h.

Referenced by GetStopEventForStopID(), and SetStopEventForLastNaturalStopID().

◆ m_last_natural_stop_id

uint32_t lldb_private::ProcessModID::m_last_natural_stop_id = 0
private

Definition at line 315 of file Process.h.

Referenced by BumpStopID(), GetLastNaturalStopID(), and GetStopEventForStopID().

◆ m_last_user_expression_resume

uint32_t lldb_private::ProcessModID::m_last_user_expression_resume = 0
private

◆ m_memory_id

uint32_t lldb_private::ProcessModID::m_memory_id = 0
private

Definition at line 317 of file Process.h.

Referenced by BumpMemoryID(), GetMemoryID(), MemoryIDEqual(), and operator=().

◆ m_resume_id

uint32_t lldb_private::ProcessModID::m_resume_id = 0
private

Definition at line 316 of file Process.h.

Referenced by BumpResumeID(), GetResumeID(), and IsLastResumeForUserExpression().

◆ m_running_user_expression

uint32_t lldb_private::ProcessModID::m_running_user_expression = false
private

Definition at line 319 of file Process.h.

Referenced by BumpResumeID(), IsRunningExpression(), and SetRunningUserExpression().

◆ m_running_utility_function

uint32_t lldb_private::ProcessModID::m_running_utility_function = 0
private

◆ m_stop_id

uint32_t lldb_private::ProcessModID::m_stop_id = 0
private

Definition at line 314 of file Process.h.

Referenced by BumpStopID(), GetStopID(), IsValid(), operator=(), SetInvalid(), and StopIDEqual().


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