Class Denm
java.lang.Object
org.eclipse.mosaic.lib.objects.v2x.V2xMessage
org.eclipse.mosaic.lib.objects.v2x.etsi.Denm
- All Implemented Interfaces:
Serializable,Identifiable
Decentralized Environment Notification Message.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.mosaic.lib.objects.v2x.V2xMessage
V2xMessage.Empty, V2xMessage.Simple -
Constructor Summary
ConstructorsConstructorDescriptionDenm(MessageRouting routing, DenmContent denmContent, long minimalPayloadLength) Denm(MessageRouting routing, Denm denm, long minimalPayloadLength) -
Method Summary
Modifier and TypeMethodDescriptionfloatTODO: Add the Unit.Returns the area of the event.Returns the cause of the warning event.Returns the location of the event.Returns the identifier of the road on which the sender is located.Returns the extended container.Returns theEncodedPayload.floatTODO: Add the Unit.Returns the coordinates of the sending node.longgetTime()Returns the time.Methods inherited from class org.eclipse.mosaic.lib.objects.v2x.V2xMessage
equals, getId, getRouting, getSequenceNumber, getSimpleClassName, hashCode, setSequenceNumber, toString
-
Constructor Details
-
Denm
-
Denm
-
-
Method Details
-
getPayload
Description copied from class:V2xMessageReturns theEncodedPayload.- Specified by:
getPayloadin classV2xMessage- Returns:
- the
EncodedPayloadof this message
-
getTime
public long getTime()Returns the time. Unit: [ns].- Returns:
- the time. Unit: [ns].
-
getSenderPosition
Returns the coordinates of the sending node.- Returns:
- the coordinate.
-
getEventRoadId
Returns the identifier of the road on which the sender is located.- Returns:
- the identifier.
-
getEventCause
Returns the cause of the warning event.- Returns:
- the cause of the warning event.
-
getCausedSpeed
public float getCausedSpeed()TODO: Add the Unit. Unit: [???]. Returns the resulting speed because of the event.- Returns:
- the resulting speed.
-
getSenderDeceleration
public float getSenderDeceleration()TODO: Add the Unit. Unit: [???].- Returns:
-
getEventLocation
Returns the location of the event.- Returns:
- the coordinate.
-
getEventArea
Returns the area of the event.- Returns:
- a list of coordinates.
-
getExtendedContainer
Returns the extended container.- Returns:
- the additional information.
-