|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object endrov.hardware.EvDeviceProvider endrov.hardwareNative.ITKCorvus
public class ITKCorvus
ITK Corvus stage drive + joystick. The language is Venus-1 which is supposed to work with many other ITK devices.
Field Summary | |
---|---|
EvDeviceObserver |
event
|
HWSerial |
serial
I/O is blocking. |
Fields inherited from class endrov.hardware.EvDeviceProvider |
---|
hw |
Constructor Summary | |
---|---|
ITKCorvus()
|
Method Summary | |
---|---|
void |
addDeviceListener(EvDeviceObserver.DeviceListener listener)
Add a listener for updates. |
java.util.Set<EvDevice> |
autodetect()
Return null if operation not supported TODO maybe not return but add it right away? |
void |
getConfig(org.jdom.Element root)
|
java.lang.String |
getDescName()
Descriptive name of hardware |
java.util.SortedMap<java.lang.String,java.lang.String> |
getPropertyMap()
|
java.util.SortedMap<java.lang.String,DevicePropertyType> |
getPropertyTypes()
|
java.lang.String |
getPropertyValue(java.lang.String prop)
|
java.lang.Boolean |
getPropertyValueBoolean(java.lang.String prop)
|
boolean |
gsetSampleLoadPosition()
|
boolean |
hasConfigureDialog()
|
boolean |
hasSampleLoadPosition()
|
void |
initController()
|
EvDevice |
newProvided(java.lang.String s)
|
void |
openConfigureDialog()
|
java.util.List<java.lang.String> |
provides()
|
java.lang.String |
queryCommand(java.lang.String cmd)
|
void |
removeDeviceListener(EvDeviceObserver.DeviceListener listener)
|
void |
sendCommand(java.lang.String cmd)
|
void |
setConfig(org.jdom.Element root)
|
void |
setNumAxis(int num)
Corvus special command: The number of axis can be set. |
void |
setPropertyValue(java.lang.String prop,
boolean value)
|
void |
setPropertyValue(java.lang.String prop,
java.lang.String value)
|
void |
setSampleLoadPosition(boolean b)
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public HWSerial serial
public EvDeviceObserver event
Constructor Detail |
---|
public ITKCorvus()
Method Detail |
---|
public void sendCommand(java.lang.String cmd)
public java.lang.String queryCommand(java.lang.String cmd)
public void initController()
public void setNumAxis(int num)
public java.util.Set<EvDevice> autodetect()
EvDeviceProvider
autodetect
in class EvDeviceProvider
public void getConfig(org.jdom.Element root)
getConfig
in class EvDeviceProvider
public java.util.List<java.lang.String> provides()
provides
in class EvDeviceProvider
public EvDevice newProvided(java.lang.String s)
newProvided
in class EvDeviceProvider
public void setConfig(org.jdom.Element root)
setConfig
in class EvDeviceProvider
public java.lang.String getDescName()
EvDevice
getDescName
in interface EvDevice
public java.util.SortedMap<java.lang.String,java.lang.String> getPropertyMap()
getPropertyMap
in interface EvDevice
public java.util.SortedMap<java.lang.String,DevicePropertyType> getPropertyTypes()
getPropertyTypes
in interface EvDevice
public java.lang.String getPropertyValue(java.lang.String prop)
getPropertyValue
in interface EvDevice
public java.lang.Boolean getPropertyValueBoolean(java.lang.String prop)
getPropertyValueBoolean
in interface EvDevice
public void setPropertyValue(java.lang.String prop, boolean value)
setPropertyValue
in interface EvDevice
public void setPropertyValue(java.lang.String prop, java.lang.String value)
setPropertyValue
in interface EvDevice
public boolean hasConfigureDialog()
hasConfigureDialog
in interface EvDevice
public void openConfigureDialog()
openConfigureDialog
in interface EvDevice
public void addDeviceListener(EvDeviceObserver.DeviceListener listener)
EvDevice
addDeviceListener
in interface EvDevice
public void removeDeviceListener(EvDeviceObserver.DeviceListener listener)
removeDeviceListener
in interface EvDevice
public boolean hasSampleLoadPosition()
public void setSampleLoadPosition(boolean b)
public boolean gsetSampleLoadPosition()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |