summaryrefslogtreecommitdiffstats
path: root/src/fig/FIGCarousel.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 14:04:28 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-07 14:04:37 +0200
commit5db817edef50d9a3bf92c594d419dd9a17255a5e (patch)
tree3582111e99c7cda581a0f34900493d337e02dd1a /src/fig/FIGCarousel.h
parent8ea5c5bf03335f0c95a292f400699ba98e6cf821 (diff)
downloaddabmux-5db817edef50d9a3bf92c594d419dd9a17255a5e.tar.gz
dabmux-5db817edef50d9a3bf92c594d419dd9a17255a5e.tar.bz2
dabmux-5db817edef50d9a3bf92c594d419dd9a17255a5e.zip
Set flag in FIG0_9, add new FIC allocation helper
Diffstat (limited to 'src/fig/FIGCarousel.h')
-rw-r--r--src/fig/FIGCarousel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/fig/FIGCarousel.h b/src/fig/FIGCarousel.h
index 5f90c98..d43e33e 100644
--- a/src/fig/FIGCarousel.h
+++ b/src/fig/FIGCarousel.h
@@ -31,6 +31,7 @@
#include "fig/FIG.h"
#include "fig/FIG0.h"
+#include "fig/FIG1.h"
#include <list>
#include <map>
#include <boost/shared_ptr.hpp>
@@ -58,17 +59,27 @@ class FIGCarousel {
size_t carousel(size_t fib, uint8_t *buf, size_t bufsize, int framephase);
private:
+ void load_and_allocate(IFIG& fig, int fib);
+
FIGRuntimeInformation m_rti;
std::map<std::pair<int, int>, IFIG*> m_figs_available;
// Each FIB contains a list of carousel elements
std::map<int, std::list<FIGCarouselElement> > m_fibs;
+ // FIB 0 figs
FIG0_0 m_fig0_0;
FIG0_1 m_fig0_1;
FIG0_2 m_fig0_2;
FIG0_3 m_fig0_3;
FIG0_17 m_fig0_17;
+
+ // FIG 1 figs
+ FIG0_8 m_fig0_8;
+ FIG1_0 m_fig1_0;
+ FIG0_13 m_fig0_13;
+ FIG0_10 m_fig0_10;
+ FIG0_9 m_fig0_9;
};
} // namespace FIC