rhubarb-lip-sync/src/Timed.h

20 lines
304 B
C
Raw Normal View History

2016-03-15 21:52:31 +00:00
#pragma once
#include <TimeSegment.h>
template<typename TValue>
class Timed : public TimeSegment {
public:
Timed(centiseconds start, centiseconds end, TValue value) :
TimeSegment(start, end),
value(value)
{}
const TValue& getValue() const {
return value;
}
private:
const TValue value;
};