11 #ifndef RTI_ROUTING_ROUTING_SERVICE_HPP_
12 #define RTI_ROUTING_ROUTING_SERVICE_HPP_
14 #include <dds/core/Reference.hpp>
15 #include <rti/config/Logger.hpp>
17 #include "routingservice/routingservice_adapter_new.h"
19 #include <rti/routing/ServiceProperty.hpp>
20 #include <rti/routing/detail/RoutingServiceImpl.hpp>
24 namespace rti {
namespace routing {
87 typedef dds::core::Reference<RoutingServiceImpl> Base;
88 OMG_DDS_REF_TYPE_NOTYPENAME(
101 : Base(new RoutingServiceImpl(property))
103 this->delegate()->remember_reference(this->delegate());
107 : Base(new RoutingServiceImpl(property))
109 this->delegate()->remember_reference(this->delegate());
112 explicit RoutingService(Base::DELEGATE_REF_T reference) : Base(reference)
114 if (this->delegate()) {
115 this->delegate()->remember_reference(this->delegate());
127 this->delegate()->start();
137 this->delegate()->stop();
204 const std::string& plugin_name)
206 this->delegate()->attach_adapter_plugin(
219 const std::string& plugin_name)
221 this->delegate()->attach_processor_plugin(
234 const std::string& plugin_name)
236 this->delegate()->attach_transformation_plugin(
237 transformation_plugin,
260 RoutingServiceImpl::finalize_globals();
276 typedef rti::config::Verbosity Verbosity;
277 typedef rti::config::LogCategory LogCategory;
278 typedef rti::config::LoggerMode LoggerMode;
279 typedef rti::config::PrintFormat PrintFormat;
296 RTILogBitmap submodule_mask = ROUTER_SUBMODULE_MASK_ALL;
297 ROUTERLog_setBitmaps(
299 static_cast<RTILogBitmap>(verbosity.underlying()));
309 RTILogBitmap submodule_mask = ROUTER_SUBMODULE_MASK_ALL;
310 RTILogBitmap instrumentation_mask = ROUTER_SUBMODULE_MASK_ALL;
311 ROUTERLog_getBitmaps(&submodule_mask, &instrumentation_mask);
313 return static_cast<rti::config::Verbosity::type
>(instrumentation_mask);
326 Logger(
const Logger&);
327 Logger& operator=(
const Logger&);
332 #endif // RTI_ROUTING_ROUTING_SERVICE_HPP_