From 6da14e1590935710055ebc81ba55017b457ca1ad Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Tue, 22 Jul 2025 22:00:00 +0200 Subject: Initial daemon implementation, no routing yet --- daemon/src/routing.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 daemon/src/routing.h (limited to 'daemon/src/routing.h') diff --git a/daemon/src/routing.h b/daemon/src/routing.h new file mode 100644 index 0000000..2d68391 --- /dev/null +++ b/daemon/src/routing.h @@ -0,0 +1,24 @@ +#pragma once + +#include "message.h" +#include "configuration.h" + +#include "concurrentqueue/blockingconcurrentqueue.h" + +namespace midi_router +{ + +class Router +{ +public: + void + route(Route_Map const & config) const; + + void + submit(Message const & message); + +private: + moodycamel::BlockingConcurrentQueue m_queue {}; +}; + +} // namespace midi_router -- cgit v1.2.3