11#ifndef RTI_ROUTING_TRANSF_TRANSFORMATION_PLUGIN_HPP_
12#define RTI_ROUTING_TRANSF_TRANSFORMATION_PLUGIN_HPP_
14#include "routingservice/routingservice_log.h"
16#include <rti/config/Version.hpp>
17#include <rti/routing/TypeInfo.hpp>
18#include <rti/routing/PropertySet.hpp>
19#include <rti/routing/transf/Transformation.hpp>
20#include <rti/routing/detail/ForwarderUtils.hpp>
34namespace rti {
namespace routing {
namespace transf {
102 return rti::config::LibraryVersion();
113#include <rti/routing/transf/detail/TransformationPluginForwarder.hpp>
184#define RTI_TRANSFORMATION_PLUGIN_CREATE_FUNCTION_DECL(TRANSFORMATION_PLUGIN_CLASS) \
185extern "C" RTI_USER_DLL_EXPORT struct RTI_RoutingServiceTransformationPlugin * \
186 TRANSFORMATION_PLUGIN_CLASS ## _create_transformation_plugin(\
187 const struct RTI_RoutingServiceProperties *, \
188 RTI_RoutingServiceEnvironment *); \
195#define RTI_TRANSFORMATION_PLUGIN_CREATE_FUNCTION_DEF(TRANSFORMATION_PLUGIN_CLASS) \
196struct RTI_RoutingServiceTransformationPlugin * \
197 TRANSFORMATION_PLUGIN_CLASS ## _create_transformation_plugin( \
198 const struct RTI_RoutingServiceProperties * native_properties, \
199 RTI_RoutingServiceEnvironment *environment) \
201 rti::routing::PropertySet properties; \
202 rti::routing::PropertyAdapter::add_properties_from_native(\
204 native_properties); \
206 return rti::routing::transf::detail::TransformationPluginForwarder::create_plugin(\
207 new TRANSFORMATION_PLUGIN_CLASS(properties)); \
208 } catch (const std::exception& ex) {\
209 RTI_RoutingServiceEnvironment_set_error(\
Definition of the type information associated with a RTI Routing Service stream.
Definition: TypeInfo.hpp:169
std::map< std::string, std::string > PropertySet
The definition of a pluggable entity’s configuration properties.
Definition: PropertySet.hpp:60