summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG1.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 15:06:25 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 15:06:25 +0200
commit02a16fd582e5aa82ddb070c02bf3d7a269685e27 (patch)
treeb6f061b494af3b0165a4f32cfd4bd79cb56f6d69 /src/fig/FIG1.h
parent2773aecdea641ca8a0b362085eba3dc5273e0fa6 (diff)
downloaddabmux-02a16fd582e5aa82ddb070c02bf3d7a269685e27.tar.gz
dabmux-02a16fd582e5aa82ddb070c02bf3d7a269685e27.tar.bz2
dabmux-02a16fd582e5aa82ddb070c02bf3d7a269685e27.zip
Add FIG1/1
Diffstat (limited to 'src/fig/FIG1.h')
-rw-r--r--src/fig/FIG1.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/fig/FIG1.h b/src/fig/FIG1.h
index e853152..926418f 100644
--- a/src/fig/FIG1.h
+++ b/src/fig/FIG1.h
@@ -49,9 +49,25 @@ class FIG1_0 : public IFIG
FIGRuntimeInformation *m_rti;
};
-}
+// FIG type 1/1
+class FIG1_1 : public IFIG
+{
+ public:
+ FIG1_1(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_