next up previous contents index
Next: 25.2.2 rtQueue../ns-2/dynamics.tcl Up: 25.2.1 The class rtModel Previous: 25.2.1.0.3 Trace

25.2.1.0.4 Manual

The model is designed to fire exactly once. The instance procedure []set-parms../ns-2/dynamics.tclrtModel/Manual::set-parms takes an operation and the time to execute that operation as arguments. []set-first-event../ns-2/dynamics.tclrtModel/Manual::set-first-event will schedule the event at the appropriate moment.

This routine also redefines []notify../ns-2/dynamics.tclrtModel/Manual::notify to delete the object instance when the operation is completed. This notion of the object deleting itself is fragile code.

Since the object only fires once and does nto have to be rescheduled, it does not overload the procedures []up or []down.




2000-08-24