Re: Ask help for boost::statechart in PG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux