$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Statechart] How to decide between post_eventand process_event atrun time ?
From: rgreene62 (richard.greene_at_[hidden])
Date: 2014-07-22 13:14:42
One approach that works for my application, that uses a single subclass of
state_machine, is to override (i.e. hide) the base
state_Machine::process_event with a version that simply sets an
'is_processing' flag before calling the base process_event, and clears it
afterwards. Then other methods can call post_event if is_processing is
true, and process_event otherwise.
-- View this message in context: http://boost.2283326.n4.nabble.com/Statechart-How-to-decide-between-post-event-and-process-event-atrun-time-tp2572919p4665455.html Sent from the Boost - Users mailing list archive at Nabble.com.