|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.traffic.vehicle.VehicleControl
(c) copyright 2003-2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary |
| Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
| Fields inherited from interface nl.tudelft.simulation.traffic.vehicle.VehicleControlInterface |
ACCELERATION_CHANGE, CHECK_SCENARIO_FOR_PHYSICAL_EVENTS, END_OF_SCHEDULED_SCENARIO, PLANNING_CHANGED, UPDATE |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Constructor Summary | |
VehicleControl(java.lang.String line)
|
|
VehicleControl(TrackInterface track,
double progression,
double maxSpeedStart,
nl.tudelft.simulation.dsol.simulators.DEVDESSSimulatorInterface simulator,
VehicleType vehicleType,
java.lang.String line)
|
|
| Method Summary | |
java.lang.String |
getLine()
|
VehiclePhysicalInterface |
getVehiclePhysical()
|
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
void |
removeVehicle()
remove the vehicle from the track |
void |
setVehiclePhysical(VehiclePhysicalInterface vehiclePhysical)
|
void |
startDriving()
this method is needed to tell the vehicle to start driving |
| 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.event.EventProducerInterface |
addListener, addListener, addListener, addListener, getEventTypes, removeListener |
| Constructor Detail |
public VehicleControl(java.lang.String line)
line -
public VehicleControl(TrackInterface track,
double progression,
double maxSpeedStart,
nl.tudelft.simulation.dsol.simulators.DEVDESSSimulatorInterface simulator,
VehicleType vehicleType,
java.lang.String line)
throws java.lang.Exception
track - progression - maxSpeedStart - simulator - vehicleType - line -
java.lang.Exception| Method Detail |
public void startDriving()
VehicleControlInterface
startDriving in interface VehicleControlInterfaceVehicleControlInterface.startDriving()public VehiclePhysicalInterface getVehiclePhysical()
getVehiclePhysical in interface VehicleControlInterfaceVehicleControlInterface.getVehiclePhysical()
public void setVehiclePhysical(VehiclePhysicalInterface vehiclePhysical)
throws java.lang.Exception
setVehiclePhysical in interface VehicleControlInterfacevehiclePhysical - The vehiclePhysical to set.
java.lang.ExceptionVehicleControlInterface.setVehiclePhysical(nl.tudelft.simulation.traffic.vehicle.VehiclePhysicalInterface)public java.lang.String getLine()
getLine in interface VehicleControlInterface
public void removeVehicle()
throws java.rmi.RemoteException
VehicleControlInterface
removeVehicle in interface VehicleControlInterfacejava.rmi.RemoteExceptionVehicleControlInterface.removeVehicle()
public void notify(nl.tudelft.simulation.event.EventInterface event)
throws java.rmi.RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfacejava.rmi.RemoteExceptionEventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||