Files
fluxengine/lib/fluxsource/erasefluxsource.cc
dg 466c3c34e5 Replace the Error() object with an error() function which takes fmt
formatspecs, making for much cleaner code. Reformatted everything.

This actually happened in multiple steps but then I corrupted my local
repository and I had to recover from the working tree.
2023-05-09 20:59:44 +00:00

26 lines
606 B
C++

#include "globals.h"
#include "fluxmap.h"
#include "fluxsource/fluxsource.h"
#include "lib/fluxsource/fluxsource.pb.h"
class EraseFluxSource : public TrivialFluxSource
{
public:
EraseFluxSource(const EraseFluxSourceProto& config) {}
~EraseFluxSource() {}
public:
std::unique_ptr<const Fluxmap> readSingleFlux(int track, int side) override
{
return std::unique_ptr<const Fluxmap>();
}
void recalibrate() {}
};
std::unique_ptr<FluxSource> FluxSource::createEraseFluxSource(
const EraseFluxSourceProto& config)
{
return std::make_unique<EraseFluxSource>(config);
}