cad.simcad.gps_server
Class GPSDeviceI

java.lang.Object
  |
  +--cad.simcad.gps_server.GPSDeviceI
All Implemented Interfaces:
GPSPosition, java.io.Serializable

public class GPSDeviceI
extends java.lang.Object
implements GPSPosition, java.io.Serializable

Author:
pablo
See Also:
Serialized Form

Constructor Summary
GPSDeviceI(EmergencyVehicule ev)
          Creates a new instance of GPSDeviceI
GPSDeviceI(EmergencyVehicule ev, int x, int y, int z)
           
 
Method Summary
 Id getId()
          Returns the Id object associated with this GPSPosition
 int getX()
          Return x factor of that Position
 int getY()
          Return y factor of that Position
 int getZ()
          Return z factor of that Position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPSDeviceI

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


GPSDeviceI

public GPSDeviceI(EmergencyVehicule ev,
                  int x,
                  int y,
                  int z)
Method Detail

getId

public Id getId()
Returns the Id object associated with this GPSPosition

Specified by:
getId in interface GPSPosition
Pre:
-
Returns:
An Id object
Post:
The Id i identifying the Object at that Position is returned

getX

public int getX()
Return x factor of that Position

Specified by:
getX in interface GPSPosition
Pre:
-
Returns:
An integer value
Post:
The x factor of that Position is returned

getY

public int getY()
Return y factor of that Position

Specified by:
getY in interface GPSPosition
Pre:
-
Returns:
An integer value
Post:
The y factor of that Position is returned

getZ

public int getZ()
Return z factor of that Position

Specified by:
getZ in interface GPSPosition
Pre:
-
Returns:
An integer value
Post:
The z factor of that Position is returned

Logo

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