ForgeDocs
Documentation for the forge framework
|
The modification manager allows for a set of generic modifications to be queued up concurrently. At a later point in time, the modifications can then be retrieved deterministically (such that every computer will process the modification list in the same order) and the modifications can be applied. More...
Public Member Functions | |
void | SubmitModification (IModificationContext context, IModification modification) |
Submit a new modification. More... | |
IEnumerable< IModification > | GetModifications () |
Returns all of the modifications that have been done thus far. More... | |
void | ClearModifications () |
Clears out the list of completed modifications. More... | |
The modification manager allows for a set of generic modifications to be queued up concurrently. At a later point in time, the modifications can then be retrieved deterministically (such that every computer will process the modification list in the same order) and the modifications can be applied.
This class helps make multithreading deterministic.
void Forge.Utilities.ModificationManager.ClearModifications | ( | ) |
Clears out the list of completed modifications.
IEnumerable<IModification> Forge.Utilities.ModificationManager.GetModifications | ( | ) |
Returns all of the modifications that have been done thus far.
void Forge.Utilities.ModificationManager.SubmitModification | ( | IModificationContext | context, |
IModification | modification | ||
) |
Submit a new modification.
context | The object which is providing this modification. |
modification | The modification itself. |