Bug 603

Summary: Simulator::Next is useless
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mathieu.lacage, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Bug Depends on: 631    
Bug Blocks:    

Description Mathieu Lacage 2009-06-23 09:17:07 EDT
I would like to kill this method: no one uses it and I have spent a good amount of time searching my archives: no one ever used it outside of yans
Comment 1 Mathieu Lacage 2009-07-13 03:28:05 EDT
while removing this code, I realized that the realtime simulator implementation actually documents that ::Next is supposed to be used by users of Simulator::RunOne. Although we have no such user for now, I am marking this bug as dependent on bug 631. 
Comment 2 Mathieu Lacage 2009-11-23 09:33:23 EST
I am going to mark this method as deprecated and remove it in 3.8
Comment 3 Mathieu Lacage 2012-03-26 08:04:11 EDT
changeset: 369bf20998e8
Comment 4 Tom Henderson 2012-03-28 08:47:36 EDT
MPI depends on it:
[ 824/1729] cxx: src/mpi/model/distributed-simulator-impl.cc -> build/src/mpi/model/distributed-simulator-impl.cc.1.o
../src/mpi/model/distributed-simulator-impl.cc: In member function ‘virtual void ns3::DistributedSimulatorImpl::Run()’:
../src/mpi/model/distributed-simulator-impl.cc:264:29: error: ‘Next’ was not declared in this scope
Comment 5 Mathieu Lacage 2012-03-28 09:03:22 EDT
I simply have no way to build that code so I pushed a tentative fix. changeset: 941d5f5910a5