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

Method status_log_timer_cbk

implementation/routing/src/routing_manager_impl.cpp:3378–3391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3376}
3377
3378void routing_manager_impl::status_log_timer_cbk(boost::system::error_code const& _error) {
3379 if (_error) {
3380 return;
3381 }
3382 const uint32_t its_interval = configuration_->get_status_log_interval(host_->get_name(), true);
3383 VSOMEIP_INFO_P << " ";
3384
3385 ep_mgr_impl_->print_status();
3386 {
3387 std::scoped_lock its_lock{log_timer_mutex_};
3388 status_log_timer_.expires_after(std::chrono::milliseconds(its_interval));
3389 status_log_timer_.async_wait([this](boost::system::error_code const& ec) { this->status_log_timer_cbk(ec); });
3390 }
3391}
3392
3393void routing_manager_impl::on_unsubscribe_ack(client_t _client, service_t _service, instance_t _instance, eventgroup_t _eventgroup,
3394 remote_subscription_id_t _id) {

Callers 1

startMethod · 0.95

Calls 5

get_nameMethod · 0.45
print_statusMethod · 0.45
expires_afterMethod · 0.45
async_waitMethod · 0.45

Tested by

no test coverage detected