12 #include <glog/logging.h> 24 return T::getInitialState();
31 std::tie(newState, ok) = T::find(state, event);
33 LOG(
ERROR) << T::getName() <<
": invalid transition tried: " << state
37 VLOG(6) << T::getName() <<
": transitioning from " << state <<
" to " 47 std::tie(std::ignore, ok) = T::find(state, event);
static State getNewInstance()
State
See Core for details.
static bool transit(State &state, Event event)
static bool canTransit(const State state, Event event)