 |
helics
3.3.0
|
9 #include "../CommsInterface.hpp"
10 #include "helics/helics-config.h"
29 virtual void queue_rx_function()
override;
30 virtual void queue_tx_function()
override;
35 std::string getAddress()
const;
std::string brokerTargetAddress
the base for the broker address
Definition: CommsInterface.hpp:125
bool propertyLock()
Definition: CommsInterface.cpp:153
~InprocComms()
Definition: InprocComms.cpp:27
bool observer
true for connections that are for observation only
Definition: CommsInterface.hpp:144
@ processed
the message was used to update the current state
std::string name
the name of the object
Definition: CommsInterface.hpp:123
std::shared_ptr< Core > findCore(std::string_view name)
Definition: CoreFactory.cpp:304
thread_generation
Definition: CommsInterface.hpp:29
@ INPROC
core/broker using a stripped down in process core type
size_t cleanUpBrokers()
Definition: BrokerFactory.cpp:266
std::string brokerInitString
the initialization string for any automatically generated broker
Definition: CommsInterface.hpp:128
Definition: NetworkBrokerData.hpp:23
std::chrono::milliseconds connectionTimeout
Definition: CommsInterface.hpp:146
void logError(std::string_view message) const
Definition: CommsInterface.cpp:581
std::shared_ptr< Broker > create(CoreType type, std::string_view configureString)
Definition: BrokerFactory.cpp:99
gmlc::containers::BlockingPriorityQueue< std::pair< route_id, ActionMessage > > txQueue
set of messages waiting to be transmitted
Definition: CommsInterface.hpp:155
bool copyBrokerIdentifier(std::string_view copyFromName, std::string_view copyToName)
Definition: BrokerFactory.cpp:297
Definition: InprocComms.h:19
InprocComms()
Definition: InprocComms.cpp:24
bool isIgnoreableCommand(const ActionMessage &command) noexcept
Definition: ActionMessage.hpp:317
std::shared_ptr< Broker > findBroker(std::string_view brokerName)
Definition: BrokerFactory.cpp:183
bool copyCoreIdentifier(std::string_view copyFromName, std::string_view copyToName)
Definition: CoreFactory.cpp:387
@ ERRORED
some ERRORED occurred on the connection
void disconnect()
Definition: CommsInterface.cpp:385
@ TERMINATED
the connection has been TERMINATED
void logWarning(std::string_view message) const
Definition: CommsInterface.cpp:572
int getPort() const
Definition: InprocComms.h:33
std::string localTargetAddress
the base for the receive address
Definition: CommsInterface.hpp:124
std::string brokerName
Definition: CommsInterface.hpp:126
std::string prettyPrintString(const ActionMessage &command)
Definition: ActionMessage.cpp:846
Definition: CommsInterface.hpp:25
bool isProtocolCommand(const ActionMessage &command) noexcept
Definition: ActionMessage.hpp:226
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
virtual void loadNetworkInfo(const NetworkBrokerData &netInfo)
Definition: CommsInterface.cpp:104
bool serverMode
some comms have a server mode and non-server mode
Definition: CommsInterface.hpp:141
bool autoBroker
the broker should be automatically generated if needed
Definition: CommsInterface.hpp:142
virtual void loadNetworkInfo(const NetworkBrokerData &netInfo) override
Definition: InprocComms.cpp:32
std::shared_ptr< Broker > findJoinableBrokerOfType(CoreType type)
Definition: BrokerFactory.cpp:211
@ CONNECTED
we are CONNECTED