-
- All Known Subinterfaces:
IOperationTrail
,IStoredBoolTrail
,IStoredDoubleTrail
,IStoredIntTrail
,IStoredLongTrail
- All Known Implementing Classes:
ChunckedBoolTrail
,ChunckedDoubleTrail
,ChunckedIntTrail
,ChunckedLongTrail
,ChunckedOperationTrail
,ChunckedTrail
,OperationTrail
,StoredBoolTrail
,StoredDoubleTrail
,StoredDoubleVectorTrail
,StoredIntTrail
,StoredIntVectorTrail
,StoredLongTrail
public interface IStorage
An interface for classes implementing trails of modifications to objects. Toutes les classes doivent implementer les fonctions de l'interface pour permettre a l'environnement de deleguer la gestion des mondes pour chaque type de donnee.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
worldCommit(int worldIndex)
Comitting the current world: merging it with the previous one.void
worldPop(int worldIndex)
Moving down to the previous world.void
worldPush(int worldIndex)
Moving up to the next world.
-
-
-
Method Detail
-
worldPush
void worldPush(int worldIndex)
Moving up to the next world. Cette methode doit garder l'etat de la variable avant la modification de sorte a la remettre en etat le cas echeant.- Parameters:
worldIndex
- current world index
-
worldPop
void worldPop(int worldIndex)
Moving down to the previous world. Cette methode reattribute a la variable ou l'element d'un tableau sa valeur precedente.- Parameters:
worldIndex
- current world index
-
worldCommit
void worldCommit(int worldIndex)
Comitting the current world: merging it with the previous one. Not used yet.
-
-