34 static const int commandID;
37 string revertedSnapshot;
38 string updatedSnapshot;
41 bool operationInvolvesGenericPort;
45 map<VuoPort *, VuoPort *> updatedPortForOriginalPort;
47 set<VuoCable *> incomingCables;
48 set<VuoCable *> outgoingCables;
49 vector<VuoRendererNode *> collapsedTypecasts;
50 map<VuoRendererNode *, set<VuoCable *> > incomingCablesForTypecast;
51 map<VuoRendererNode *, VuoPort *> hostPortForTypecast;
52 vector<pair<VuoPort *, VuoPublishedPort *> > revertedPublishedInternalExternalPortCombinations;
53 vector<pair<VuoPort *, VuoPublishedPort *> > updatedPublishedInternalExternalPortCombinations;
54 map<VuoRendererNode *, vector<pair<VuoPort *, VuoPublishedPort *> > > publishedInternalExternalPortCombinationsForTypecast;
55 map<pair<VuoPort *, VuoPublishedPort *>,
bool> publishedConnectionCarriedData;
56 map<VuoCable *, VuoPort *> originalFromPortForCable;
57 map<VuoCable *, VuoPort *> originalToPortForCable;
58 map<VuoPort *, string> constantValueForOriginalPort;
60 void createAllMappings();
61 void createAllPortMappings();
62 void createSwappedNodePortMappings();
63 void removeStrandedAttachments();
65 void createNecessaryAttachments();