12 #include <nlohmann/json_fwd.hpp>
14 #include <string_view>
15 #include <unordered_map>
36 bool hasExtraCommands()
const;
38 std::pair<std::string, std::string> getCommand();
41 Core* corePtr{
nullptr};
43 std::atomic<bool> respondedToCommand{
false};
44 bool hasPotentialTargetting{
true};
45 using iMap = std::unordered_map<std::string, nlohmann::json>;
46 std::map<std::string, iMap> potInterfaces;
47 std::map<std::string, iMap> potInterfaceTemplates;
49 std::deque<std::pair<std::string, std::string>> extraCommands;
Definition: core/Core.hpp:41
Definition: application_api/Federate.hpp:48
Definition: PotentialInterfacesManager.hpp:23
void processCommand(std::pair< std::string, std::string > command)
Definition: PotentialInterfacesManager.cpp:123
void initialize()
Definition: PotentialInterfacesManager.cpp:83
void loadPotentialInterfaces(const nlohmann::json &json)
Definition: PotentialInterfacesManager.cpp:25
std::string generateQueryResponse(std::string_view query)
Definition: PotentialInterfacesManager.cpp:91
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14