src/helper/node-container.h
changeset 6113 0ce37bf4f1c1
parent 6013 fa3ab7f34eb2
child 6273 8d70de29d514
equal deleted inserted replaced
6112:57ee810f08f3 6113:0ce37bf4f1c1
   235    * \param n The number of Nodes to create
   235    * \param n The number of Nodes to create
   236    */
   236    */
   237   void Create (uint32_t n);
   237   void Create (uint32_t n);
   238 
   238 
   239   /**
   239   /**
       
   240    * \brief Create n nodes with specifiec systemId for distributed simulations 
       
   241    * and append pointers to them to the end of this NodeContainer.
       
   242    *
       
   243    * Nodes are at the heart of any ns-3 simulation.  One of the first tasks that
       
   244    * any simulation needs to do is to create a number of nodes.  This method
       
   245    * automates that task, and adds the ability to specifiy systemId for 
       
   246    * distributed simulations.
       
   247    *
       
   248    * \param n The number of Nodes to create
       
   249    * \param systemId The system id or rank associated with this node
       
   250    */
       
   251   void Create (uint32_t n, uint32_t systemId);
       
   252 
       
   253   /**
   240    * \brief Append the contents of another NodeContainer to the end of
   254    * \brief Append the contents of another NodeContainer to the end of
   241    * this container.
   255    * this container.
   242    *
   256    *
   243    * \param other The NodeContainer to append.
   257    * \param other The NodeContainer to append.
   244    */
   258    */