- Event(double state_of_charge, Flow flow, std::function<void()> callback, bool repeat);
- static std::shared_ptr<Event> init(double state_of_charge, Flow flow, std::function<void()> callback, bool repeat);
+ Handler(double state_of_charge, Flow flow, bool repeat, std::function<void()> callback);
+ static std::shared_ptr<Handler> init(double state_of_charge, Flow flow, bool repeat,
+ std::function<void()> callback);