| helics 3.6.1

ZmqCore.h
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 #include "../NetworkCore.hpp"
9
10 #include <string>
11 namespace helics {
12 namespace zeromq {
13 class ZmqComms;
14 class ZmqCommsSS;
15
17 class ZmqCore final: public NetworkCore<ZmqComms, InterfaceTypes::TCP> {
18 public:
20 ZmqCore() noexcept;
22 ZmqCore(std::string_view coreName);
23
24 private:
25 virtual bool brokerConnect() override;
26 };
27
29 class ZmqCoreSS final: public NetworkCore<ZmqCommsSS, InterfaceTypes::TCP> {
30 public:
32 ZmqCoreSS() noexcept;
34 ZmqCoreSS(std::string_view coreName);
35
36 private:
37 virtual bool brokerConnect() override;
38 };
39
40 } // namespace zeromq
41 } // namespace helics
helics::NetworkCore
Definition: NetworkCore.hpp:19
helics::zeromq::ZmqCoreSS
Definition: ZmqCore.h:29
helics::zeromq::ZmqCoreSS::ZmqCoreSS
ZmqCoreSS() noexcept
Definition: ZmqCore.cpp:35
helics::zeromq::ZmqCore
Definition: ZmqCore.h:17
helics::zeromq::ZmqCore::ZmqCore
ZmqCore() noexcept
Definition: ZmqCore.cpp:19
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14