src/netanim/model/animation-interface.h
changeset 7476 2761997c72b2
parent 7454 e1bbc514be33
child 7484 cd2d8cd79237
--- a/src/netanim/model/animation-interface.h	Sat Sep 03 22:29:56 2011 -0400
+++ b/src/netanim/model/animation-interface.h	Wed Sep 07 10:40:15 2011 -0400
@@ -149,6 +149,15 @@
   void SetMobilityPollInterval (Time t);
 
   /**
+   * \brief Set random position if a Mobility Model does not exists for the node
+   *
+   * \param setRandPos True if a random position can be set for a node without a
+   * Mobililty model
+   *
+   */
+  void SetRandomPosition (bool setRandPos);
+
+  /**
    * \brief typedef for WriteCallBack used for listening to AnimationInterface
    * write messages
    * 
@@ -239,6 +248,7 @@
   void RecalcTopoBounds (Vector v);
   std::vector < Ptr <Node> > RecalcTopoBounds ();
 
+  bool randomPosition;
   AnimWriteCallback m_writeCallback;
 
   // Path helper