Helper functions for undoable actions.
|
static void | addCable (VuoRendererCable *rc, map< VuoRendererCable *, VuoPort * > &fromPortForCable, map< VuoRendererCable *, VuoPort * > &toPortForCable, VuoEditorComposition *composition) |
| Helper function for VuoCommandAdd::redo() and VuoCommandRemove::undo().
|
|
static void | removeCable (VuoRendererCable *rc, VuoEditorComposition *composition) |
| Helper function for VuoCommandRemove::redo() and VuoCommandAdd::undo().
|
|
static void | updateCable (VuoRendererCable *rc, map< VuoRendererCable *, VuoPort * > &fromPortForCable, map< VuoRendererCable *, VuoPort * > &toPortForCable, VuoEditorComposition *composition) |
| Helper function for VuoCommandConnect::redo(), VuoCommandConnect::undo(), VuoCommandRemove::redo(), and VuoCommandRemove::undo().
|
|
static VuoPublishedPort * | publishInternalPort (VuoPort *internalPort, string publishedPortName, bool merge, VuoEditorComposition *composition) |
| Publishes the internalPort under externally visible name publishedPortName , or under a derived name if an externally visible published port with that name already exists and merge is set to false.
|
|
static void | publishInternalExternalPortCombination (VuoPort *internalPort, VuoPublishedPort *externalPort, VuoEditorComposition *composition) |
| Publishes the internalPort in association with pre-existing externally visible published port externalPort .
|
|
static void | unpublishInternalPort (VuoPort *internalPort, VuoEditorComposition *composition) |
| Unpublishes the given internalPort in association with any and all externally visible published ports acting as its alias.
|
|
static void | unpublishInternalExternalPortCombination (VuoPort *internalPort, VuoPublishedPort *externalPort, VuoEditorComposition *composition) |
| Unpublishes the given internalPort in association with externally visible published port externalPort .
|
|