| helics 3.6.1

TcpCommsCommon.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2017-2025,
3 Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4 Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5 SPDX-License-Identifier: BSD-3-Clause
6 */
7 #pragma once
8
12 #include <chrono>
13 #include <string>
14 #include <system_error>
15
16 namespace gmlc::networking {
17 class TcpConnection;
18 }
19
20 namespace helics {
21 class CommsInterface;
22
23 namespace tcp {
24
26 bool commErrorHandler(CommsInterface* comm,
27 gmlc::networking::TcpConnection* connection,
28 const std::error_code& error);
29 } // namespace tcp
30 } // namespace helics
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14