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

Description

An undoable action for replacing one node with another.

Public Member Functions

 VuoCommandReplaceNode (VuoRendererNode *oldNode, VuoRendererNode *newNode, VuoEditorComposition *composition, string commandDescription="Replace Node")
 Creates a command for replacing a node within a composition.
 
int id () const
 Returns the ID of this command.
 
void undo ()
 Restores the original node and its connected cables.
 
void redo ()
 Replaces the oldNode with the newNode, re-wiring any connected cables to connect to ports of the same name belonging to the new node.
 

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