| 39 | { |
| 40 | public: |
| 41 | MemoryFluxSource(const Disk& flux): _flux(flux) |
| 42 | { |
| 43 | std::set<CylinderHead> chs; |
| 44 | for (auto& [ch, trackDataFlux] : flux.tracksByPhysicalLocation) |
| 45 | chs.insert(ch); |
| 46 | _extraConfig.mutable_drive()->set_tracks( |
| 47 | convertCylinderHeadsToString(std::vector(chs.begin(), chs.end()))); |
| 48 | } |
| 49 | |
| 50 | public: |
| 51 | std::unique_ptr<FluxSourceIterator> readFlux( |
nothing calls this directly
no test coverage detected