On Sat, 30 Aug 2014, star fan wrote:
> I ask the question because I am not good at  boost::statechart and I
> can't get answer from other way.
> 
> To help me to good understand the PG statechart, I hope someone answer
> below questions:
> In Initial state,
> 1.  why there is not react function for custom_reaction< NullEvt >
> 2. why there is not custom_reaction definition about
> boost::statechart::result react(const MNotifyRec&);

One thing to keep in mind is that the states form a hierarchy.  If a state 
doesn't explicitly handle/react to an event, the parent will.  You'll 
notice that Reset and Started both react to NullEvt, and the other states 
are substates/children of those.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to