#include <CUndoable.h>
Inherits Undoable.
Public Member Functions | |
| MovePolygonUndoable (PolygonTrigger *pTrig) | |
| ~MovePolygonUndoable (void) | |
| virtual void | Do (void) |
| Offset the trigger. | |
| virtual void | Undo (void) |
| pure virtual. | |
| void | SetOffset (const ICoord3D &offset) |
| PolygonTrigger * | getTrigger (void) |
Public Member Functions inherited from Undoable | |
| Undoable (void) | |
| Create a new undoable. | |
| ~Undoable (void) | |
| Undoable - destructor. | |
| virtual void | Redo (void) |
| Redo defaults to Do(). | |
| void | LinkNext (Undoable *pNext) |
| Link another undoable to this. | |
| Undoable * | GetNext (void) |
Public Member Functions inherited from RefCountClass | |
| RefCountClass (void) | |
| RefCountClass (const RefCountClass &) | |
| void | Add_Ref (void) const |
| WWINLINE void | Release_Ref (void) const |
| int | Num_Refs (void) const |
| virtual void | Delete_This (void) |
Protected Attributes | |
| PolygonTrigger * | m_trigger |
| ICoord3D | m_point |
| ICoord3D | m_offset |
Protected Attributes inherited from Undoable | |
| Undoable * | mNext |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountClass | |
| static int | Total_Refs (void) |
| static RefCountClass * | Add_Active_Ref (RefCountClass *obj) |
| static RefCountClass * | Set_Ref_Owner (RefCountClass *obj, char *file, int line) |
| static void | Remove_Active_Ref (RefCountClass *obj) |
| static bool | Validate_Active_Ref (RefCountClass *obj) |
Public Attributes inherited from RefCountClass | |
| RefCountNodeClass | ActiveRefNode |
| ActiveRefStruct | ActiveRefInfo |
Static Public Attributes inherited from RefCountClass | |
| static RefCountListClass | ActiveRefList |
Protected Member Functions inherited from RefCountClass | |
| virtual | ~RefCountClass (void) |
An undoable that actually undoes something. Moves a polygon.
Definition at line 328 of file CUndoable.h.
| MovePolygonUndoable::MovePolygonUndoable | ( | PolygonTrigger * | pTrig | ) |
Definition at line 1181 of file CUndoable.cpp.
| MovePolygonUndoable::~MovePolygonUndoable | ( | void | ) |
Definition at line 1173 of file CUndoable.cpp.
|
virtual |
|
inline |
Definition at line 342 of file CUndoable.h.
| void MovePolygonUndoable::SetOffset | ( | const ICoord3D & | offset | ) |
Definition at line 1189 of file CUndoable.cpp.
|
virtual |
|
protected |
Definition at line 333 of file CUndoable.h.
|
protected |
Definition at line 332 of file CUndoable.h.
|
protected |
Definition at line 331 of file CUndoable.h.