Bugzilla – Bug 32
Add a Simulation::CancelByClassPointer (T *classInstance) method
Last modified: 2011-01-26 22:05:15 EST
That method should be able to cancel all events which are expected to forward expiration to a method of the input class instance. Maybe we need a RemoveByClassPointer method too.
My EventCollectorClass in [1] tris to solve this problem in a different way. http://code.nsnam.org/gjc/ns-3-olsr-support/file/190372a33951/src/simulator/event-collector.h
not a blocker (enhancement)
Like I needed create and erase the nodes during the simulation. I modified the Simulator Class to cancel the events by context.