MCPcopy Create free account
hub / github.com/comaps/comaps / NotifySubscribers

Function NotifySubscribers

libs/map/power_management/power_manager.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using Subscribers = std::vector<PowerManager::Subscriber *>;
20
21void NotifySubscribers(Subscribers & subscribers, Scheme const scheme)
22{
23 for (auto & subscriber : subscribers)
24 subscriber->OnPowerSchemeChanged(scheme);
25}
26
27void NotifySubscribers(Subscribers & subscribers, Facility const facility, bool enabled)
28{

Callers 4

LoadMethod · 0.85
SetFacilityMethod · 0.85
SetSchemeMethod · 0.85

Calls 2

OnPowerSchemeChangedMethod · 0.45

Tested by

no test coverage detected