summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-31 04:39:16 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-31 04:39:16 +0100
commit21d54ff7296ff33c11b9f7b788417a11e702f0d0 (patch)
treec29bb1e37fe17588574df5c904936dbc71ae146f /src/DabMultiplexer.cpp
parentb4f166c1221bb1bb6dd14878dffff74d1c6cd21d (diff)
downloaddabmux-21d54ff7296ff33c11b9f7b788417a11e702f0d0.tar.gz
dabmux-21d54ff7296ff33c11b9f7b788417a11e702f0d0.tar.bz2
dabmux-21d54ff7296ff33c11b9f7b788417a11e702f0d0.zip
Add TAI bulletin expiry to RC and to munin
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index 8265b34..f452685 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -81,6 +81,13 @@ DabMultiplexer::DabMultiplexer(
{
RC_ADD_PARAMETER(frames,
"Show number of frames generated [read-only]");
+
+ rcs.enrol(&m_clock_tai);
+}
+
+DabMultiplexer::~DabMultiplexer()
+{
+ rcs.remove_controllable(&m_clock_tai);
}
void DabMultiplexer::set_edi_config(const edi_configuration_t& new_edi_conf)