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

#include <PlatformiOSSimulatorCoreSimulatorSupport.h>

Public Member Functions

 DeviceRuntime ()
 
 DeviceRuntime (id d)
 
 operator bool ()
 
OSVersion GetVersion ()
 
bool IsAvailable ()
 

Private Attributes

id m_dev = nullptr
 
std::optional< OSVersionm_os_version
 

Detailed Description

Definition at line 120 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Constructor & Destructor Documentation

◆ DeviceRuntime() [1/2]

CoreSimulatorSupport::DeviceRuntime::DeviceRuntime ( )

Definition at line 89 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

◆ DeviceRuntime() [2/2]

CoreSimulatorSupport::DeviceRuntime::DeviceRuntime ( id  d)

Definition at line 91 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Function Documentation

◆ GetVersion()

CoreSimulatorSupport::OSVersion CoreSimulatorSupport::DeviceRuntime::GetVersion ( )

Definition at line 183 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ IsAvailable()

bool CoreSimulatorSupport::DeviceRuntime::IsAvailable ( )

Definition at line 96 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

References m_dev.

◆ operator bool()

CoreSimulatorSupport::DeviceRuntime::operator bool ( )
explicit

Definition at line 94 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.

Member Data Documentation

◆ m_dev

id CoreSimulatorSupport::DeviceRuntime::m_dev = nullptr
private

Definition at line 133 of file PlatformiOSSimulatorCoreSimulatorSupport.h.

Referenced by GetVersion(), and IsAvailable().

◆ m_os_version

std::optional<OSVersion> CoreSimulatorSupport::DeviceRuntime::m_os_version
private

Definition at line 134 of file PlatformiOSSimulatorCoreSimulatorSupport.h.


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