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

Method create

implementation/endpoints/src/timer.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26std::shared_ptr<timer> timer::create(boost::asio::io_context& _io, std::chrono::milliseconds _interval, task_t _task) {
27 return std::make_shared<timer>(hidden{}, abstract_socket_factory::get()->create_timer(_io), _interval, std::move(_task));
28}
29
30void timer::start() {
31 std::scoped_lock lock{mtx_};

Callers

nothing calls this directly

Calls 1

create_timerMethod · 0.45

Tested by

no test coverage detected