void JsHandleState(const std::string &, const State &)
void SetInterruptHandler(const std::function< int(const EventImp &)> &func=std::function< int(const EventImp &)>())
void SetStateCallback(const std::function< void(const std::string &, const State &)> &func)
StateMachineDimControl * fImp
int JsHandleInterrupt(const EventImp &)