$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [msm] Manually setting the machine state
From: Mark S (mark_at_[hidden])
Date: 2012-06-18 07:21:10
Hi,
I'm wondering if it's possible to set the current state of a state machine
manually from outside the machine.
My rationale for wanting to do this is I need to recover the state of an
FSM that has been shutdown/terminated part way through it's sequence. When
restarting I want to build up the current state based on a log of its
actions. I'm unable to serialise out the state prior to termination as it
may be from a crash and it's vital that it can continue after recovery in
the exact state it left off.
Thanks,
Mark