com.azalient.api.b.network
Interface IPhaseCrossing

All Superinterfaces:
IBlocker, ICrossing, IRecord, IRestrictable, IWalkway, IWay, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface IPhaseCrossing
extends ICrossing

A specialisation of a crossing, with methods relating to phases and groups


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.azalient.api.b.network.IWalkway
IWalkway.WalkwayType
 
Field Summary
static IPhaseCrossing[] ZERO_P
           
 
Fields inherited from interface com.azalient.api.b.network.ICrossing
PREFIX_PELICAN, PREFIX_SIGNAL, PREFIX_UNMARKED, PREFIX_ZEBRA, ZERO
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 IGroup group()
          Returns the signal group to which this phased crossing belongs
 void group(IGroup g)
          Sets the signal group to which this phased crossing belongs
 IIntersection intersection()
          Returns the intersection whose controller controls this phased crossing
 int sensorID()
          Returns the sensor ID for this crossing, a field used to encode information required for an external system.
 void sensorID(int si)
          Sets the sensor ID for this crossing.
 int walkID()
          Returns the walk ID for this crossing, which comes directly from the group.
 
Methods inherited from interface com.azalient.api.b.network.ICrossing
buttonPushes, crossingTimes, laneBlocker, newState, occupied, signal, signalised
 
Methods inherited from interface com.azalient.api.b.network.IWalkway
addConnection, addConnectionNearest, area, capacity, coursesC, coursesD, deleteConnection, draw, isPrivate, population, selected, selected, shared, speedCD, stepHeight, stepLength, twigCD, twigDC, walkwayType, walled
 
Methods inherited from interface com.azalient.api.b.network.IWay
centreline, halfWidth, halfWidthE, halfWidthS, kerb, median, width, widthE, widthS
 
Methods inherited from interface com.azalient.api.b.network.IRestrictable
allows, allows, closed, closed, multipleRestrictions, multipleRestrictions, name, restriction, restriction, restrictionIndex
 
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
 
Methods inherited from interface com.azalient.api.sim.agents.IBlocker
blocked, blockerDescription, blockPointDistance, doneBlocking, nowBlocking
 

Field Detail

ZERO_P

static final IPhaseCrossing[] ZERO_P
Method Detail

intersection

IIntersection intersection()
Returns the intersection whose controller controls this phased crossing


group

IGroup group()
Returns the signal group to which this phased crossing belongs


group

void group(IGroup g)
Sets the signal group to which this phased crossing belongs


sensorID

int sensorID()
Returns the sensor ID for this crossing, a field used to encode information required for an external system. For example, in SCATS, some crossing push buttons are treated as detectors, and this sensor ID is sent to SCATS (as a detector ID) when the signal button is pressed.


sensorID

void sensorID(int si)
Sets the sensor ID for this crossing.

See Also:
sensorID()

walkID

int walkID()
Returns the walk ID for this crossing, which comes directly from the group. This is a convenience method for IGroup.walkID()