UndoScriptAction Class Reference

#include <undo.h>

Inheritance diagram for UndoScriptAction:

Inheritance graph
[legend]
List of all members.

Public Types

typedef UndoAction Parent

Public Member Functions

 UndoScriptAction ()
virtual void undo ()
 Implement these methods to perform your specific undo & redo tasks.
virtual void redo ()
virtual bool onAdd ()
 Called when the object is added to the sim.
virtual void onRemove ()
 Called when the object is removed from the sim.
 DECLARE_CONOBJECT (UndoScriptAction)

Member Typedef Documentation

Reimplemented from UndoAction.


Constructor & Destructor Documentation

UndoScriptAction::UndoScriptAction (  )  [inline]


Member Function Documentation

virtual void UndoScriptAction::undo (  )  [inline, virtual]

Implement these methods to perform your specific undo & redo tasks.

Reimplemented from UndoAction.

virtual void UndoScriptAction::redo (  )  [inline, virtual]

Reimplemented from UndoAction.

virtual bool UndoScriptAction::onAdd (  )  [inline, virtual]

Called when the object is added to the sim.

Reimplemented from SimObject.

virtual void UndoScriptAction::onRemove (  )  [inline, virtual]

Called when the object is removed from the sim.

Reimplemented from SimObject.

UndoScriptAction::DECLARE_CONOBJECT ( UndoScriptAction   )