#ifndef FSMLIST_HPP_INCLUDED #define FSMLIST_HPP_INCLUDED #include #include "elevator.hpp" #include "motor.hpp" using fsm_list = tinyfsm::FsmList; /** dispatch event to both "Motor" and "Elevator" */ template void send_event(E const & event) { fsm_list::template dispatch(event); } #endif