Package org.planit.ltm.event
Class TriggerEvent
- java.lang.Object
-
- org.djutils.event.Event
-
- org.planit.ltm.event.CumulativeEvent
-
- org.planit.ltm.event.TriggerEvent
-
- All Implemented Interfaces:
Serializable,org.djutils.event.EventInterface
- Direct Known Subclasses:
TriggerFlowEvent
public abstract class TriggerEvent extends CumulativeEvent
A trigger event emanates from a link boundary (its source) with a particular cumulative value and time and potentially other information which should be constructed by subclassing this class- Author:
- markr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTriggerEvent(org.djutils.event.EventType type, LinkSegmentBoundary linkBoundarySource, CumulativePoint cumulativePoint, Serializable singleParameter)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkSegmentBoundarygetLinkBoundary()-
Methods inherited from class org.planit.ltm.event.CumulativeEvent
generateEventId, getCumulativePoint, getEventContentByIndex, getId, setEventContentByIndex
-
-
-
-
Constructor Detail
-
TriggerEvent
protected TriggerEvent(org.djutils.event.EventType type, LinkSegmentBoundary linkBoundarySource, CumulativePoint cumulativePoint, Serializable singleParameter)Constructor- Parameters:
type- the trigger event typelinkBoundarySource- , the source of each trigger is a link boundarycumulativePoint- the cumulative reference pointsingleParameter- additional parameter
-
-
Method Detail
-
getLinkBoundary
public LinkSegmentBoundary getLinkBoundary()
- Returns:
- the link boundary this event emanates from, i.e., the source
-
-