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<VuoCable *, bool> cableCarriedData;
59 map<VuoPort *, string> constantValueForOriginalPort;
61 void createAllMappings();
62 void createAllPortMappings();
63 void createSwappedNodePortMappings();
64 void removeStrandedAttachments();
66 void createNecessaryAttachments();