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

Method version_log_timer_cbk

implementation/routing/src/routing_manager_client.cpp:160–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void routing_manager_client::version_log_timer_cbk(boost::system::error_code const& _error) {
161 if (!_error) {
162 const uint32_t its_interval = configuration_->get_version_log_interval(host_->get_name(), false);
163
164 VSOMEIP_INFO << "vSomeIP " << VSOMEIP_VERSION << " (" << VSOMEIP_GIT_COMMIT << ") | ";
165
166 log_network_state(true, false);
167
168 {
169 std::scoped_lock its_lock(log_timer_mutex_);
170 version_log_timer_.expires_after(std::chrono::milliseconds(its_interval));
171 version_log_timer_.async_wait([this](boost::system::error_code const& ec) { this->version_log_timer_cbk(ec); });
172 }
173 }
174}
175
176void routing_manager_client::stop() {
177 state_machine_->target_shutdown();

Callers 1

startMethod · 0.95

Calls 4

get_nameMethod · 0.45
expires_afterMethod · 0.45
async_waitMethod · 0.45

Tested by

no test coverage detected