equal
deleted
inserted
replaced
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 |