12 #ifndef HPP_SERVICE_MONITORING_UTILS_HPP_
13 #define HPP_SERVICE_MONITORING_UTILS_HPP_
15 #include "osapi/osapi_host.h"
16 #include "osapi/osapi_process.h"
17 #include "cdr/cdr_md5.h"
18 #include "routingservice/routingservice_monitoring.h"
20 #include <rti/core/Guid.hpp>
21 #include <rti/service/ResourceIdentifier.hpp>
23 namespace rti {
namespace service {
namespace monitoring {
26 void compute_object_id(
27 rti::core::Guid& out_guid,
28 const rti::core::Guid& application_id,
29 const rti::service::ResourceIdentifier& resource_id)
31 RTI_RoutingServiceMonitoringSupport_compute_resource_guid(
33 &application_id.native(),
34 &resource_id.native());
38 void compute_application_guid(
39 rti::core::Guid &out_guid,
40 const std::string& application_name)
42 RTI_RoutingServiceMonitoringSupport_compute_application_guid(
44 application_name.c_str());