Vuo
0.4.3
|
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. | |