COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
include
comms
field
adapter
CustomReadWrap.h
1
//
2
// Copyright 2019 - 2026 (C). Alex Robenko. All rights reserved.
3
//
4
// SPDX-License-Identifier: MPL-2.0
5
//
6
// This Source Code Form is subject to the terms of the Mozilla Public
7
// License, v. 2.0. If a copy of the MPL was not distributed with this
8
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
10
#pragma once
11
12
namespace
comms
13
{
14
15
namespace
field
16
{
17
18
namespace
adapter
19
{
20
21
template
<
typename
TBase>
22
class
CustomReadWrap :
public
TBase
23
{
24
public
:
25
static
constexpr
bool
hasReadNoStatus()
26
{
27
return
false
;
28
}
29
30
template
<
typename
TIter>
31
void
readNoStatus(TIter& iter) =
delete
;
32
};
33
34
}
// namespace adapter
35
36
}
// namespace field
37
38
}
// namespace comms
39
comms
Main namespace for all classes / functions of COMMS library.
Generated by
1.9.8