aboutsummaryrefslogtreecommitdiffstats
path: root/src/EtiReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/EtiReader.h')
-rw-r--r--src/EtiReader.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/EtiReader.h b/src/EtiReader.h
index 1b75025..5231365 100644
--- a/src/EtiReader.h
+++ b/src/EtiReader.h
@@ -122,11 +122,14 @@ private:
class EdiReader : public EtiSource, public EdiDecoder::DataCollector
{
public:
+ EdiReader(
+ double& tist_offset_s,
+ unsigned tist_delay_stages);
+
virtual unsigned getMode();
virtual unsigned getFp();
- virtual bool sourceContainsTimestamp() { return false; }
- virtual void calculateTimestamp(struct frame_timestamp& ts)
- { /* TODO */ }
+ virtual bool sourceContainsTimestamp();
+ virtual void calculateTimestamp(struct frame_timestamp& ts);
virtual const std::vector<std::shared_ptr<SubchannelSource> > getSubchannels() const;
virtual bool isFrameReady(void);
@@ -181,10 +184,13 @@ private:
uint16_t m_rfu = 0xffff;
std::map<uint8_t, std::shared_ptr<SubchannelSource> > m_sources;
+
+ TimestampDecoder m_timestamp_decoder;
};
-/* The EDI input does not use the inputs defined in InputReader.h, as they were designed
- * for ETI. It uses the EdiUdpInput which in turn uses a threaded receiver.
+/* The EDI input does not use the inputs defined in InputReader.h, as they were
+ * designed for ETI. It uses the EdiUdpInput which in turn uses a threaded
+ * receiver.
*/
class EdiUdpInput {