Vuo  0.4.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
VuoCommandAdd Class Reference


An undoable action for adding nodes and cables to the composition.

Public Member Functions

 VuoCommandAdd (QList< QGraphicsItem * > addedComponents, VuoEditorComposition *composition, string commandDescription="Add")
 Creates a command for adding the given nodes and cables.
int id () const
 Returns the ID of this command.
void undo ()
 Removes the added nodes and cables.
void redo ()
 Adds the nodes and cables.

The documentation for this class was generated from the following files: