LLDB  mainline
Public Member Functions | Static Public Member Functions | Friends | List of all members
lldb_private::Process::ProcessEventData Class Reference

#include <Process.h>

Inheritance diagram for lldb_private::Process::ProcessEventData:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::Process::ProcessEventData:
Collaboration graph
[legend]

Public Member Functions

 ProcessEventData ()
 
 ProcessEventData (const lldb::ProcessSP &process, lldb::StateType state)
 
 ~ProcessEventData () override
 
ConstString GetFlavor () const override
 
lldb::ProcessSP GetProcessSP () const
 
lldb::StateType GetState () const
 
bool GetRestarted () const
 
size_t GetNumRestartedReasons ()
 
const char * GetRestartedReasonAtIndex (size_t idx)
 
bool GetInterrupted () const
 
void Dump (Stream *s) const override
 
void DoOnRemoval (Event *event_ptr) override
 
- Public Member Functions inherited from lldb_private::EventData
 EventData ()
 
virtual ~EventData ()
 

Static Public Member Functions

static ConstString GetFlavorString ()
 
static const Process::ProcessEventDataGetEventDataFromEvent (const Event *event_ptr)
 
static lldb::ProcessSP GetProcessFromEvent (const Event *event_ptr)
 
static lldb::StateType GetStateFromEvent (const Event *event_ptr)
 
static bool GetRestartedFromEvent (const Event *event_ptr)
 
static size_t GetNumRestartedReasons (const Event *event_ptr)
 
static const char * GetRestartedReasonAtIndex (const Event *event_ptr, size_t idx)
 
static void AddRestartedReason (Event *event_ptr, const char *reason)
 
static void SetRestartedInEvent (Event *event_ptr, bool new_value)
 
static bool GetInterruptedFromEvent (const Event *event_ptr)
 
static void SetInterruptedInEvent (Event *event_ptr, bool new_value)
 
static bool SetUpdateStateOnRemoval (Event *event_ptr)
 

Friends

class Process
 

Detailed Description

Definition at line 416 of file Process.h.

Constructor & Destructor Documentation

◆ ProcessEventData() [1/2]

Process::ProcessEventData::ProcessEventData ( )

◆ ProcessEventData() [2/2]

lldb_private::Process::ProcessEventData::ProcessEventData ( const lldb::ProcessSP &  process,
lldb::StateType  state 
)

◆ ~ProcessEventData()

Process::ProcessEventData::~ProcessEventData ( )
overridedefault

Referenced by ProcessEventData().

Member Function Documentation

◆ AddRestartedReason()

void Process::ProcessEventData::AddRestartedReason ( Event event_ptr,
const char *  reason 
)
static

◆ DoOnRemoval()

void Process::ProcessEventData::DoOnRemoval ( Event event_ptr)
overridevirtual

◆ Dump()

void Process::ProcessEventData::Dump ( Stream s) const
overridevirtual

◆ GetEventDataFromEvent()

const Process::ProcessEventData * Process::ProcessEventData::GetEventDataFromEvent ( const Event event_ptr)
static

◆ GetFlavor()

ConstString Process::ProcessEventData::GetFlavor ( ) const
overridevirtual

Implements lldb_private::EventData.

Definition at line 3934 of file Process.cpp.

References GetFlavorString().

◆ GetFlavorString()

ConstString Process::ProcessEventData::GetFlavorString ( )
static

Definition at line 3929 of file Process.cpp.

Referenced by GetEventDataFromEvent(), and GetFlavor().

◆ GetInterrupted()

bool lldb_private::Process::ProcessEventData::GetInterrupted ( ) const
inline

Definition at line 442 of file Process.h.

References GetGlobalProperties().

Referenced by GetInterruptedFromEvent().

◆ GetInterruptedFromEvent()

bool Process::ProcessEventData::GetInterruptedFromEvent ( const Event event_ptr)
static

◆ GetNumRestartedReasons() [1/2]

size_t lldb_private::Process::ProcessEventData::GetNumRestartedReasons ( )
inline

◆ GetNumRestartedReasons() [2/2]

size_t Process::ProcessEventData::GetNumRestartedReasons ( const Event event_ptr)
static

Definition at line 4145 of file Process.cpp.

References GetEventDataFromEvent(), and GetNumRestartedReasons().

◆ GetProcessFromEvent()

ProcessSP Process::ProcessEventData::GetProcessFromEvent ( const Event event_ptr)
static

◆ GetProcessSP()

lldb::ProcessSP lldb_private::Process::ProcessEventData::GetProcessSP ( ) const
inline

Definition at line 429 of file Process.h.

Referenced by GetProcessFromEvent(), and lldb_private::Process::RunThreadPlan().

◆ GetRestarted()

bool lldb_private::Process::ProcessEventData::GetRestarted ( ) const
inline

Definition at line 432 of file Process.h.

Referenced by DoOnRemoval(), and GetRestartedFromEvent().

◆ GetRestartedFromEvent()

bool Process::ProcessEventData::GetRestartedFromEvent ( const Event event_ptr)
static

◆ GetRestartedReasonAtIndex() [1/2]

const char* lldb_private::Process::ProcessEventData::GetRestartedReasonAtIndex ( size_t  idx)
inline

◆ GetRestartedReasonAtIndex() [2/2]

const char * Process::ProcessEventData::GetRestartedReasonAtIndex ( const Event event_ptr,
size_t  idx 
)
static

Definition at line 4155 of file Process.cpp.

References GetEventDataFromEvent(), and GetRestartedReasonAtIndex().

◆ GetState()

lldb::StateType lldb_private::Process::ProcessEventData::GetState ( ) const
inline

◆ GetStateFromEvent()

StateType Process::ProcessEventData::GetStateFromEvent ( const Event event_ptr)
static

◆ SetInterruptedInEvent()

void Process::ProcessEventData::SetInterruptedInEvent ( Event event_ptr,
bool  new_value 
)
static

Definition at line 4182 of file Process.cpp.

References GetEventDataFromEvent().

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

◆ SetRestartedInEvent()

void Process::ProcessEventData::SetRestartedInEvent ( Event event_ptr,
bool  new_value 
)
static

Definition at line 4136 of file Process.cpp.

References GetEventDataFromEvent().

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

◆ SetUpdateStateOnRemoval()

bool Process::ProcessEventData::SetUpdateStateOnRemoval ( Event event_ptr)
static

Definition at line 4190 of file Process.cpp.

References GetEventDataFromEvent(), and SetUpdateStateOnRemoval().

Referenced by SetUpdateStateOnRemoval().

Friends And Related Function Documentation

◆ Process

friend class Process
friend

Definition at line 417 of file Process.h.


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