Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

RS_UndoCycle Class Reference

An Undo Cycle represents an action that was triggered and can be undone. More...

#include <rs_undocycle.h>

List of all members.

Public Member Functions

 RS_UndoCycle ()
void addUndoable (RS_Undoable *u)
 Adds an Undoable to this Undo Cycle.
void removeUndoable (RS_Undoable *u)
 Removes an undoable from the list.
RS_UndoablegetFirstUndoable ()
 Iteration through undoable elements in this item.
RS_UndoablegetNextUndoable ()
 Iteration through undoable elements in this item.

Friends

class RS_Undo


Detailed Description

An Undo Cycle represents an action that was triggered and can be undone.

It stores all the pointers to the Undoables affected by the action. Undoables are entities in a container that can be created and deleted.

Undo Cycles are stored within classes derrived from RS_Undo.

See also:
RS_Undoable

RS_Undo

Author:
Andrew Mustun


Constructor & Destructor Documentation

RS_UndoCycle::RS_UndoCycle  )  [inline]
 

Parameters:
type Type of undo item.


Member Function Documentation

void RS_UndoCycle::addUndoable RS_Undoable u  )  [inline]
 

Adds an Undoable to this Undo Cycle.

Every Cycle can contain one or more Undoables.


The documentation for this class was generated from the following file:
Generated on Sat Jan 6 13:48:23 2007 for qcadlib by  doxygen 1.4.4