From 6ec023f52071f6081441926616d225bced26a254 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 7 Aug 2015 15:21:32 +0200 Subject: Add FIG1/5 --- src/fig/FIG1.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/fig/FIG1.h') diff --git a/src/fig/FIG1.h b/src/fig/FIG1.h index 926418f..c24877a 100644 --- a/src/fig/FIG1.h +++ b/src/fig/FIG1.h @@ -49,7 +49,7 @@ class FIG1_0 : public IFIG FIGRuntimeInformation *m_rti; }; -// FIG type 1/1 +// FIG type 1/1, programme service label class FIG1_1 : public IFIG { public: @@ -67,6 +67,24 @@ class FIG1_1 : public IFIG std::vector >::iterator service; }; +// FIG type 1/5, data service label +class FIG1_5 : public IFIG +{ + public: + FIG1_5(FIGRuntimeInformation* rti) : + m_rti(rti), m_initialised(false) {} + virtual FillStatus fill(uint8_t *buf, size_t max_size); + virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + + virtual const int figtype(void) const { return 1; } + virtual const int figextension(void) const { return 0; } + + private: + FIGRuntimeInformation *m_rti; + bool m_initialised; + std::vector >::iterator service; +}; + } #endif // __FIG1_H_ -- cgit v1.2.3