Jump to content

Queued State Machine Article Posted on ExpressionFlow


Recommended Posts

  • 1 year later...

Hi!

The first thing I want to do is to appreciate you for this nice tutorial.

On the last picture i see you wrote:

QUOTE

Enum typedefs defs will be different based on the owning consumer process

functions, but they should all have the INITIALIZE state included.

It's like a global state for all state machines implemented in the programm. Now if I want to add a new global state like EXIT, so I have to edit all the enum typedefs defined before?

I suggest to make one enum with all global states and decide in the state machine depending on a flag transmitted together with the state itself in the message if its a global state or made forthis state machine only.

I hope you understand what I mean. Regards, Eugen.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.