10 Mar
2005
10 Mar
'05
3:19 p.m.
Hi, when doing a transition using transit<myDestinationState>, I would like to pass some parameters to myDestination. Problem is, those parameter-values will not be known at compile time, so I can't just pass them in as template-parameters to myDestinationState. Of course I could just set some global (or static member member) variable and read that from myDestinationState's constructor but this doesn't feel like a very clean design. Any suggestions? Jan Eickmann