mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Plumb the verifier stuff through the rest of the encoders; fix it to actually
work and not crash, god I hate C++.
This commit is contained in:
@@ -14,11 +14,11 @@ public:
|
||||
static std::unique_ptr<AbstractEncoder> create(const EncoderProto& config);
|
||||
|
||||
public:
|
||||
virtual std::vector<std::shared_ptr<Sector>> collectSectors(int physicalCylinder, int physicalHead, const Image& image)
|
||||
{ return {}; }
|
||||
virtual std::vector<std::shared_ptr<Sector>> collectSectors(
|
||||
int physicalCylinder, int physicalHead, const Image& image) = 0;
|
||||
|
||||
virtual std::unique_ptr<Fluxmap> encode(
|
||||
int physicalCylinder, int physicalHead, const Image& image) = 0;
|
||||
virtual std::unique_ptr<Fluxmap> encode(
|
||||
int physicalCylinder, int physicalHead, const std::vector<std::shared_ptr<Sector>>& sectors, const Image& image) = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user