25 Oct
2004
25 Oct
'04
4:44 p.m.
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