|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The ControlPointInterface defines the interface of controlpoints. By
definition a controlpoint is a point on a track where something is happening
that is relevant for a vehicle. A controlpoint enables the exchange of
information between a vehicle and the infrastructure.
| Field Summary | |
static java.lang.String |
BACK
a trigger of the controlpoint with the back of the vehicle |
static java.lang.String |
FRONT
a trigger of the controlpoint with the front of the vehicle |
| Method Summary | |
double |
getProgression()
The getProgression() method returns progression where the controlPoint is located |
TrackInterface |
getTrack()
This method returns the track on which the controlPoint is located |
void |
pass(VehiclePhysicalInterface vehicle)
This method handles actions of the controlPoint when the controlPoint is passed by a vehicle. |
| Methods inherited from interface nl.tudelft.simulation.dsol.animation.LocatableInterface |
getBounds, getLocation |
| Field Detail |
public static final java.lang.String FRONT
public static final java.lang.String BACK
| Method Detail |
public TrackInterface getTrack()
public double getProgression()
public void pass(VehiclePhysicalInterface vehicle)
vehicle - that triggers the controlPoint
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||