MCPcopy Create free account
hub / github.com/AshampooSystems/boden / operator()

Method operator()

framework/foundation/src/Timer.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 TimerCallback(std::weak_ptr<TimerImpl> timer, size_t id) : _timer(std::move(timer)), _id(id) {}
36
37 bool operator()() const
38 {
39 if (auto timer = _timer.lock()) {
40 return timer->notify(_id);
41 }
42 return false;
43 }
44
45 private:
46 std::weak_ptr<TimerImpl> _timer;

Callers

nothing calls this directly

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected