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

#include <PlatformiOSSimulatorCoreSimulatorSupport.h>

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

Public Types

enum  State : NSUInteger {
  State::Creating, State::Shutdown, State::Booting, State::Booted,
  State::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
 
llvm::Optional< DeviceTypem_dev_type
 
llvm::Optional< DeviceRuntimem_dev_runtime
 

Friends

class DeviceSet
 

Detailed Description

Definition at line 136 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Typedef Documentation

◆ NSUInteger

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

Definition at line 138 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Enumeration Documentation

◆ State

Enumerator
Creating 
Shutdown 
Booting 
Booted 
ShuttingDown 

Definition at line 141 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Constructor & Destructor Documentation

◆ Device() [1/2]

CoreSimulatorSupport::Device::Device ( )

Definition at line 102 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ Device() [2/2]

CoreSimulatorSupport::Device::Device ( id  d)

Definition at line 105 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Function Documentation

◆ Boot()

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

◆ GetDeviceRuntime()

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

◆ GetDeviceType()

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

◆ GetName()

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

◆ GetState()

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

Definition at line 110 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

Referenced by PlatformAppleSimulator::LaunchProcess().

◆ GetUDID()

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

◆ operator bool()

CoreSimulatorSupport::Device::operator bool ( )
explicit

Definition at line 108 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev, and nil.

◆ 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 176 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Member Data Documentation

◆ m_dev

id CoreSimulatorSupport::Device::m_dev
private

◆ m_dev_runtime

llvm::Optional<DeviceRuntime> CoreSimulatorSupport::Device::m_dev_runtime
private

Definition at line 174 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

◆ m_dev_type

llvm::Optional<DeviceType> CoreSimulatorSupport::Device::m_dev_type
private

Definition at line 173 of file PlatformiOSSimulatorCoreSimulatorSupport.h.


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