| 14 | using namespace std; |
| 15 | |
| 16 | shared_ptr<ScsiController> ControllerManager::CreateScsiController(BUS& bus, int id) const |
| 17 | { |
| 18 | auto controller = make_shared<ScsiController>(bus, id); |
| 19 | controller->Init(); |
| 20 | |
| 21 | return controller; |
| 22 | } |
| 23 | |
| 24 | bool ControllerManager::AttachToController(BUS& bus, int id, shared_ptr<PrimaryDevice> device) |
| 25 | { |