Boost logo

Boost Users :

From: spooky_at_[hidden]
Date: 2004-10-25 11:44:37


Is it possible to save the current state of the state machine to a stream or
by means of boost::serialize?

Details:
I am building a state machine using boost::fsm that is trying to follow the
activity of items in a processing pipeline.
I am trying to implement a procedure that allows the software to be turned
off and on again without loosing the information about the current state.
Naturally, I want to have a timer and, at some interval I checkpoint the
state machine and save the binary representation to a file. The contents of
the file are used during application startup to restore the state machine.
Can I achieve this functionality with boost::fsm?

Best regards,
Emil Mieilica


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net