|
LLDB mainline
|
#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< DeviceType > | m_dev_type |
| std::optional< DeviceRuntime > | m_dev_runtime |
Friends | |
| class | DeviceSet |
Definition at line 132 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
|
private |
Definition at line 134 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
|
strong |
| Enumerator | |
|---|---|
| Creating | |
| Shutdown | |
| Booting | |
| Booted | |
| ShuttingDown | |
Definition at line 137 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
| CoreSimulatorSupport::Device::Device | ( | ) |
Definition at line 92 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References m_dev_runtime, and m_dev_type.
| CoreSimulatorSupport::Device::Device | ( | id | d | ) |
Definition at line 94 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References m_dev, m_dev_runtime, and m_dev_type.
| bool CoreSimulatorSupport::Device::Boot | ( | lldb_private::Status & | err | ) |
Definition at line 334 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References lldb_private::Status::Clear(), error(), lldb_private::Status::FromErrorString(), kSimDeviceBootPersist, and m_dev.
Referenced by lldb_private::PlatformAppleSimulator::LaunchProcess().
| CoreSimulatorSupport::DeviceRuntime CoreSimulatorSupport::Device::GetDeviceRuntime | ( | ) |
Definition at line 220 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References m_dev, and m_dev_runtime.
| CoreSimulatorSupport::DeviceType CoreSimulatorSupport::Device::GetDeviceType | ( | ) |
Definition at line 212 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References m_dev, and m_dev_type.
| std::string CoreSimulatorSupport::Device::GetName | ( | ) | const |
Definition at line 197 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
Referenced by lldb_private::PlatformAppleSimulator::ConnectRemote(), and lldb_private::PlatformAppleSimulator::GetStatus().
| CoreSimulatorSupport::Device::State CoreSimulatorSupport::Device::GetState | ( | ) |
Definition at line 99 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
Referenced by lldb_private::PlatformAppleSimulator::LaunchProcess().
| std::string CoreSimulatorSupport::Device::GetUDID | ( | ) | const |
Definition at line 204 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
Referenced by lldb_private::PlatformAppleSimulator::ConnectRemote(), and lldb_private::PlatformAppleSimulator::GetStatus().
|
explicit |
Definition at line 97 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References m_dev.
| bool CoreSimulatorSupport::Device::Shutdown | ( | lldb_private::Status & | err | ) |
Definition at line 359 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References lldb_private::Status::Clear(), lldb_private::Status::FromErrorString(), and m_dev.
| CoreSimulatorSupport::Process CoreSimulatorSupport::Device::Spawn | ( | lldb_private::ProcessLaunchInfo & | launch_info | ) |
Definition at line 439 of file PlatformiOSSimulatorCoreSimulatorSupport.mm.
References error(), lldb_private::Status::FromErrorString(), lldb_private::Args::GetArgumentCount(), lldb_private::ProcessInfo::GetArguments(), lldb_private::ProcessInfo::GetEnvironment(), lldb_private::ProcessLaunchInfo::GetFlags(), HandleFileAction(), kSimDeviceSpawnStderr, kSimDeviceSpawnStdin, kSimDeviceSpawnStdout, and lldb_private::Flags::Test().
Referenced by lldb_private::PlatformAppleSimulator::LaunchProcess().
|
friend |
Definition at line 172 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
References DeviceSet.
Referenced by DeviceSet.
|
private |
Definition at line 168 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
Referenced by Boot(), Device(), GetDeviceRuntime(), GetDeviceType(), operator bool(), and Shutdown().
|
private |
Definition at line 170 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
Referenced by Device(), Device(), and GetDeviceRuntime().
|
private |
Definition at line 169 of file PlatformiOSSimulatorCoreSimulatorSupport.h.
Referenced by Device(), Device(), and GetDeviceType().