summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-13 21:52:22 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-13 21:52:22 +0200
commitc5b84286e25183a6744ff520c60dcb592150d837 (patch)
treebc84954dfe417b0fae27e13ded7520cb5d134b4c /src/DabMultiplexer.h
parent0f6904cb8c786fdcfd50423ecf373b29b58840f2 (diff)
downloaddabmux-c5b84286e25183a6744ff520c60dcb592150d837.tar.gz
dabmux-c5b84286e25183a6744ff520c60dcb592150d837.tar.bz2
dabmux-c5b84286e25183a6744ff520c60dcb592150d837.zip
Add new fig carousel to RC
Diffstat (limited to 'src/DabMultiplexer.h')
-rw-r--r--src/DabMultiplexer.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/DabMultiplexer.h b/src/DabMultiplexer.h
index 30a04bc..ef637e5 100644
--- a/src/DabMultiplexer.h
+++ b/src/DabMultiplexer.h
@@ -64,7 +64,7 @@ class MuxInitException : public std::exception
std::string msg;
};
-class DabMultiplexer {
+class DabMultiplexer : public RemoteControllable {
public:
DabMultiplexer(boost::shared_ptr<BaseRemoteController> rc,
boost::property_tree::ptree pt);
@@ -80,6 +80,13 @@ class DabMultiplexer {
void set_edi_config(const edi_configuration_t& new_edi_conf);
+ /* Remote control */
+ virtual void set_parameter(const std::string& parameter,
+ const std::string& value);
+
+ /* Getting a parameter always returns a string. */
+ virtual const std::string get_parameter(const std::string& parameter) const;
+
private:
void prepare_watermark(void);
void prepare_subchannels(void);
@@ -139,6 +146,7 @@ class DabMultiplexer {
#endif // HAVE_OUTPUT_EDI
/* New FIG Carousel */
+ bool m_use_new_fig_carousel;
FIC::FIGCarousel fig_carousel;
};