@Deprecated public abstract class AbstractDelayedPerceptionCategory extends LaneBasedAbstractPerceptionCategory implements LaneBasedPerceptionCategory
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractDelayedPerceptionCategory.DelayedInfoType<T>
Deprecated.
Superclass for delayed info.
|
MAX_RED_DECELERATION, MAX_YELLOW_DECELERATION| Constructor and Description |
|---|
AbstractDelayedPerceptionCategory(LanePerception perception)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeLane(LateralDirectionality dir)
Deprecated.
Move data coupled to a lane to another lane to account for a lane change.
|
<T> TimeStampedObject<T> |
getInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType)
Deprecated.
Returns the most recent info of the given type, that is older than the delay.
|
<T> TimeStampedObject<T> |
getInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType,
RelativeLane lane)
Deprecated.
Returns the most recent info of the given type, that is older than the delay.
|
<T> void |
setInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType,
RelativeLane lane,
TimeStampedObject<T> info)
Deprecated.
Set info of given delayed info type, pertaining to a lane.
|
<T> void |
setInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType,
TimeStampedObject<T> info)
Deprecated.
Set info of given delayed info type, not pertaining to any lane.
|
computeIfAbsent, computeIfAbsent, computeIfAbsentgetGtu, getObjectOrNull, getPerception, getTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateAllpublic AbstractDelayedPerceptionCategory(LanePerception perception)
perception - LanePerception; perceptionpublic final <T> void setInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType, TimeStampedObject<T> info)
T - data type of delayed infodelayedInfoType - DelayedInfoType<T>; info typeinfo - TimeStampedObject<T>; infopublic final <T> void setInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType, RelativeLane lane, TimeStampedObject<T> info)
T - data type of delayed infodelayedInfoType - DelayedInfoType<T>; info typelane - RelativeLane; lane, may be nullinfo - TimeStampedObject<T>; infopublic final <T> TimeStampedObject<T> getInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType) throws PerceptionException
T - data type of the info typedelayedInfoType - DelayedInfoType<T>; info typePerceptionException - if info was not perceivedpublic final <T> TimeStampedObject<T> getInfo(AbstractDelayedPerceptionCategory.DelayedInfoType<T> delayedInfoType, RelativeLane lane) throws PerceptionException
T - data type of the info typedelayedInfoType - DelayedInfoType<T>; info typelane - RelativeLane; lane the data pertains to, may be nullPerceptionException - if info was not perceivedpublic final void changeLane(LateralDirectionality dir)
dir - LateralDirectionality; direction of lane changeCopyright © 2014–2019 Delft University of Technology. All rights reserved.