aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig/FIG1.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 15:38:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 15:38:43 +0200
commit8222356f6c3dff6f66283c32354be033898749fc (patch)
tree2f2d7237529c05e06b1429d1791cbef14bd5fbaf /src/fig/FIG1.h
parent8899af0f224bd6dcae407c8e3ffb4aa50d752268 (diff)
downloaddabmux-8222356f6c3dff6f66283c32354be033898749fc.tar.gz
dabmux-8222356f6c3dff6f66283c32354be033898749fc.tar.bz2
dabmux-8222356f6c3dff6f66283c32354be033898749fc.zip
Add FIG1/4
Diffstat (limited to 'src/fig/FIG1.h')
-rw-r--r--src/fig/FIG1.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fig/FIG1.h b/src/fig/FIG1.h
index b322eab..786dae9 100644
--- a/src/fig/FIG1.h
+++ b/src/fig/FIG1.h
@@ -67,6 +67,24 @@ class FIG1_1 : public IFIG
std::vector<std::shared_ptr<DabService> >::iterator service;
};
+// FIG type 1/4, service component label
+class FIG1_4 : public IFIG
+{
+ public:
+ FIG1_4(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 4; }
+
+ private:
+ FIGRuntimeInformation *m_rti;
+ bool m_initialised;
+ std::vector<DabComponent*>::iterator component;
+};
+
// FIG type 1/5, data service label
class FIG1_5 : public IFIG
{