cad.simcad.worldsimulator.objects.parts
Class DumGPS

java.lang.Object
  |
  +--cad.simcad.worldsimulator.objects.parts.DumGPS
All Implemented Interfaces:
GPSSim, java.rmi.Remote, java.io.Serializable

public class DumGPS
extends java.lang.Object
implements GPSSim, java.io.Serializable

Author:
Administrator
See Also:
Serialized Form

Constructor Summary
DumGPS(EmergencyVehicule ev)
          Creates a new instance of DumGPS
 
Method Summary
 void emitSignal(GPSPosition po)
          Emit a simulated GPS signal in the world
 GPSPosition getSignal()
          Emit a simulated GPS signal in the world
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumGPS

public DumGPS(EmergencyVehicule ev)
Creates a new instance of DumGPS

Method Detail

emitSignal

public void emitSignal(GPSPosition po)
                throws java.rmi.RemoteException
Emit a simulated GPS signal in the world

Specified by:
emitSignal in interface GPSSim
Parameters:
po -
Pre:
-
java.rmi.RemoteException
Post:
-

getSignal

public GPSPosition getSignal()
                      throws java.rmi.RemoteException
Description copied from interface: GPSSim
Emit a simulated GPS signal in the world

Specified by:
getSignal in interface GPSSim
Returns:
a GPSPosition object
java.rmi.RemoteException

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be