View Javadoc
1   /**
2    * 
3    */
4   package org.opentrafficsim.water;
5   
6   import java.io.Serializable;
7   
8   import nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface;
9   
10  /**
11   * Interface for a dynamic object. A dynamic object can locate the simulator.
12   * <p>
13   * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
14   * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
15   * </p>
16   * <p>
17   * Based on software from the IDVV project, which is Copyright (c) 2013 Rijkswaterstaat - Dienst Water, Verkeer en Leefomgeving
18   * and licensed without restrictions to Delft University of Technology, including the right to sub-license sources and derived
19   * products to third parties.
20   * </p>
21   * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
22   * initial version Nov 6, 2016 <br>
23   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
24   */
25  public interface Dynamic extends Serializable
26  {
27      /** @return the simulator we can schedule stuff on */
28      DEVSSimulatorInterface.TimeDoubleUnit getSimulator();
29  }