public abstract class AbstractPerceptionCategory extends Type<AbstractPerceptionCategory> implements Serializable
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
AbstractPerceptionCategory(Perception perception)
Constructor setting the perception.
|
| Modifier and Type | Method and Description |
|---|---|
GTU |
getGtu()
Returns the connected GTU.
|
Perception |
getPerception()
Returns the connected perception.
|
org.djunits.value.vdouble.scalar.Time |
getTimestamp()
Returns the current time.
|
abstract void |
updateAll()
Updates all information in the category.
|
public AbstractPerceptionCategory(Perception perception)
perception - perceptionpublic Perception getPerception()
public GTU getGtu() throws GTUException
GTUException - if the GTU has not been initializedpublic final org.djunits.value.vdouble.scalar.Time getTimestamp()
throws GTUException
GTUException - if the GTU has not been initializedpublic abstract void updateAll()
throws GTUException,
NetworkException,
ParameterException
GTUException - if the GTU was not initializedNetworkExceptionParameterExceptionCopyright © 2014–2016 Delft University of Technology. All rights reserved.