| 42 | class Device { |
| 43 | public: |
| 44 | explicit Device(int id, std::unique_ptr<LocalDeviceState> local_device_state, |
| 45 | absl::string_view platform_name, int host_id = 0) |
| 46 | : id_(id), |
| 47 | local_device_state_(std::move(local_device_state)), |
| 48 | host_id_(host_id), |
| 49 | platform_name_(platform_name) {} |
| 50 | virtual ~Device() {} |
| 51 | |
| 52 | // The ID of this device. IDs are unique among devices of this type |
no outgoing calls