diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-07-18 22:57:00 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-07-18 22:57:00 +0200 |
commit | 28c3aa4a6935d870b15087992536341d390f969c (patch) | |
tree | 6d873aadfc60827bdaf5f5f6613c87ea650aec80 /src/fig/FIG0.h | |
parent | 0d8780510f504fc3606d703aebd4e5322d55c326 (diff) | |
download | dabmux-28c3aa4a6935d870b15087992536341d390f969c.tar.gz dabmux-28c3aa4a6935d870b15087992536341d390f969c.tar.bz2 dabmux-28c3aa4a6935d870b15087992536341d390f969c.zip |
Add FIG0/17 to FIB0
Diffstat (limited to 'src/fig/FIG0.h')
-rw-r--r-- | src/fig/FIG0.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fig/FIG0.h b/src/fig/FIG0.h index 3530e5f..2c7c848 100644 --- a/src/fig/FIG0.h +++ b/src/fig/FIG0.h @@ -98,5 +98,21 @@ class FIG0_3 : public IFIG FIGRuntimeInformation *m_rti; }; +// FIG type 0/17 +class FIG0_17 : public IFIG +{ + public: + FIG0_17(FIGRuntimeInformation* rti); + virtual size_t fill(uint8_t *buf, size_t max_size); + virtual FIG_rate repetition_rate(void) { return FIG_rate::A; } + + virtual const int figtype(void) const { return 0; } + virtual const int figextension(void) const { return 17; } + + private: + FIGRuntimeInformation *m_rti; + std::vector<std::shared_ptr<DabService> >::iterator serviceFIG0_17; +}; + #endif // __FIG0_H_ |