mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-04 15:05:36 +00:00
294e09f275
At least for the purpose of being communicative. I doubt there's much to gain in terms of compiler output — the DiskImageHolder can avoid some virtual lookups but nothing else leaps out.
31 lines
547 B
C++
31 lines
547 B
C++
//
|
|
// UnformattedTrack.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 15/08/2017.
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef UnformattedTrack_hpp
|
|
#define UnformattedTrack_hpp
|
|
|
|
#include "Track.hpp"
|
|
|
|
namespace Storage {
|
|
namespace Disk {
|
|
|
|
/*!
|
|
A subclass of @c Track with no contents. Just an index hole.
|
|
*/
|
|
class UnformattedTrack: public Track {
|
|
public:
|
|
Event get_next_event() final;
|
|
Time seek_to(const Time &time_since_index_hole) final;
|
|
Track *clone() const final;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* UnformattedTrack_hpp */
|