org.compass.gps.device
Class AbstractMirrorGpsDeviceWrapper
java.lang.Object
org.compass.gps.device.AbstractGpsDeviceWrapper
org.compass.gps.device.AbstractMirrorGpsDeviceWrapper
- All Implemented Interfaces:
- CompassGpsDevice, MirrorDataChangesGpsDevice
- Direct Known Subclasses:
- ScheduledMirrorGpsDevice
public class AbstractMirrorGpsDeviceWrapper
- extends AbstractGpsDeviceWrapper
- implements MirrorDataChangesGpsDevice
A helper base class for mirror enabled gps devices wrappers, i.e. wrapped
devices that implement the MirrorDataChangesGpsDevice
interface.
- Author:
- kimchy
|
Method Summary |
boolean |
isMirrorDataChanges()
Should the device perform real time data mirroring. |
void |
setMirrorDataChanges(boolean mirrorDataChanges)
Sets if the device will perform real time data changes mirroring. |
| Methods inherited from class org.compass.gps.device.AbstractGpsDeviceWrapper |
checkDeviceSet, getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, refresh, setGpsDevice, setName, shouldMirrorDataChanges, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.compass.gps.CompassGpsDevice |
getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, refresh, setName, shouldMirrorDataChanges, start, stop |
AbstractMirrorGpsDeviceWrapper
public AbstractMirrorGpsDeviceWrapper()
isMirrorDataChanges
public boolean isMirrorDataChanges()
- Description copied from interface:
MirrorDataChangesGpsDevice
- Should the device perform real time data mirroring.
- Specified by:
isMirrorDataChanges in interface MirrorDataChangesGpsDevice
- Returns:
true if the device mirror data changes
setMirrorDataChanges
public void setMirrorDataChanges(boolean mirrorDataChanges)
- Description copied from interface:
MirrorDataChangesGpsDevice
- Sets if the device will perform real time data changes mirroring.
- Specified by:
setMirrorDataChanges in interface MirrorDataChangesGpsDevice
- Parameters:
mirrorDataChanges - Should the device mirror data changes
Copyright (c) 2004-2008 The Compass Project.