Login | Register
My pages Projects Community openCollabNet

Wiki: Diff for "<<Subsystem>> Persistence"

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Edit this page | Links to this page | Page information | Attachments | Refresh page


Differences between revisions 5 and 6

Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:

=== Code Example ===

See the ["Code example for model/persistence subsystem usage"].
To package and unpackage the persistence data from different subsystems to and from some storage medium, i.e. to save and load user data files.



<<Layer>> View and Control subsystems

During save, the persistence subsystem requests each subsystem for its persistence data and adds that data to the output it is collating.

During load, the persistence subsystem unwraps the persistence data and passes them to the relevant subsystems for those subsystems to build themselves.

Edges and nodes are now saved and loaded in z order. Previously, edges were connected as they were loaded causing a problem if the node had not already been read. We now load all nodes and edges (unconnected) and then connect the edges post-load.

Design of the subsystem

Used subsystems

As illustrated in the figure below, the persistence subsystem depends on the kernel subsystem, and not vice versa.



<<Subsystem>> Persistence (last edited 2009-02-23 21:37:50 -0700 by thn)