![]() |
helics
2.8.1
|
#include <CommsBroker.hpp>
Inheritance diagram for helics::CommsBroker< COMMS, BrokerT >:Public Member Functions | |
| CommsBroker () noexcept | |
| CommsBroker (bool arg) noexcept | |
| CommsBroker (const std::string &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, const std::string &routeInfo) override |
| virtual void | removeRoute (route_id rid) override |
| COMMS * | getCommsObjectPointer () |
Protected Attributes | |
| 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 | |
helper class defining some common functionality for brokers and cores that use different communication methods
|
noexcept |
default constructor
|
explicitnoexcept |
create from a single argument
|
explicit |
create from an object name
| helics::CommsBroker< COMMS, BrokerT >::~CommsBroker |
destructor
| COMMS * helics::CommsBroker< COMMS, BrokerT >::getCommsObjectPointer |
get a pointer to the comms object
1.8.17