diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-08-07 15:21:32 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-08-07 15:21:32 +0200 |
commit | 6ec023f52071f6081441926616d225bced26a254 (patch) | |
tree | 8df09036a3b7154fe1dc60bb84cc89b07100317a /src/fig/FIG1.h | |
parent | 8da80a379f0e76defba27b6b489137b77acd0ead (diff) | |
download | dabmux-6ec023f52071f6081441926616d225bced26a254.tar.gz dabmux-6ec023f52071f6081441926616d225bced26a254.tar.bz2 dabmux-6ec023f52071f6081441926616d225bced26a254.zip |
Add FIG1/5
Diffstat (limited to 'src/fig/FIG1.h')
-rw-r--r-- | src/fig/FIG1.h | 20 |
1 files changed, 19 insertions, 1 deletions
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<std::shared_ptr<DabService> >::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<std::shared_ptr<DabService> >::iterator service; +}; + } #endif // __FIG1_H_ |