typedef boost::mpl::list <
boost::statechart::custom_reaction< ActMap >,
boost::statechart::custom_reaction< MNotifyRec >,
- boost::statechart::transition< NeedActingChange, WaitActingChange >,
- boost::statechart::transition< IsIncomplete, Incomplete >
+ boost::statechart::transition< NeedActingChange, WaitActingChange >
> reactions;
boost::statechart::result react(const ActMap&);
boost::statechart::result react(const MNotifyRec&);
void exit();
};
- struct Incomplete : boost::statechart::state< Incomplete, Primary>,
- NamedState {
- Incomplete(my_context ctx);
- void exit();
- };
-
struct GetInfo;
struct Active;
typedef boost::mpl::list <
boost::statechart::custom_reaction< QueryState >,
boost::statechart::custom_reaction< MLogRec >,
- boost::statechart::custom_reaction< GotLog >
+ boost::statechart::custom_reaction< GotLog >,
+ boost::statechart::transition< IsIncomplete, Incomplete >
> reactions;
boost::statechart::result react(const QueryState& q);
boost::statechart::result react(const MLogRec& logevt);
boost::statechart::result react(const MLogRec& logrec);
};
+ struct Incomplete : boost::statechart::state< Incomplete, Peering>, NamedState {
+ Incomplete(my_context ctx);
+ void exit();
+ };
+
RecoveryMachine machine;
PG *pg;