- Timestamp:
- Mar 23, 2011, 10:02:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r8620 r9693 62 62 namespace overlay { 63 63 64 #define visual 64 #define visualInstance ariba::utility::DddVis::instance() 65 65 #define visualIdOverlay ariba::utility::ServerVis::NETWORK_ID_BASE_OVERLAY 66 66 #define visualIdBase ariba::utility::ServerVis::NETWORK_ID_BASE_COMMUNICATION … … 900 900 //ovl.visShutdown( ovlId, nodeId, string("") ); 901 901 902 visual .visShutdown(visualIdOverlay, nodeId, "");903 visual .visShutdown(visualIdBase, nodeId, "");902 visualInstance.visShutdown(visualIdOverlay, nodeId, ""); 903 visualInstance.visShutdown(visualIdBase, nodeId, ""); 904 904 905 905 // inform all registered services of the event … … 933 933 } 934 934 935 visual .visCreate(visualIdBase, nodeId, "", "");936 visual .visCreate(visualIdOverlay, nodeId, "", "");935 visualInstance.visCreate(visualIdBase, nodeId, "", ""); 936 visualInstance.visCreate(visualIdOverlay, nodeId, "", ""); 937 937 } 938 938 … … 1983 1983 1984 1984 if(pre != NodeID::UNSPECIFIED){ 1985 visual .visDisconnect(visualIdOverlay, this->nodeId, pre, "");1985 visualInstance.visDisconnect(visualIdOverlay, this->nodeId, pre, ""); 1986 1986 pre = NodeID::UNSPECIFIED; 1987 1987 } 1988 1988 if(suc != NodeID::UNSPECIFIED){ 1989 visual .visDisconnect(visualIdOverlay, this->nodeId, suc, "");1989 visualInstance.visDisconnect(visualIdOverlay, this->nodeId, suc, ""); 1990 1990 suc = NodeID::UNSPECIFIED; 1991 1991 } … … 2001 2001 pre = nodes.at(0); 2002 2002 if(pre != NodeID::UNSPECIFIED) 2003 visual .visConnect(visualIdOverlay, this->nodeId, pre, "");2003 visualInstance.visConnect(visualIdOverlay, this->nodeId, pre, ""); 2004 2004 } 2005 2005 } … … 2010 2010 if(nodes.at(0) != pre){ 2011 2011 if(pre != NodeID::UNSPECIFIED) 2012 visual .visDisconnect(visualIdOverlay, this->nodeId, pre, "");2012 visualInstance.visDisconnect(visualIdOverlay, this->nodeId, pre, ""); 2013 2013 pre = NodeID::UNSPECIFIED; 2014 2014 } 2015 2015 if(nodes.at(1) != suc){ 2016 2016 if(suc != NodeID::UNSPECIFIED) 2017 visual .visDisconnect(visualIdOverlay, this->nodeId, suc, "");2017 visualInstance.visDisconnect(visualIdOverlay, this->nodeId, suc, ""); 2018 2018 suc = NodeID::UNSPECIFIED; 2019 2019 } … … 2023 2023 pre = nodes.at(0); 2024 2024 if(pre != NodeID::UNSPECIFIED) 2025 visual .visConnect(visualIdOverlay, this->nodeId, pre, "");2025 visualInstance.visConnect(visualIdOverlay, this->nodeId, pre, ""); 2026 2026 } 2027 2027 if(suc == NodeID::UNSPECIFIED){ 2028 2028 suc = nodes.at(1); 2029 2029 if(suc != NodeID::UNSPECIFIED) 2030 visual .visConnect(visualIdOverlay, this->nodeId, suc, "");2030 visualInstance.visConnect(visualIdOverlay, this->nodeId, suc, ""); 2031 2031 } 2032 2032 … … 2086 2086 BOOST_FOREACH(NodeID n, linkset){ 2087 2087 if(remotenodes.find(n) == remotenodes.end()){ 2088 visual .visDisconnect(visualIdBase, this->nodeId, n, "");2088 visualInstance.visDisconnect(visualIdBase, this->nodeId, n, ""); 2089 2089 linkset.erase(n); 2090 2090 changed = true; … … 2099 2099 BOOST_FOREACH(NodeID n, remotenodes){ 2100 2100 if(linkset.find(n) == linkset.end()){ 2101 visual .visConnect(visualIdBase, this->nodeId, n, "");2101 visualInstance.visConnect(visualIdBase, this->nodeId, n, ""); 2102 2102 linkset.insert(n); 2103 2103 changed = true;
Note:
See TracChangeset
for help on using the changeset viewer.