Bug 32 - Add a Simulation::CancelByClassPointer (T *classInstance) method
Add a Simulation::CancelByClassPointer (T *classInstance) method
Status: NEW
Product: ns-3
Classification: Unclassified
Component: core
PC Linux
: P3 enhancement
Assigned To: Mathieu Lacage
Depends on:
  Show dependency treegraph
Reported: 2007-05-31 09:38 EDT by Mathieu Lacage
Modified: 2011-01-26 22:05 EST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.

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.