Files
Simple-Protocol-Lib/include/sp/protocol/message/MessageOptions.h
Persson-dev 7f8d9e3f96
All checks were successful
Linux arm64 / Build (push) Successful in 15s
add msg.ToString()
2025-03-04 20:26:42 +01:00

37 lines
664 B
C++

#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 {};
// Enable id writing
struct WriteId {};
// Use little endian for serialisation (instead of default big)
struct LittleEndian {};
// Include validity check in public interface
struct ValidCheckInterface {};
// Add a ToString() method containing fields
struct DebugPrint {};
// Define handler class
template <typename T>
struct Handler {
using HandlerT = T;
};
} // namespace option
} // namespace sp