any objects for handling (program) state transitions [message #52672] |
Thu, 15 February 2007 07:54 |
Mirko
Messages: 20 Registered: April 1999
|
Junior Member |
|
|
Hi,
before going on to re-invent the wheel, I was wondering if there is a
well written and tested object to manipulate state transitions.
Let me explain.
I have an object whose actions and transitions to other states are
constrained by the current state the application is at a particular
moment.
So, I need an object that lists the allowed states, and conditions
under which one can go from one state to another. Finally it will
provide tests for each particular state (is it in that state or not).
The more I think about it, the more the wheel looks complex, and the
more I hope someone already did the job :-)
Thanks,
Mirko
|
|
|