next up previous contents index
Next: 32.2.1.0.1 Exponential Up: 32.2 The Internal Architecture Previous: 32.2 The Internal Architecture   Contents   Index


32.2.1 The class rtModel

To use a new route model, the routine []rtmodel creates an instance of the appropriate type, defines the node or link that the model will operate upon, configures the model, and possibly enables tracing; The individual instance procedures that accomplish this in pieces are:

The next sequence of configuration steps are taken just prior to the start of the simulator. ns invokes []rtmodel-configure../ns-2/dynamics.tclSimulator::rtmodel-configure just before starting the simulation. This instance procedure first acquires an instance of the class rtQueue, and then invokes []configure for each route model in its list, rtModel_.



Subsections
next up previous contents index
Next: 32.2.1.0.1 Exponential Up: 32.2 The Internal Architecture Previous: 32.2 The Internal Architecture   Contents   Index
2008-12-02