COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
CustomReadWrap.h
1//
2// Copyright 2019 - 2024 (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
8#pragma once
9
10namespace comms
11{
12
13namespace field
14{
15
16namespace adapter
17{
18
19template <typename TBase>
20class CustomReadWrap : public TBase
21{
22public:
23 static constexpr bool hasReadNoStatus()
24 {
25 return false;
26 }
27
28 template <typename TIter>
29 void readNoStatus(TIter& iter) = delete;
30};
31
32} // namespace adapter
33
34} // namespace field
35
36} // namespace comms
37
38
39
40
Main namespace for all classes / functions of COMMS library.