Bug 32

Summary: Add a Simulation::CancelByClassPointer (T *classInstance) method
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: coreAssignee: Mathieu Lacage <mathieu.lacage>
Status: NEW ---    
Severity: enhancement CC: fabian.astudillo.salinas, gjcarneiro, ns-bugs
Priority: P3    
Version: pre-release   
Hardware: PC   
OS: Linux   

Description Mathieu Lacage 2007-05-31 09:38:54 EDT
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.
Comment 1 Gustavo J. A. M. Carneiro 2007-08-02 10:11:45 EDT
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
Comment 2 Tom Henderson 2008-06-05 10:53:18 EDT
not a blocker (enhancement)
Comment 3 Fabian Astudillo 2011-01-26 22:05:15 EST
Like I needed create and erase the nodes during the simulation. I modified the Simulator Class to cancel the events by context.