add base io interface

This commit is contained in:
2025-02-25 23:25:12 +01:00
parent 8a5286d0ce
commit 132c3c3c8d
8 changed files with 187 additions and 9 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