diff options
author | Eddy Pedroni <epedroni@pm.me> | 2025-07-22 22:00:00 +0200 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2025-07-22 22:00:00 +0200 |
commit | 6da14e1590935710055ebc81ba55017b457ca1ad (patch) | |
tree | 799daf6f75331183ea48ece00d62ec92f0fc7a51 /daemon/src/routing.h | |
parent | f0835be9ffcae8e5c74c8fc6a0da2f7bc49343ac (diff) |
Initial daemon implementation, no routing yet
Diffstat (limited to 'daemon/src/routing.h')
-rw-r--r-- | daemon/src/routing.h | 24 |
1 files changed, 24 insertions, 0 deletions
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<Message> m_queue {}; +}; + +} // namespace midi_router |