SDK: Implement WaitForIdleAgents and CommanderInfoRequest

This commit is contained in:
Dennis Klein
2019-07-24 10:37:58 +02:00
parent bc98ab1eed
commit a93840b240
3 changed files with 30 additions and 13 deletions

View File

@@ -65,7 +65,12 @@ class DDSSession
auto IsRunning() const -> bool;
auto SubmitAgents(Quantity agents) -> void;
auto RequestAgentInfo() -> void;
auto RequestCommanderInfo() -> void;
struct CommanderInfo {
int pid;
Quantity idleAgentsCount;
};
auto RequestCommanderInfo() -> CommanderInfo;
auto WaitForIdleAgents(Quantity) -> void;
auto ActivateTopology(const Path& topologyFile) -> void;
auto Stop() -> void;