org.eclipse.ohf.stem.definitions.adapters.spatial.geo
Interface LatLongProvider

All Superinterfaces:
SpatialProvider
All Known Implementing Classes:
LatLongProviderAdapter

public interface LatLongProvider
extends SpatialProvider

This interface is implemented by classes that provide Latitude and Longitude data.


Method Summary
 LatLong getLatLong()
           
 LatLong getLatLongNoWait()
          This is just like getLatLong() except that it returns an empty instance of LatLong if the data has not been retrieved yet.
 

Method Detail

getLatLong

LatLong getLatLong()
Returns:
latitude/longitude data.

getLatLongNoWait

LatLong getLatLongNoWait()
This is just like getLatLong() except that it returns an empty instance of LatLong if the data has not been retrieved yet. As a side effect, it immediately schedules a Job to retrieve the data. As such, a future call might produce a fully populated result.

Returns:
latitude/longitude data.