endrov.hardwareNative
Class BasicNativeCachingStateDevice
java.lang.Object
endrov.hardwareNative.BasicNativeCachingStateDevice
- All Implemented Interfaces:
- EvDevice, HWState
- Direct Known Subclasses:
- OlympusIX.DevCondenser, OlympusIX.DevLampIntensity, OlympusIX.DevLampSource, OlympusIX.DevMirrorUnit, OlympusIX.DevObjective, OlympusIX.DevPrism, OlympusIX.DevShutter
public abstract class BasicNativeCachingStateDevice
- extends java.lang.Object
- implements HWState
Device mapping state to property "state". State will be cached.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicNativeCachingStateDevice
public BasicNativeCachingStateDevice()
BasicNativeCachingStateDevice
public BasicNativeCachingStateDevice(int min,
int max)
BasicNativeCachingStateDevice
public BasicNativeCachingStateDevice(int[] state,
java.lang.String[] stateLabel)
getStateNames
public java.util.List<java.lang.String> getStateNames()
- Specified by:
getStateNames
in interface HWState
getCurrentStateHW
public abstract int getCurrentStateHW()
setCurrentStateHW
public abstract void setCurrentStateHW(int state)
getCurrentState
public int getCurrentState()
- Specified by:
getCurrentState
in interface HWState
setCurrentState
public void setCurrentState(int state)
- Specified by:
setCurrentState
in interface HWState
getCurrentStateLabel
public java.lang.String getCurrentStateLabel()
- Specified by:
getCurrentStateLabel
in interface HWState
setCurrentStateLabel
public void setCurrentStateLabel(java.lang.String label)
- Specified by:
setCurrentStateLabel
in interface HWState
getPropertyMap
public java.util.SortedMap<java.lang.String,java.lang.String> getPropertyMap()
- Specified by:
getPropertyMap
in interface EvDevice
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String prop)
- Specified by:
getPropertyValue
in interface EvDevice
getPropertyValueBoolean
public java.lang.Boolean getPropertyValueBoolean(java.lang.String prop)
- Specified by:
getPropertyValueBoolean
in interface EvDevice
setPropertyValue
public void setPropertyValue(java.lang.String prop,
boolean value)
- Specified by:
setPropertyValue
in interface EvDevice
setPropertyValue
public void setPropertyValue(java.lang.String prop,
java.lang.String value)
- Specified by:
setPropertyValue
in interface EvDevice
getPropertyTypes
public java.util.SortedMap<java.lang.String,DevicePropertyType> getPropertyTypes()
- Specified by:
getPropertyTypes
in interface EvDevice