Class InductionLoopDetectorSubscription
java.lang.Object
org.eclipse.mosaic.rti.api.Interaction
org.eclipse.mosaic.interactions.traffic.InductionLoopDetectorSubscription
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Interaction>
This extension of
Interaction is sent when a unit wants to subscribe for data of a SUMO induction loop.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringString identifying the type of this interaction.Fields inherited from class org.eclipse.mosaic.rti.api.Interaction
time -
Constructor Summary
ConstructorsConstructorDescriptionInductionLoopDetectorSubscription(long time, String inductionLoopId) Creates a new interaction that subscribes for data of a SUMO induction loop. -
Method Summary
Methods inherited from class org.eclipse.mosaic.rti.api.Interaction
compareTo, createTypeIdentifier, getId, getSenderId, getTime, getTypeId, setSenderId
-
Field Details
-
TYPE_ID
String identifying the type of this interaction.
-
-
Constructor Details
-
InductionLoopDetectorSubscription
Creates a new interaction that subscribes for data of a SUMO induction loop.- Parameters:
time- Timestamp of this interaction, unit: [ns]inductionLoopId- induction loop identifier
-
-
Method Details
-
getInductionLoopId
-
hashCode
public int hashCode()- Overrides:
hashCodein classInteraction
-
equals
- Overrides:
equalsin classInteraction
-
toString
- Overrides:
toStringin classInteraction
-