context< RecoveryMachine >().log_enter(state_name);
}
+boost::statechart::result PG::RecoveryState::Initial::react(const Initialize& l)
+{
+ PG *pg = context< RecoveryMachine >().pg;
+ pg->update_store_with_options();
+ return transit< Reset >();
+}
+
boost::statechart::result PG::RecoveryState::Initial::react(const Load& l)
{
PG *pg = context< RecoveryMachine >().pg;
void exit();
typedef boost::mpl::list <
- boost::statechart::transition< Initialize, Reset >,
+ boost::statechart::custom_reaction< Initialize >,
boost::statechart::custom_reaction< Load >,
boost::statechart::custom_reaction< NullEvt >,
boost::statechart::transition< boost::statechart::event_base, Crashed >
> reactions;
boost::statechart::result react(const Load&);
+ boost::statechart::result react(const Initialize&);
boost::statechart::result react(const MNotifyRec&);
boost::statechart::result react(const MInfoRec&);
boost::statechart::result react(const MLogRec&);