-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EHTrafficLight implements Parcelable
This structure defines the traffic light information.
-
-
Field Summary
Fields Modifier and Type Field Description private final FloatoffsetFromLinkStartprivate final SignalSignLocationlocationprivate final List<VehicleType>vehicleTypesprivate final EHTimeValidityvalidity
-
Constructor Summary
Constructors Constructor Description EHTrafficLight(Float offsetFromLinkStart, SignalSignLocation location, List<VehicleType> vehicleTypes, EHTimeValidity validity)
-
Method Summary
Modifier and Type Method Description final FloatgetOffsetFromLinkStart()The distance from the start point of the link to the traffic light location, unit: meter. final SignalSignLocationgetLocation()The location of the traffic light. final List<VehicleType>getVehicleTypes()The vehicle types of the traffic light applied to. final EHTimeValiditygetValidity()The time validity attribute. -
-
Constructor Detail
-
EHTrafficLight
EHTrafficLight(Float offsetFromLinkStart, SignalSignLocation location, List<VehicleType> vehicleTypes, EHTimeValidity validity)
-
-
Method Detail
-
getOffsetFromLinkStart
final Float getOffsetFromLinkStart()
The distance from the start point of the link to the traffic light location, unit: meter. Default value is Float.MAX_VALUE which indicates invalid value.
-
getLocation
final SignalSignLocation getLocation()
The location of the traffic light.
-
getVehicleTypes
final List<VehicleType> getVehicleTypes()
The vehicle types of the traffic light applied to.
-
getValidity
final EHTimeValidity getValidity()
The time validity attribute.
-
-
-
-