aboutsummaryrefslogtreecommitdiffstats
path: root/src/ManagementServer.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2025-09-11 15:37:32 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2025-09-11 15:37:32 +0200
commitc84727c8ec0f99d66d1ad7d4716de79b6235d4d1 (patch)
treef0ba66da2af142a7eb2413263b54a72e2184d2c1 /src/ManagementServer.h
parent90e9f058450cfb8bc2f06b02c60ba8cb533c2738 (diff)
downloaddabmux-c84727c8ec0f99d66d1ad7d4716de79b6235d4d1.tar.gz
dabmux-c84727c8ec0f99d66d1ad7d4716de79b6235d4d1.tar.bz2
dabmux-c84727c8ec0f99d66d1ad7d4716de79b6235d4d1.zip
Add runtime linkage-set reload
Diffstat (limited to 'src/ManagementServer.h')
-rw-r--r--src/ManagementServer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ManagementServer.h b/src/ManagementServer.h
index d328f88..93ad28c 100644
--- a/src/ManagementServer.h
+++ b/src/ManagementServer.h
@@ -93,20 +93,20 @@ class InputStat
InputStat(const InputStat& other) = delete;
InputStat& operator=(const InputStat& other) = delete;
~InputStat();
- void registerAtServer(void);
+ void registerAtServer();
- std::string get_name(void) const { return m_name; }
+ std::string get_name() const { return m_name; }
/* This function is called for every frame read by
* the multiplexer */
void notifyBuffer(long bufsize);
void notifyTimestampOffset(double offset);
void notifyPeakLevels(int peak_left, int peak_right);
- void notifyUnderrun(void);
- void notifyOverrun(void);
+ void notifyUnderrun();
+ void notifyOverrun();
void notifyVersion(const std::string& version, uint32_t uptime_s);
- std::string encodeValuesJSON(void);
- input_state_t determineState(void);
+ std::string encodeValuesJSON();
+ input_state_t determineState();
private:
std::string m_name;
@@ -183,7 +183,7 @@ class ManagementServer
void update_ptree(const boost::property_tree::ptree& pt);
bool fault_detected() const { return m_fault; }
- void restart(void);
+ void restart();
private:
void restart_thread(long);
@@ -192,7 +192,7 @@ class ManagementServer
zmq::context_t m_zmq_context;
zmq::socket_t m_zmq_sock;
- void serverThread(void);
+ void serverThread();
void handle_message(zmq::message_t& zmq_message);
bool isInputRegistered(std::string& id);