LLDB  mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CoreSimulatorSupport::DeviceSet Class Reference

#include <PlatformiOSSimulatorCoreSimulatorSupport.h>

Collaboration diagram for CoreSimulatorSupport::DeviceSet:
Collaboration graph
[legend]

Public Member Functions

size_t GetNumDevices ()
 
Device GetDeviceAtIndex (size_t idx)
 
void ForEach (std::function< bool(const Device &)> f)
 
DeviceSet GetDevicesIf (std::function< bool(Device)> f)
 
DeviceSet GetDevices (DeviceType::ProductFamilyID dev_id)
 
Device GetFanciest (DeviceType::ProductFamilyID dev_id)
 

Static Public Member Functions

static DeviceSet GetAllDevices (const char *developer_dir)
 
static DeviceSet GetAvailableDevices (const char *developer_dir)
 

Private Member Functions

 DeviceSet (id arr)
 

Private Attributes

id m_dev
 

Detailed Description

Definition at line 195 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Constructor & Destructor Documentation

◆ DeviceSet()

CoreSimulatorSupport::DeviceSet::DeviceSet ( id  arr)
inlineprivate

Definition at line 214 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Function Documentation

◆ ForEach()

void CoreSimulatorSupport::DeviceSet::ForEach ( std::function< bool(const Device &)>  f)

◆ GetAllDevices()

CoreSimulatorSupport::DeviceSet CoreSimulatorSupport::DeviceSet::GetAllDevices ( const char *  developer_dir)
static

Definition at line 555 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References lldb_private::Class, error(), and nil.

◆ GetAvailableDevices()

CoreSimulatorSupport::DeviceSet CoreSimulatorSupport::DeviceSet::GetAvailableDevices ( const char *  developer_dir)
static

◆ GetDeviceAtIndex()

CoreSimulatorSupport::Device CoreSimulatorSupport::DeviceSet::GetDeviceAtIndex ( size_t  idx)

◆ GetDevices()

CoreSimulatorSupport::DeviceSet CoreSimulatorSupport::DeviceSet::GetDevices ( DeviceType::ProductFamilyID  dev_id)

◆ GetDevicesIf()

CoreSimulatorSupport::DeviceSet CoreSimulatorSupport::DeviceSet::GetDevicesIf ( std::function< bool(Device)>  f)

Definition at line 592 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Referenced by GetAvailableDevices().

◆ GetFanciest()

CoreSimulatorSupport::Device CoreSimulatorSupport::DeviceSet::GetFanciest ( DeviceType::ProductFamilyID  dev_id)

◆ GetNumDevices()

size_t CoreSimulatorSupport::DeviceSet::GetNumDevices ( )

Definition at line 581 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

Referenced by PlatformAppleSimulator::GetStatus().

Member Data Documentation

◆ m_dev

id CoreSimulatorSupport::DeviceSet::m_dev
private

Definition at line 216 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Referenced by GetNumDevices().


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