Define RCPPSW_HFSM_CONSTRUCT_STATE

Define Documentation

RCPPSW_HFSM_CONSTRUCT_STATE(state_name, parent)

Construct a previously declared/inherited state.

Should be called in the constructor, and passed the desired parent state. This cannot be done at state declaration (from the compiler’s point of view), because of the way templating works (I think).