2017-08-16 01:52:12 +00:00
|
|
|
//
|
|
|
|
// UnformattedTrack.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 15/08/2017.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2017 Thomas Harte. All rights reserved.
|
2017-08-16 01:52:12 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef UnformattedTrack_hpp
|
|
|
|
#define UnformattedTrack_hpp
|
|
|
|
|
2017-09-23 02:39:23 +00:00
|
|
|
#include "Track.hpp"
|
2017-08-16 01:52:12 +00:00
|
|
|
|
|
|
|
namespace Storage {
|
|
|
|
namespace Disk {
|
|
|
|
|
|
|
|
/*!
|
|
|
|
A subclass of @c Track with no contents. Just an index hole.
|
|
|
|
*/
|
|
|
|
class UnformattedTrack: public Track {
|
|
|
|
public:
|
2018-05-19 03:03:28 +00:00
|
|
|
Event get_next_event() override;
|
|
|
|
Time seek_to(const Time &time_since_index_hole) override;
|
|
|
|
Track *clone() const override;
|
2017-08-16 01:52:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* UnformattedTrack_hpp */
|