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

Description

An undoable action for connecting a cable to a port.

Public Member Functions

 VuoCommandConnect (VuoRendererCable *cableInProgress, VuoRendererPort *targetPort, VuoRendererCable *displacedCable, VuoRendererPort *portToUnpublish, VuoEditorComposition *composition)
 Creates a command for connecting a cable to a port.
 
int id () const
 Returns the ID of this command.
 
void undo ()
 Disconnects the connected cable, restoring any cables that were previously connected to the port.
 
void redo ()
 Connects the cable, displacing any cables currently connected to the port.
 

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