summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 11:37:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 11:37:50 +0200
commit02d96cb7b6a73595e5c517a3e352f578aa5497a0 (patch)
tree71011ded47e63c4d9854c8c37b511202976e8446 /src/fig/FIG0.h
parent477345c3411cbf25ac6a1011845eca067f6e75bf (diff)
downloaddabmux-02d96cb7b6a73595e5c517a3e352f578aa5497a0.tar.gz
dabmux-02d96cb7b6a73595e5c517a3e352f578aa5497a0.tar.bz2
dabmux-02d96cb7b6a73595e5c517a3e352f578aa5497a0.zip
Start FIB1, add FIG0/8
Diffstat (limited to 'src/fig/FIG0.h')
-rw-r--r--src/fig/FIG0.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fig/FIG0.h b/src/fig/FIG0.h
index 8797931..57ca317 100644
--- a/src/fig/FIG0.h
+++ b/src/fig/FIG0.h
@@ -102,6 +102,24 @@ class FIG0_3 : public IFIG
FIGRuntimeInformation *m_rti;
};
+// FIG type 0/8, MCI, Service Organization, one instance of
+// FIGtype0_8_Service for each subchannel
+class FIG0_8 : public IFIG
+{
+ public:
+ FIG0_8(FIGRuntimeInformation* rti);
+ 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 0; }
+ virtual const int figextension(void) const { return 8; }
+
+ private:
+ FIGRuntimeInformation *m_rti;
+ bool m_initialised;
+ std::vector<DabComponent*>::iterator componentFIG0_8;
+};
+
// FIG type 0/17
class FIG0_17 : public IFIG
{