SDK: Initialize members

This commit is contained in:
Dennis Klein 2019-07-25 14:43:39 +02:00
parent 377eaf2bb8
commit 6208cbb508
No known key found for this signature in database
GPG Key ID: 08E62D23FA0ECBBC

View File

@ -73,14 +73,14 @@ class DDSSession
auto IsRunning() const -> bool; auto IsRunning() const -> bool;
auto SubmitAgents(Quantity agents) -> void; auto SubmitAgents(Quantity agents) -> void;
struct AgentInfo { struct AgentInfo {
Quantity idleAgentsCount; Quantity idleAgentsCount = 0;
Quantity activeAgentsCount; Quantity activeAgentsCount = 0;
Quantity executingAgentsCount; Quantity executingAgentsCount = 0;
std::vector<DDSAgent> agents; std::vector<DDSAgent> agents;
}; };
auto RequestAgentInfo() -> AgentInfo; auto RequestAgentInfo() -> AgentInfo;
struct CommanderInfo { struct CommanderInfo {
int pid; int pid = -1;
std::string activeTopologyName; std::string activeTopologyName;
}; };
auto RequestCommanderInfo() -> CommanderInfo; auto RequestCommanderInfo() -> CommanderInfo;