helics
3.5.2
|
#include <ZmqBroker.h>
Public Member Functions | |
ZmqBrokerSS (bool rootbroker=false) noexcept | |
ZmqBrokerSS (std::string_view broker_name) | |
Public Member Functions inherited from helics::NetworkBroker< ZmqCommsSS, gmlc::networking::InterfaceTypes::TCP, 1 > | |
NetworkBroker (bool rootBroker=false) noexcept | |
NetworkBroker (std::string_view broker_name) | |
virtual std::string | generateLocalAddressString () const override |
Public Member Functions inherited from helics::CommsBroker< COMMS, BrokerT > | |
CommsBroker () noexcept | |
CommsBroker (bool arg) noexcept | |
CommsBroker (std::string_view obj_name) | |
~CommsBroker () | |
virtual void | transmit (route_id rid, const ActionMessage &cmd) override |
virtual void | transmit (route_id rid, ActionMessage &&cmd) override |
virtual void | addRoute (route_id rid, int interfaceId, std::string_view routeInfo) override |
virtual void | removeRoute (route_id rid) override |
COMMS * | getCommsObjectPointer () |
Additional Inherited Members | |
Protected Member Functions inherited from helics::NetworkBroker< ZmqCommsSS, gmlc::networking::InterfaceTypes::TCP, 1 > | |
virtual std::shared_ptr< helicsCLI11App > | generateCLI () override |
Protected Attributes inherited from helics::NetworkBroker< ZmqCommsSS, gmlc::networking::InterfaceTypes::TCP, 1 > | |
std::mutex | dataMutex |
mutex protecting the configuration information | |
NetworkBrokerData | netInfo |
structure containing the networking information | |
Protected Attributes inherited from helics::CommsBroker< COMMS, BrokerT > | |
std::atomic< int > | disconnectionStage {0} |
the stage of disconnection | |
std::unique_ptr< COMMS > | comms |
the actual comms object | |
std::atomic< bool > | brokerInitialized {false} |
atomic protecting local initialization | |
implementation for the core that uses zmq messages to communicate
|
explicitnoexcept |
default constructor
|
explicit |
construct from with a core name
References helics::NetworkBroker< ZmqCommsSS, gmlc::networking::InterfaceTypes::TCP, 1 >::netInfo, and helics::NetworkBrokerData::server_mode.