9 #ifndef FAIR_MQ_SDK_DDSSAGENT_H 10 #define FAIR_MQ_SDK_DDSSAGENT_H 12 #include <fairmq/sdk/DDSSession.h> 38 std::chrono::milliseconds startupTime,
40 : fSession(std::move(session))
43 , fDDSPath(std::move(path))
44 , fHost(std::move(host))
45 , fStartupTime(startupTime)
46 , fUsername(std::move(username))
49 DDSSession GetSession()
const {
return fSession; }
50 Id GetId()
const {
return fId; }
51 Pid GetPid()
const {
return fPid; }
52 std::string GetHost()
const {
return fHost; }
53 std::string GetDDSPath()
const {
return fDDSPath; }
54 std::chrono::milliseconds GetStartupTime()
const {
return fStartupTime; }
55 std::string GetUsername()
const {
return fUsername; }
57 friend auto operator<<(std::ostream& os,
const DDSAgent& agent) -> std::ostream&
59 return os <<
"DDSAgent id: " << agent.fId
60 <<
", pid: " << agent.fPid
61 <<
", path: " << agent.fDDSPath
62 <<
", host: " << agent.fHost
63 <<
", startupTime: " << agent.fStartupTime.count()
64 <<
", username: " << agent.fUsername;
73 std::chrono::milliseconds fStartupTime;
74 std::string fUsername;
Represents a DDS session.
Definition: DDSSession.h:56
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23
Represents a DDS agent.
Definition: DDSAgent.h:27