Re: [boost] New library in Vault: Msm (Meta State Machine)

Hi Andreas, I just uploaded the solution to your question into the Vault: http://www.boostpro.com/vault/index.php?direction=0&order=&directory=Msm& Regards, Christophe _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us

Hi Christophe
I just uploaded the solution to your question into the Vault: http://www.boostpro.com/vault/index.php?direction=0&order=&directory=Msm&
Ok, thanks. I quote from the code: [comments and white space omitted to avoid line breaks]
struct transition_table : mpl::vector< _row < A, z, B >, _row < B, t, D >
{};
What do t & D stand for (they do not appear in Figure 2)? They don't seem to be necessary to implement the chart? [comments and white space omitted to avoid line breaks]
struct transition_table : mpl::vector< row< C, x, C, &SM::implement_x_action, &SM::is_C_in_exit_mode >, a_row< C, y, C, &SM::implement_y_action >
{};
1) Is it possible to implement the transitions exactly as shown in the chart? 2) If no, is this why you introduced two self-transitions to C, one with a guard to prevent transition from B? Thanks & Regards, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.
participants (2)
-
Andreas Huber
-
christophe henry