Add generic IO (#3)

Reviewed-on: #3
Co-authored-by: Persson-dev <sim16.prib@gmail.com>
Co-committed-by: Persson-dev <sim16.prib@gmail.com>
This commit was merged in pull request #3.
This commit is contained in:
2025-02-26 09:29:31 +00:00
committed by Simon Pribylski
parent 8a5286d0ce
commit 03d799e064
15 changed files with 338 additions and 15 deletions

View File

@@ -6,6 +6,7 @@
*/
#include <map>
#include <memory>
namespace sp {
@@ -19,6 +20,8 @@ class MessageDispatcher {
std::map<MessageIdType, std::vector<std::shared_ptr<MessageHandler>>> m_Handlers;
public:
using MessageBaseType = MessageBase;
/**
* \brief Constructor
*/
@@ -51,4 +54,4 @@ class MessageDispatcher {
#include <sp/protocol/message/MessageDispatcherImpl.inl>
} // namespace blitz
} // namespace sp