Boost logo

Boost Users :

Subject: [Boost-users] boost::msm usage: how to set properties of target states
From: spiritwalker (spiritwalker888_at_[hidden])
Date: 2016-02-17 20:36:27

States in my fsm has different properties. I define a event which will invoke
a transition to a target state. I want to set properties of target by event
data. My choices are:
1. set properties in the action or guard: but it is still in the source
state. I fill not good if i set the target state properties at the time
2. set properties in the target entry: but the value of properties have been
calculated in guard on receiving the event so i should recalculated again :(

Any one can give me more ideas. Thanks !

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at