|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IIncident
An incident can be used by a plugin to model teh effects of a road incident on traffic
| Nested Class Summary | |
|---|---|
static class |
IIncident.Cause
An enumeration of causes for an incident |
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
IIncident.Cause |
cause()
Returns the cause of this incident |
NamedColour |
colour()
A colour used to annotate the incident |
double |
distance()
Returns the distance along this lane of the location of the incident |
UTime |
duration()
Returns the duration of this incident |
int |
laneIndex()
Returns the lane index of this incident |
Speed |
opposingSpeed()
Returns the speed limit for vehicles passing the incident in the opposite direction. |
Speed |
passingSpeed()
Returns the speed limit for vehicles passing the incident (going in the same direction). |
UTime |
when()
Returns the time of occurrence of this incident |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Method Detail |
|---|
IIncident.Cause cause()
int laneIndex()
double distance()
UTime when()
UTime duration()
Speed passingSpeed()
Speed opposingSpeed()
NamedColour colour()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||