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
-
Constructor Summary
ConstructorsConstructorDescriptionDenm
(MessageRouting routing, DenmContent denmContent, long minimalPayloadLength) Denm
(MessageRouting routing, Denm denm, long minimalPayloadLength) -
Method Summary
Modifier and TypeMethodDescriptionfloat
TODO: Add the Unit.Returns the area of the event.Returns the location of the event.Returns the identifier of the road on which the sender is located.int
TODO: Add the Unit.Returns the extended container.Returns theEncodedPayload
.float
TODO: Add the Unit.Returns the coordinates of the sending node.long
getTime()
Returns the time.Returns the type of the warning.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:V2xMessage
Returns theEncodedPayload
.- Specified by:
getPayload
in classV2xMessage
- Returns:
- the
EncodedPayload
of 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.
-
getWarningType
Returns the type of the warning.- Returns:
- the type of the warning.
-
getEventStrength
public int getEventStrength()TODO: Add the Unit. Unit: [???]. Returns the strength of the causing event.- Returns:
- the strength.
-
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.
-