next up previous
Next: Querying an entity's class Up: Entities and Events Previous: Receiving events and advancing

Minimum output delay

The entity's minimum output delay is available using getMinOutputDelay(); this will be the minimum delay on any of its output ports, or if there are no output connections, a positive value determined by the kernel. This output delay is imposed on every kernel request the entity makes (i.e. responses to queries, requests to construct and link other entities). If this is not acceptable to the model, the output delay can be zeroed using zeroOutputDelay(), and then unzeroed using resetOutputDelay(). For example, to perform a sequence of queries/responses/new queries at a specific instant of time while a simulation is running, zero the output delay of the population concerned, perform the updates/queries, then reset the output delay. See section 10 for more details of timing issues.

Fred Howell