nl.tudelft.simulation.dsol.simulators
Interface AnimatorInterface
- All Superinterfaces:
- DESSSimulatorInterface, DEVDESSSimulatorInterface, DEVSSimulatorInterface, nl.tudelft.simulation.event.EventProducerInterface, java.rmi.Remote, java.io.Serializable, SimulatorInterface
- All Known Implementing Classes:
- Animator
- public interface AnimatorInterface
- extends DEVDESSSimulatorInterface
The AnimatorInterface defines a DEVSDESS simulator with wallclock delay
between the consequtive time steps.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
- Since:
- 1.0
- Version:
- 1.10 2004-03-26
- Author:
- Peter
Jacobs
|
Field Summary |
static nl.tudelft.simulation.event.EventType |
ANIMATION_DELAY_CHANGED_EVENT
ANIMATION_DELAY_CHANGED_EVENT is fired when the time step is set |
static long |
DEFAULT_ANIMATION_DELAY
DEFAULT_ANIMATION_DELAY of 0 miliseconds used in the animator |
static nl.tudelft.simulation.event.EventType |
UPDATE_ANIMATION_EVENT
UPDATE_ANIMATION_EVENT is fired to wake up animatable components |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
addListener, addListener, addListener, addListener, getEventTypes, removeListener |
DEFAULT_ANIMATION_DELAY
public static final long DEFAULT_ANIMATION_DELAY
- DEFAULT_ANIMATION_DELAY of 0 miliseconds used in the animator
- See Also:
- Constant Field Values
UPDATE_ANIMATION_EVENT
public static final nl.tudelft.simulation.event.EventType UPDATE_ANIMATION_EVENT
- UPDATE_ANIMATION_EVENT is fired to wake up animatable components
ANIMATION_DELAY_CHANGED_EVENT
public static final nl.tudelft.simulation.event.EventType ANIMATION_DELAY_CHANGED_EVENT
- ANIMATION_DELAY_CHANGED_EVENT is fired when the time step is set
getAnimationDelay
public long getAnimationDelay()
throws java.rmi.RemoteException
- returns the animation delay between each consequtive timestep
- Returns:
- the animaiton delay in milliseconds wallclock
- Throws:
java.rmi.RemoteException - on network failure
setAnimationDelay
public void setAnimationDelay(long miliseconds)
throws java.rmi.RemoteException
- sets the animationDelay
- Parameters:
miliseconds - the animation delay
- Throws:
java.rmi.RemoteException - on network failure
Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.