org.mitre.sim.api3
Class SimEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.mitre.sim.api3.SimEvent
All Implemented Interfaces:
java.io.Serializable

public class SimEvent
extends java.util.EventObject

Event Class used by PeriodicEntity to signal the passage of simulation time.


Copyright © 2003-2004 The MITRE Corporation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SimEvent(PeriodicEntity pe, double time)
           
 
Method Summary
 double getTime()
          Returns the simulation time at which the event occurred.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimEvent

public SimEvent(PeriodicEntity pe,
                double time)
Method Detail

getTime

public double getTime()
Returns the simulation time at which the event occurred.

Returns:
Simulation time of this event.