PIStateMachine "addOnFinish" renamed to "setOnFinish"
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
|
||||
bool start();
|
||||
bool isRunning() const { return is_running; }
|
||||
void addOnFinish(std::function<void()> f) { on_finish = f; }
|
||||
void setOnFinish(std::function<void()> f) { on_finish = f; }
|
||||
|
||||
template<typename... Args>
|
||||
bool postEvent(int event_id, Args... args) {
|
||||
|
||||
Reference in New Issue
Block a user