|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.cmu.cs.coral.icf.plan_based.planners.pip.ChangeTracker
Tracks changes over time, used in PIP for tracking changes to the plan.
Field Summary | |
private java.util.Vector |
changes
Tracks the changes that need remembered. |
Constructor Summary | |
ChangeTracker()
Constructs an ChangeTracker containing no changes. |
Method Summary | |
void |
addChange(Change change)
Adds the specified change to the ChangeTracker. |
void |
applyAll()
Apply all the changes in the change interator. |
java.util.ListIterator |
getChanges()
Gets all the changes this ChangeTracker was asked to remember. |
void |
undoAll()
Undo all the changes in the change iterator. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.Vector changes
Constructor Detail |
public ChangeTracker()
Method Detail |
public void addChange(Change change)
change
- the change to remember, a null value results in a no-oppublic java.util.ListIterator getChanges()
public void undoAll()
public void applyAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |