COMMS
Template library intended to help with implementation of communication protocols.
EmptyHandler.h
Go to the documentation of this file.
1 //
2 // Copyright 2014 - 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 
10 
11 #pragma once
12 
13 namespace comms
14 {
15 
20 {
21 public:
22  template <typename TMessage>
23  void handle(TMessage&) {}
24 };
25 
26 } // namespace comms
27 
28 
Empty message handler, does nothing.
Definition: EmptyHandler.h:20
Main namespace for all classes / functions of COMMS library.