MCPcopy Create free account
hub / github.com/COVESA/vsomeip / routing_manager_base

Method routing_manager_base

implementation/routing/src/routing_manager_base.cpp:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#define VSOMEIP_LOG_PREFIX "rmb"
25
26routing_manager_base::routing_manager_base(routing_manager_host* _host) :
27 host_(_host), io_(host_->get_io()), configuration_(host_->get_configuration()), tc_(trace::connector_impl::get()) {
28 const std::size_t its_max = configuration_->get_io_thread_count(host_->get_name());
29 const uint32_t its_buffer_shrink_threshold = configuration_->get_buffer_shrink_threshold();
30
31 for (std::size_t i = 0; i < its_max; ++i) {
32 serializers_.push(std::make_shared<serializer>(its_buffer_shrink_threshold));
33 deserializers_.push(std::make_shared<deserializer>(its_buffer_shrink_threshold));
34 }
35}
36
37boost::asio::io_context& routing_manager_base::get_io() {
38

Callers

nothing calls this directly

Calls 4

get_io_thread_countMethod · 0.80
get_configurationMethod · 0.45
get_nameMethod · 0.45

Tested by

no test coverage detected