LLDB  mainline
Public Member Functions | Protected Types | Protected Attributes | List of all members
lldb_private::PlatformList Class Reference

#include <Platform.h>

Collaboration diagram for lldb_private::PlatformList:
Collaboration graph
[legend]

Public Member Functions

 PlatformList ()
 
 ~PlatformList ()=default
 
void Append (const lldb::PlatformSP &platform_sp, bool set_selected)
 
size_t GetSize ()
 
lldb::PlatformSP GetAtIndex (uint32_t idx)
 
lldb::PlatformSP GetSelectedPlatform ()
 Select the active platform. More...
 
void SetSelectedPlatform (const lldb::PlatformSP &platform_sp)
 

Protected Types

typedef std::vector< lldb::PlatformSP > collection
 

Protected Attributes

std::recursive_mutex m_mutex
 
collection m_platforms
 
lldb::PlatformSP m_selected_platform_sp
 

Detailed Description

Definition at line 924 of file Platform.h.

Member Typedef Documentation

◆ collection

typedef std::vector<lldb::PlatformSP> lldb_private::PlatformList::collection
protected

Definition at line 982 of file Platform.h.

Constructor & Destructor Documentation

◆ PlatformList()

lldb_private::PlatformList::PlatformList ( )
inline

Definition at line 926 of file Platform.h.

◆ ~PlatformList()

lldb_private::PlatformList::~PlatformList ( )
default

Member Function Documentation

◆ Append()

void lldb_private::PlatformList::Append ( const lldb::PlatformSP &  platform_sp,
bool  set_selected 
)
inline

◆ GetAtIndex()

lldb::PlatformSP lldb_private::PlatformList::GetAtIndex ( uint32_t  idx)
inline

Definition at line 942 of file Platform.h.

◆ GetSelectedPlatform()

lldb::PlatformSP lldb_private::PlatformList::GetSelectedPlatform ( )
inline

Select the active platform.

In order to debug remotely, other platform's can be remotely connected to and set as the selected platform for any subsequent debugging. This allows connection to remote targets and allows the ability to discover process info, launch and attach to remote processes.

Definition at line 958 of file Platform.h.

Referenced by lldb_private::Target::Attach(), lldb_private::CommandInterpreter::GetPlatform(), and lldb_private::TargetList::~TargetList().

◆ GetSize()

size_t lldb_private::PlatformList::GetSize ( )
inline

Definition at line 937 of file Platform.h.

◆ SetSelectedPlatform()

void lldb_private::PlatformList::SetSelectedPlatform ( const lldb::PlatformSP &  platform_sp)
inline

Definition at line 966 of file Platform.h.

Referenced by lldb_private::TargetList::~TargetList().

Member Data Documentation

◆ m_mutex

std::recursive_mutex lldb_private::PlatformList::m_mutex
mutableprotected

Definition at line 983 of file Platform.h.

◆ m_platforms

collection lldb_private::PlatformList::m_platforms
protected

Definition at line 984 of file Platform.h.

◆ m_selected_platform_sp

lldb::PlatformSP lldb_private::PlatformList::m_selected_platform_sp
protected

Definition at line 985 of file Platform.h.


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