|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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
| 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 |
public AbstractMap getMap()
AbstractMapAbstractMappublic java.util.Map getPlaceMappedToFreeUsers()
public void updateMap(AbstractMap am)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||