cad.simcad.objectserver.spec.cac.server
Interface APSS

All Known Implementing Classes:
APSSI

public interface APSS

2 Possibilities for the implementation : 1- During the creation, we start a new Thread. This thread updates contiuously the internal Map thanks to GPSSrv and MDTSrv 2- Update on demand each time the getMap() method is called

Author:
CP

Method Summary
 AbstractMap getMap()
          Returns an AbstractMap object, the interface to the CityMap with its ambulances on it
 java.util.Map getPlaceMappedToFreeUsers()
          Returns a mapping of PathPlace to PathUsers Ids correspond to EmergencyVehicule that have a free status
 void updateMap(AbstractMap am)
          update the Map
 

Method Detail

getMap

public AbstractMap getMap()
Returns an AbstractMap object, the interface to the CityMap with its ambulances on it

Pre:
-
Returns:
an AbstractMap
Post:
The Internal Representation of the positions as an AbstractMap

getPlaceMappedToFreeUsers

public java.util.Map getPlaceMappedToFreeUsers()
Returns a mapping of PathPlace to PathUsers Ids correspond to EmergencyVehicule that have a free status


updateMap

public void updateMap(AbstractMap am)
update the Map

Pre:
-
Post:
-

Logo

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