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

Method status_log_timer_cbk

implementation/routing/src/routing_manager_client.cpp:146–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void routing_manager_client::status_log_timer_cbk(boost::system::error_code const& _error) {
147 if (!_error) {
148 const uint32_t its_interval = configuration_->get_status_log_interval(host_->get_name(), false);
149 VSOMEIP_INFO_P << " ";
150 ep_mgr_->print_status();
151
152 {
153 std::scoped_lock its_lock(log_timer_mutex_);
154 status_log_timer_.expires_after(std::chrono::milliseconds(its_interval));
155 status_log_timer_.async_wait([this](boost::system::error_code const& ec) { this->status_log_timer_cbk(ec); });
156 }
157 }
158}
159
160void routing_manager_client::version_log_timer_cbk(boost::system::error_code const& _error) {
161 if (!_error) {

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