11#ifndef RTI_ROUTING_DETAIL_UPDATABLE_ENTITY_FORWARDER_HPP_
12#define RTI_ROUTING_DETAIL_UPDATABLE_ENTITY_FORWARDER_HPP_
14#include <rti/core/Exception.hpp>
16#include <rti/apputils/ServiceException.hpp>
18#include <rti/routing/UpdatableEntity.hpp>
19#include <rti/routing/ServiceProperty.hpp>
20#include <rti/routing/detail/ForwarderUtils.hpp>
22namespace rti {
namespace routing {
namespace detail {
25class UpdatableEntityForwarder {
29 UpdatableEntity *updatable_entity,
30 const struct RTI_RoutingServiceProperties *native_properties,
31 RTI_RoutingServiceEnvironment *environment)
37 rti::routing::PropertyAdapter::add_properties_from_native(
40 updatable_entity->update(properties);
41 }
catch (
const rti::apputils::FatalServiceException& ex) {
42 RTI_RoutingServiceEnvironment_fatal_error(
45 }
catch (
const std::exception& ex) {
46 RTI_RoutingServiceEnvironment_set_error(
50 RTI_RoutingServiceEnvironment_set_error(
52 "unexpected exception");
std::map< std::string, std::string > PropertySet
The definition of a pluggable entity’s configuration properties.
Definition: PropertySet.hpp:60