summaryrefslogtreecommitdiffstats
path: root/src/fig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig')
-rw-r--r--src/fig/FIG.h4
-rw-r--r--src/fig/FIG0.cpp4
-rw-r--r--src/fig/FIG0.h4
-rw-r--r--src/fig/FIGCarousel.cpp4
-rw-r--r--src/fig/FIGCarousel.h4
5 files changed, 20 insertions, 0 deletions
diff --git a/src/fig/FIG.h b/src/fig/FIG.h
index 7f6e499..6bcb42b 100644
--- a/src/fig/FIG.h
+++ b/src/fig/FIG.h
@@ -30,6 +30,8 @@
#include <boost/shared_ptr.hpp>
#include "MuxElements.h"
+namespace FIC {
+
class FIGRuntimeInformation {
public:
FIGRuntimeInformation(boost::shared_ptr<dabEnsemble> e) :
@@ -105,5 +107,7 @@ class IFIG
};
+} // namespace FIC
+
#endif // __FIG_H_
diff --git a/src/fig/FIG0.cpp b/src/fig/FIG0.cpp
index f738a46..36e993a 100644
--- a/src/fig/FIG0.cpp
+++ b/src/fig/FIG0.cpp
@@ -28,6 +28,8 @@
#include "fig/FIG0.h"
#include "DabMultiplexer.h"
+namespace FIC {
+
#define PACKED __attribute__ ((packed))
//=========== FIG 0/0 ===========
@@ -499,3 +501,5 @@ FillStatus FIG0_17::fill(uint8_t *buf, size_t max_size)
return fs;
}
+} // namespace FIC
+
diff --git a/src/fig/FIG0.h b/src/fig/FIG0.h
index d253555..1ba59df 100644
--- a/src/fig/FIG0.h
+++ b/src/fig/FIG0.h
@@ -30,6 +30,8 @@
#include "fig/FIG.h"
+namespace FIC {
+
// FIG type 0/0, Multiplex Configuration Info (MCI),
// Ensemble information
class FIG0_0 : public IFIG
@@ -117,5 +119,7 @@ class FIG0_17 : public IFIG
std::vector<std::shared_ptr<DabService> >::iterator serviceFIG0_17;
};
+} // namespace FIC
+
#endif // __FIG0_H_
diff --git a/src/fig/FIGCarousel.cpp b/src/fig/FIGCarousel.cpp
index e3c49d6..8986a18 100644
--- a/src/fig/FIGCarousel.cpp
+++ b/src/fig/FIGCarousel.cpp
@@ -31,6 +31,8 @@
#include <iostream>
#include <deque>
+namespace FIC {
+
/**************** FIGCarouselElement ****************/
void FIGCarouselElement::reduce_deadline()
{
@@ -211,3 +213,5 @@ size_t FIGCarousel::carousel(
return bufsize - available_size;
}
+} // namespace FIC
+
diff --git a/src/fig/FIGCarousel.h b/src/fig/FIGCarousel.h
index 4e91009..acf53c1 100644
--- a/src/fig/FIGCarousel.h
+++ b/src/fig/FIGCarousel.h
@@ -36,6 +36,8 @@
#include <boost/shared_ptr.hpp>
#include "MuxElements.h"
+namespace FIC {
+
struct FIGCarouselElement {
IFIG* fig;
int deadline; // unit: ms
@@ -71,5 +73,7 @@ class FIGCarousel {
FIG0_17 m_fig0_17;
};
+} // namespace FIC
+
#endif // __FIG_CAROUSEL_H_