mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
favour of pod objects, which allows STL contains. Lots of shared_ptrs everywhere. Much simpler and more effective code. The reader works with one of the decoders; still have to do the rest of them and the encoders.
17 lines
477 B
C++
17 lines
477 B
C++
#ifndef READER_H
|
|
#define READER_H
|
|
|
|
class AbstractDecoder;
|
|
class FluxSink;
|
|
class FluxSource;
|
|
class Fluxmap;
|
|
class ImageWriter;
|
|
class TrackDataFlux;
|
|
|
|
extern std::unique_ptr<TrackDataFlux> readAndDecodeTrack(
|
|
FluxSource& source, AbstractDecoder& decoder, unsigned cylinder, unsigned head);
|
|
extern void readDiskCommand(FluxSource& source, AbstractDecoder& decoder, ImageWriter& writer);
|
|
extern void rawReadDiskCommand(FluxSource& source, FluxSink& sink);
|
|
|
|
#endif
|