LLDB mainline
Public Types | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
CoreSimulatorSupport::Device Class Reference

#include <PlatformiOSSimulatorCoreSimulatorSupport.h>

Public Types

enum class  State : NSUInteger {
  Creating , Shutdown , Booting , Booted ,
  ShuttingDown
}
 

Public Member Functions

 Device ()
 
 Device (id d)
 
 operator bool ()
 
std::string GetName () const
 
DeviceType GetDeviceType ()
 
DeviceRuntime GetDeviceRuntime ()
 
State GetState ()
 
bool Boot (lldb_private::Status &err)
 
bool Shutdown (lldb_private::Status &err)
 
std::string GetUDID () const
 
Process Spawn (lldb_private::ProcessLaunchInfo &launch_info)
 

Private Types

typedef unsigned long int NSUInteger
 

Private Attributes

id m_dev = nullptr
 
std::optional< DeviceTypem_dev_type
 
std::optional< DeviceRuntimem_dev_runtime
 

Friends

class DeviceSet
 

Detailed Description

Definition at line 137 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Typedef Documentation

◆ NSUInteger

typedef unsigned long int CoreSimulatorSupport::Device::NSUInteger
private

Definition at line 139 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Enumeration Documentation

◆ State

Enumerator
Creating 
Shutdown 
Booting 
Booted 
ShuttingDown 

Definition at line 142 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Constructor & Destructor Documentation

◆ Device() [1/2]

CoreSimulatorSupport::Device::Device ( )

Definition at line 100 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ Device() [2/2]

CoreSimulatorSupport::Device::Device ( id  d)

Definition at line 102 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Function Documentation

◆ Boot()

bool CoreSimulatorSupport::Device::Boot ( lldb_private::Status err)

◆ GetDeviceRuntime()

CoreSimulatorSupport::DeviceRuntime CoreSimulatorSupport::Device::GetDeviceRuntime ( )

Definition at line 228 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ GetDeviceType()

CoreSimulatorSupport::DeviceType CoreSimulatorSupport::Device::GetDeviceType ( )

Definition at line 220 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ GetName()

std::string CoreSimulatorSupport::Device::GetName ( ) const

◆ GetState()

CoreSimulatorSupport::Device::State CoreSimulatorSupport::Device::GetState ( )

◆ GetUDID()

std::string CoreSimulatorSupport::Device::GetUDID ( ) const

◆ operator bool()

CoreSimulatorSupport::Device::operator bool ( )
explicit

Definition at line 105 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ Shutdown()

bool CoreSimulatorSupport::Device::Shutdown ( lldb_private::Status err)

◆ Spawn()

CoreSimulatorSupport::Process CoreSimulatorSupport::Device::Spawn ( lldb_private::ProcessLaunchInfo launch_info)

Friends And Related Function Documentation

◆ DeviceSet

friend class DeviceSet
friend

Definition at line 177 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Data Documentation

◆ m_dev

id CoreSimulatorSupport::Device::m_dev = nullptr
private

Definition at line 173 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Referenced by GetName(), GetState(), GetUDID(), and Spawn().

◆ m_dev_runtime

std::optional<DeviceRuntime> CoreSimulatorSupport::Device::m_dev_runtime
private

Definition at line 175 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

◆ m_dev_type

std::optional<DeviceType> CoreSimulatorSupport::Device::m_dev_type
private

Definition at line 174 of file PlatformiOSSimulatorCoreSimulatorSupport.h.


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