33.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.



Tom Henderson 2014-12-17