Package dispatch
Class AbstractEvent
- java.lang.Object
-
- dispatch.AbstractEvent
-
- All Implemented Interfaces:
InterfaceEvent,Comparable<AbstractEvent>
- Direct Known Subclasses:
AbstractScenarioEvent,EventAdvanceSignalPhase,EventComputeTravelTime,EventCreateVehicle,EventDemandChange,EventFluidModelUpdate,EventFluidStateUpdate,EventInitializeController,EventPoke,EventReleaseVehicleFromLaneGroup,EventSplitChange,EventStopSimulation,EventTimedWrite,EventTransitToWaiting,EventUpdateTotalCellVehicles,EventUpdateTotalCellVehiclesDwn,EventUpdateTotalLanegroupVehicles,EventUpdateTotalLanegroupVehiclesDwn,EventUpdateTotalLinkVehicles
public abstract class AbstractEvent extends Object implements InterfaceEvent, Comparable<AbstractEvent>
-
-
Field Summary
Fields Modifier and Type Field Description intdispatch_orderDispatcherdispatcherObjectrecipientfloattimestamp
-
Constructor Summary
Constructors Constructor Description AbstractEvent(Dispatcher dispatcher, int dispatch_order, float timestamp, Object recipient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AbstractEvent that)StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface dispatch.InterfaceEvent
action
-
-
-
-
Field Detail
-
dispatcher
public Dispatcher dispatcher
-
timestamp
public float timestamp
-
recipient
public Object recipient
-
dispatch_order
public int dispatch_order
-
-
Constructor Detail
-
AbstractEvent
public AbstractEvent(Dispatcher dispatcher, int dispatch_order, float timestamp, Object recipient)
-
-
Method Detail
-
compareTo
public int compareTo(AbstractEvent that)
- Specified by:
compareToin interfaceComparable<AbstractEvent>
-
-