#include <DocumentDelta.h>
Inheritance diagram for Document::DocumentDelta:
Public Member Functions | |
DocumentDelta () | |
virtual | ~DocumentDelta () |
virtual void | apply (Track::Track &track)=0 |
Perform the associated reverable action on the track. | |
virtual void | unapply (Track::Track &track)=0 |
Reverse the action. |
Definition at line 24 of file DocumentDelta.h.
Document::DocumentDelta::DocumentDelta | ( | ) |
Definition at line 17 of file DocumentDelta.cpp.
Document::DocumentDelta::~DocumentDelta | ( | ) | [virtual] |
Definition at line 21 of file DocumentDelta.cpp.
virtual void Document::DocumentDelta::apply | ( | Track::Track & | track | ) | [pure virtual] |
Perform the associated reverable action on the track.
track | The track to apply the changes to. |
Implemented in Document::ChangeLightingDelta, Document::ChangePropertyDelta< Identifier, Data >, Document::ChangeVertexSegmentDelta, Document::ClearVertexDelta, Document::FlipEdgeDelta, Document::InsertDelta< InsertRemoveIdentifer, Object >, Document::RemoveVertexDelta, Document::RemoveDelta< InsertRemoveIdentifer, Object >, Document::SetStartPositionsDelta, and Document::StackableDelta.
virtual void Document::DocumentDelta::unapply | ( | Track::Track & | track | ) | [pure virtual] |
Reverse the action.
This will only be called when the track is in the same state having just called
apply(track)
track | The track to apply the changes to. |
Implemented in Document::ChangeLightingDelta, Document::ChangePropertyDelta< Identifier, Data >, Document::InsertDelta< InsertRemoveIdentifer, Object >, Document::RemoveDelta< InsertRemoveIdentifer, Object >, Document::StackableDelta, and Document::SymmetricDelta.
Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.