MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / readFlux

Method readFlux

lib/fluxsource/fl2fluxsource.cc:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56public:
57 std::unique_ptr<FluxSourceIterator> readFlux(int track, int head) override
58 {
59 for (const auto& trackFlux : _proto.track())
60 {
61 if ((trackFlux.track() == track) && (trackFlux.head() == head))
62 return std::make_unique<Fl2FluxSourceIterator>(trackFlux);
63 }
64
65 return std::make_unique<EmptyFluxSourceIterator>();
66 }
67
68 void recalibrate() override {}
69

Callers

nothing calls this directly

Calls 1

headMethod · 0.80

Tested by

no test coverage detected