src/network/model/node-list.cc
changeset 9703 681f35b212ff
parent 9144 6a15c50388bc
child 10410 4d4eb8097fa3
equal deleted inserted replaced
9702:552d0701ee4e 9703:681f35b212ff
   127 NodeListPriv::Add (Ptr<Node> node)
   127 NodeListPriv::Add (Ptr<Node> node)
   128 {
   128 {
   129   NS_LOG_FUNCTION (this << node);
   129   NS_LOG_FUNCTION (this << node);
   130   uint32_t index = m_nodes.size ();
   130   uint32_t index = m_nodes.size ();
   131   m_nodes.push_back (node);
   131   m_nodes.push_back (node);
   132   Simulator::ScheduleWithContext (index, TimeStep (0), &Node::Start, node);
   132   Simulator::ScheduleWithContext (index, TimeStep (0), &Node::Initialize, node);
   133   return index;
   133   return index;
   134 
   134 
   135 }
   135 }
   136 NodeList::Iterator 
   136 NodeList::Iterator 
   137 NodeListPriv::Begin (void) const
   137 NodeListPriv::Begin (void) const