summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG0.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-30 17:10:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-09-30 17:10:43 +0200
commitf198d1a2c799c97fe1e4e92e110cc0782f6f7880 (patch)
tree04a5f7599de5310ca73e3bb65a38c321e84de506 /src/fig/FIG0.h
parent0360110bfb7320f3310737b6b75da5f8cd96edb9 (diff)
downloaddabmux-f198d1a2c799c97fe1e4e92e110cc0782f6f7880.tar.gz
dabmux-f198d1a2c799c97fe1e4e92e110cc0782f6f7880.tar.bz2
dabmux-f198d1a2c799c97fe1e4e92e110cc0782f6f7880.zip
Add some FIG0/6 structures and skeleton
Diffstat (limited to 'src/fig/FIG0.h')
-rw-r--r--src/fig/FIG0.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/fig/FIG0.h b/src/fig/FIG0.h
index 25aea15..5a8a69f 100644
--- a/src/fig/FIG0.h
+++ b/src/fig/FIG0.h
@@ -28,6 +28,7 @@
#include <cstdint>
#include <map>
#include <set>
+#include <vector>
#include "fig/FIG.h"
@@ -135,6 +136,33 @@ class FIG0_5 : public IFIG
std::vector<DabComponent*>::iterator componentFIG0_5;
};
+// FIG type 0/6
+// Service Linking
+//
+// This feature shall use the SIV signalling (see clause 5.2.2.1). The database
+// shall be divided by use of a database key. Changes to the database shall be
+// signalled using the CEI. The first service in the list of services in each
+// part of the database, as divided by the database key, shall be a service
+// carried in the ensemble. This service is called the key service.
+//
+// The database key comprises the OE and P/D flags and the S/H, ILS, and LSN
+// fields.
+class FIG0_6 : public IFIG
+{
+ public:
+ FIG0_6(FIGRuntimeInformation* rti);
+ virtual FillStatus fill(uint8_t *buf, size_t max_size);
+ virtual FIG_rate repetition_rate(void) { return FIG_rate::E; }
+
+ virtual const int figtype(void) const { return 0; }
+ virtual const int figextension(void) const { return 6; }
+
+ private:
+ FIGRuntimeInformation *m_rti;
+ bool m_initialised;
+ std::list<std::shared_ptr<LinkageSet> >::iterator linkageSetFIG0_6;
+};
+
// FIG type 0/8
// The Extension 8 of FIG type 0 (FIG 0/8) provides information to link
// together the service component description that is valid within the ensemble