Class Cam
java.lang.Object
org.eclipse.mosaic.lib.objects.v2x.V2xMessage
org.eclipse.mosaic.lib.objects.v2x.etsi.Cam
- All Implemented Interfaces:
Serializable
,Identifiable
Cooperative Awareness Message (CAM) are status information messages about the traffic flow
that is shared between simulation entities (vehicles, roadside units (RSU) or traffic control centre).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.mosaic.lib.objects.v2x.V2xMessage
V2xMessage.Empty
-
Constructor Summary
ConstructorsConstructorDescriptionCam
(MessageRouting routing, CamContent camContent, long minimalPayloadLength) Creates a newMessageRouting
object.Cam
(MessageRouting routing, Cam cam, long minimalCamLength) -
Method Summary
Methods inherited from class org.eclipse.mosaic.lib.objects.v2x.V2xMessage
equals, getId, getRouting, getSequenceNumber, getSimpleClassName, hashCode, setSequenceNumber, toString
-
Constructor Details
-
Cam
Creates a newMessageRouting
object.- Parameters:
routing
- Message to be routed.camContent
- Content of a CAM Message.
-
Cam
-
-
Method Details
-
getPayload
Description copied from class:V2xMessage
Returns theEncodedPayload
.- Specified by:
getPayload
in classV2xMessage
- Returns:
- the
EncodedPayload
of this message
-
getGenerationTime
public long getGenerationTime() -
getUnitID
-
getPosition
-
getUserTaggedValue
@Nullable public byte[] getUserTaggedValue() -
getAwarenessData
-