diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-01-23 11:00:02 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-01-23 11:00:02 +0100 |
commit | 201d711a1d3dfbe46d622871731005937598e790 (patch) | |
tree | e43a95ee027e1be6ca8621f9e2c78aaf932a3421 /src/DabModulator.h | |
parent | 674228bedb325384f12602350ab36d075b5509a3 (diff) | |
parent | e0abfc3728fb56519fa2507d2468214e2a633c98 (diff) | |
download | dabmod-201d711a1d3dfbe46d622871731005937598e790.tar.gz dabmod-201d711a1d3dfbe46d622871731005937598e790.tar.bz2 dabmod-201d711a1d3dfbe46d622871731005937598e790.zip |
Merge branch 'next' into lime
Diffstat (limited to 'src/DabModulator.h')
-rw-r--r-- | src/DabModulator.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/DabModulator.h b/src/DabModulator.h index 355eeb3..00d71f5 100644 --- a/src/DabModulator.h +++ b/src/DabModulator.h @@ -3,7 +3,7 @@ Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2018 + Copyright (C) 2019 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -46,21 +46,26 @@ #include "TII.h" -class DabModulator : public ModInput, public ModMetadata +class DabModulator : public ModInput, public ModMetadata, public RemoteControllable { public: - DabModulator(EtiSource& etiSource, - mod_settings_t& settings); + DabModulator(EtiSource& etiSource, mod_settings_t& settings); - int process(Buffer* dataOut); - const char* name() { return "DabModulator"; } + int process(Buffer* dataOut) override; + const char* name() override { return "DabModulator"; } - virtual meta_vec_t process_metadata( - const meta_vec_t& metadataIn); + virtual meta_vec_t process_metadata(const meta_vec_t& metadataIn) override; /* Required to get the timestamp */ EtiSource* getEtiSource() { return &myEtiSource; } + /******* REMOTE CONTROL ********/ + virtual void set_parameter(const std::string& parameter, + const std::string& value) override; + + virtual const std::string get_parameter( + const std::string& parameter) const override; + protected: void setMode(unsigned mode); |