开发者

Progress indicator for boost serialization

I have a document structure implemented with boost serialization, however when I save/load a document it can take a long time. I would need to have a progress indication of how far the save/load has gotten.

Is there a way to use boost iostr开发者_JS百科eams source for this ? That way I would be able to implement a source taking the data from my input stream.

More ideas ?


Maybe try creating a window that just states

"Saving to file..." / "Loading from file..."

that gets destroyed once the saving/loading operation ends.

You can also have it update the "Save to file" message to "File saved" once the save operation completes.

It's not an ideal solution but at least your users won't be scratching their heads wondering what the save/load operation is doing. I've looked for a similar solution myself but found none. Let me know if you find something.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜