nl.tudelft.simulation.traffic.controlpoint.virtual
Class Show

java.lang.Object
  extended bynl.tudelft.simulation.event.EventProducer
      extended bynl.tudelft.simulation.traffic.controlpoint.virtual.VirtualControlPoint
          extended bynl.tudelft.simulation.traffic.controlpoint.virtual.Show
All Implemented Interfaces:
ControlPointInterface, nl.tudelft.simulation.event.EventProducerInterface, nl.tudelft.simulation.dsol.animation.LocatableInterface, java.io.Serializable, ShowInterface, VirtualControlPointInterface

public class Show
extends VirtualControlPoint
implements ShowInterface

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.event.EventProducer
listeners
 
Fields inherited from interface nl.tudelft.simulation.traffic.controlpoint.virtual.ShowInterface
VISIBLE
 
Fields inherited from interface nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface
BACK, FRONT
 
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
 
Constructor Summary
Show(TrackInterface track, double progression, VisibleControlPointInterface owner, nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
           
 
Method Summary
 VisibleControlPointInterface getOwner()
          Returns the ControlPointInterface to be made visible
 void pass(VehiclePhysicalInterface vehicle)
          This method handles actions of the controlPoint when the controlPoint is passed by a vehicle.
 
Methods inherited from class nl.tudelft.simulation.traffic.controlpoint.virtual.VirtualControlPoint
getBounds, getLocation, getProgression, getTrack
 
Methods inherited from class nl.tudelft.simulation.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface
getProgression, getTrack
 
Methods inherited from interface nl.tudelft.simulation.dsol.animation.LocatableInterface
getBounds, getLocation
 
Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface
addListener, addListener, addListener, addListener, getEventTypes, removeListener
 

Constructor Detail

Show

public Show(TrackInterface track,
            double progression,
            VisibleControlPointInterface owner,
            nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
Parameters:
track -
progression -
owner -
simulator -
Method Detail

getOwner

public VisibleControlPointInterface getOwner()
Description copied from interface: ShowInterface
Returns the ControlPointInterface to be made visible

Specified by:
getOwner in interface ShowInterface
Returns:
Owner, the visibleControlPoint to
See Also:
ShowInterface.getOwner()

pass

public void pass(VehiclePhysicalInterface vehicle)
Description copied from interface: ControlPointInterface
This method handles actions of the controlPoint when the controlPoint is passed by a vehicle.

Specified by:
pass in interface ControlPointInterface
Parameters:
vehicle - that triggers the controlPoint
See Also:
ControlPointInterface.pass(nl.tudelft.simulation.traffic.vehicle.VehiclePhysicalInterface)


Copyright © 2003-2004 Delft University of Technology, the Netherlands. All Rights Reserved.