33 #include <boost/date_time/posix_time/ptime.hpp> 35 #include <rsc/misc/UUID.h> 36 #include <rsc/os/ProcessInfo.h> 37 #include <rsc/os/HostInfo.h> 39 #include <rsb/Version.h> 43 namespace introspection {
56 const rsc::misc::UUID&
id,
59 const std::string&
type,
63 const std::string&
getKind()
const;
65 const rsc::misc::UUID&
getId()
const;
71 const std::string&
getType()
const;
103 = rsc::os::currentProcessId(),
104 const std::string& programName
106 const std::vector<std::string>& arguments
108 const boost::posix_time::ptime& startTime
110 const std::string& rsbVersion
111 = rsb::Version::string() +
"-" + rsb::Version::buildId(),
112 const std::string& executingUser
116 unsigned int getPid()
const;
118 const std::string& getProgramName()
const;
120 const std::vector<std::string>& getArguments()
const;
122 const boost::posix_time::ptime& getStartTime()
const;
124 const std::string& getRSBVersion()
const;
126 const std::string& getExecutingUser()
const;
167 const std::string&
getId()
const;
169 const std::string& getHostname()
const;
171 const std::string& getMachineType()
const;
173 const std::string& getMachineVersion()
const;
175 const std::string& getSoftwareType()
const;
177 const std::string& getSoftwareVersion()
const;
boost::posix_time::ptime tryCurrentProcessStartTime()
Instances of this class store information about participants in the current process.
Instances of this class store information about the current process.
std::string softwareVersion
boost::posix_time::ptime startTime
const std::string & getKind() const
std::string tryCurrentMachineType()
std::vector< std::string > arguments
std::string executingUser
std::string tryCurrentExecutingUser()
std::string currentCompatibleHostId()
const std::string & getType() const
std::string tryCurrentSoftwareVersion()
const std::set< std::string > & getTransportURLs() const
const rsc::misc::UUID & getParentId() const
std::set< std::string > transportURLs
std::vector< std::string > tryCurrentCommandlineArguments()
ParticipantInfo(const std::string &kind, const rsc::misc::UUID &id, const rsc::misc::UUID &parentId, const Scope &scope, const std::string &type, const std::set< std::string > &transportURLs)
const Scope & getScope() const
std::string tryCurrentMachineVersion()
std::string tryCurrentHostId()
Instances of this class store information about the local host.
virtual ~ParticipantInfo()
std::string machineVersion
std::string tryCurrentSoftwareType()
std::string tryCurrentProgramName()
Scope is a descriptor for a hierarchical channel of the unified bus.
std::string tryCurrentHostname()
const rsc::misc::UUID & getId() const