summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r--src/MuxElements.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h
index 73637ac..259d5d9 100644
--- a/src/MuxElements.h
+++ b/src/MuxElements.h
@@ -31,6 +31,7 @@
#include <vector>
#include <memory>
+#include <mutex>
#include <string>
#include <functional>
#include <exception>
@@ -110,17 +111,15 @@ class AnnouncementCluster : public RemoteControllable {
bool is_active(void);
private:
+ mutable std::mutex m_active_mutex;
bool m_active = false;
-
boost::optional<
std::chrono::time_point<
std::chrono::steady_clock> > m_deferred_start_time;
-
boost::optional<
std::chrono::time_point<
std::chrono::steady_clock> > m_deferred_stop_time;
-
/* Remote control */
virtual void set_parameter(const std::string& parameter,
const std::string& value);