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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user