COMMS
Template library intended to help with implementation of communication protocols.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MsgSizeLayer.h
Go to the documentation of this file.
1//
2// Copyright 2025 - 2025 (C). Alex Robenko. All rights reserved.
3//
4// This Source Code Form is subject to the terms of the Mozilla Public
5// License, v. 2.0. If a copy of the MPL was not distributed with this
6// file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
10
11#pragma once
12
15
16namespace comms
17{
18
19namespace protocol
20{
21
24template <typename TField, typename TNextLayer, typename... TOptions>
25using MsgSizeLayer = comms::frame::MsgSizeLayer<TField, TNextLayer, TOptions...>;
26
27} // namespace protocol
28
29} // namespace comms
Contains definition of comms::protocol::ProtocolLayerBase.
Protocol layer that uses size field as a prefix to all the subsequent data written by other (next) la...
Definition MsgSizeLayer.h:49
Contains definition of comms::frame::MsgSizeLayer.
Main namespace for all classes / functions of COMMS library.