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 SubmitAgents(Quantity agents) -> void;
struct AgentInfo {
Quantity idleAgentsCount;
Quantity activeAgentsCount;
Quantity executingAgentsCount;
Quantity idleAgentsCount = 0;
Quantity activeAgentsCount = 0;
Quantity executingAgentsCount = 0;
std::vector<DDSAgent> agents;
};
auto RequestAgentInfo() -> AgentInfo;
struct CommanderInfo {
int pid;
int pid = -1;
std::string activeTopologyName;
};
auto RequestCommanderInfo() -> CommanderInfo;