NetAnim minor comments
authorJohn Abraham <john.abraham@gatech.edu>
Wed, 17 Aug 2011 12:52:06 -0400
changeset 7443 32635b529440
parent 7442 7fbcc8eb8679
child 7444 075e6cbaa9d9
NetAnim minor comments
src/netanim/examples/dumbbell-animation.cc
src/netanim/examples/grid-animation.cc
src/netanim/examples/star-animation.cc
src/netanim/model/animation-interface.cc
--- a/src/netanim/examples/dumbbell-animation.cc	Wed Aug 17 12:31:34 2011 -0400
+++ b/src/netanim/examples/dumbbell-animation.cc	Wed Aug 17 12:52:06 2011 -0400
@@ -106,6 +106,9 @@
     {
       anim.SetOutputFile (animFile);
     }
+
+  // Uncomment the below statement to generate Animation trace in XML 
+  // anim.SetXMLOutput ();
   anim.StartAnimation ();
 
   // Set up the acutal simulation
--- a/src/netanim/examples/grid-animation.cc	Wed Aug 17 12:31:34 2011 -0400
+++ b/src/netanim/examples/grid-animation.cc	Wed Aug 17 12:52:06 2011 -0400
@@ -94,6 +94,8 @@
     {
       anim.SetOutputFile (animFile);
     }
+  // Uncomment the below statement to generate Animation trace in XML 
+  // anim.SetXMLOutput ();
   anim.StartAnimation ();
 
   // Set up the actual simulation
--- a/src/netanim/examples/star-animation.cc	Wed Aug 17 12:31:34 2011 -0400
+++ b/src/netanim/examples/star-animation.cc	Wed Aug 17 12:52:06 2011 -0400
@@ -126,6 +126,8 @@
     {
       anim.SetOutputFile (animFile);
     }
+  // Uncomment the below statement to generate Animation trace in XML 
+  // anim.SetXMLOutput ();
   anim.StartAnimation ();
 
   NS_LOG_INFO ("Run Simulation.");
--- a/src/netanim/model/animation-interface.cc	Wed Aug 17 12:31:34 2011 -0400
+++ b/src/netanim/model/animation-interface.cc	Wed Aug 17 12:52:06 2011 -0400
@@ -695,6 +695,11 @@
     * id = Node Id\n\
     * locX = X coordinate\n\
     * locY = Y coordinate\n\
+    link\n\
+    * fromLp = From logical processor Id\n\
+    * fromId = From Node Id\n\
+    * toLp   = To logical processor Id\n\
+    * toId   = To Node Id\n\
     packet\n\
     * fromLp = From logical processor Id\n\
     * fbTx = First bit transmit time\n\