 |
helics
3.3.0
|
10 #include "../core/ActionMessage.hpp"
12 #include <json/forwards.h>
22 using portData = std::vector<std::tuple<int, bool, std::shared_ptr<Broker>>>;
29 const std::shared_ptr<TypedBrokerServer>& ptr) = 0;
42 static void assignPort(portData& pd,
int pnumber, std::shared_ptr<Broker>& brk);
44 static void logMessage(std::string_view message);
CoreType
Definition: CoreTypes.hpp:36
static ActionMessage generateMessageResponse(const ActionMessage &rxcmd, portData &pdata, CoreType ctype)
Definition: TypedBrokerServer.cpp:65
Definition: ActionMessage.hpp:30
std::shared_ptr< Broker > create(CoreType type, std::string_view configureString)
Definition: BrokerFactory.cpp:99
virtual void startServer(const Json::Value *val, const std::shared_ptr< TypedBrokerServer > &ptr)=0
static int getOpenPort(portData &pd)
Definition: TypedBrokerServer.cpp:102
std::shared_ptr< Broker > findBroker(std::string_view brokerName)
Definition: BrokerFactory.cpp:183
int32_t messageID
8 – message ID for a variety of purposes
Definition: ActionMessage.hpp:36
virtual void processArgs(std::string_view args)
Definition: TypedBrokerServer.cpp:99
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
Definition: TypedBrokerServer.hpp:24
action_message_def::action_t action() const noexcept
Definition: ActionMessage.hpp:88
std::shared_ptr< Broker > findJoinableBrokerOfType(CoreType type)
Definition: BrokerFactory.cpp:211
virtual void stopServer()=0