MCPcopy Create free account
hub / github.com/VitalAudio/visage / removeTimer

Method removeTimer

visage_ui/events.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void EventManager::removeTimer(const EventTimer* timer) {
70 auto it = std::find(timers_.begin(), timers_.end(), timer);
71 if (it != timers_.end())
72 timers_.erase(it);
73 }
74
75 void EventManager::addCallback(std::function<void()> callback) {
76 callbacks_.push_back(std::move(callback));

Callers 2

stopTimerMethod · 0.80
events_tests.cppFile · 0.80

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected