dirty messages

This commit is contained in:
2025-02-05 20:42:46 +01:00
parent 65275a2cc6
commit 6bbc849076
8 changed files with 720 additions and 146 deletions

31
include/sp/Options.h Normal file
View File

@@ -0,0 +1,31 @@
#pragma once
#include <sp/common/DataBuffer.h>
namespace sp {
namespace option {
// Define type used to store message ID
template <typename T>
struct MsgIdType {};
// Enable reading
struct ReadOperations {};
// Enable writing
struct WriteOperations {};
// Use little endian for serialisation (instead of default big)
struct LittleEndian {};
// Include validity check in public interface
struct ValidCheckInterface {};
// Define handler class
template <typename T>
struct Handler {
using HandlerT = T;
};
} // namespace option
} // namespace sp