next up previous contents
Next: The lpIdle flag Up: Data of the LogicalProcess Previous: Manager classes

simArray

The simArray is an array of objectRecords. This array is used both by the LP and by individual simulation objects to access (other) simulation objects. For instance, to call the simulate() function in simulation object number 2, the following line of code could be used: simArray[2].ptr->simulate();

Note that for objects that aren't local to the LP, the pointer in the simArray entry points to the CommManager, for reasons discussed in the section on TimeWarp.

Any function that is publicly available in TimeWarp can be accessed through the LP's simArray.



Philip A. Wilsey
1/26/1998