endrov.hardware
Class EvCoreDevice

java.lang.Object
  extended by endrov.hardware.EvCoreDevice
All Implemented Interfaces:
EvDevice

public class EvCoreDevice
extends java.lang.Object
implements EvDevice


Field Summary
 EvDeviceObserver event
           
 
Constructor Summary
EvCoreDevice()
           
 
Method Summary
 void addDeviceListener(EvDeviceObserver.DeviceListener listener)
          Add a listener for updates.
 boolean getAutoShutterEnabled()
          Get if autoshuttering enabled
 HWAutoFocus getCurrentAutofocus()
          Get current Autofocus device
 HWCamera getCurrentCamera()
          Get current camera
 EvDevicePath getCurrentDevicePathAutofocus()
          Get current Autofocus device
 EvDevicePath getCurrentDevicePathCamera()
          Get current camera
 EvDevicePath getCurrentDevicePathFocus()
          Get current focus device (z stage)
 EvDevicePath getCurrentDevicePathImageScanner()
           
 EvDevicePath getCurrentDevicePathShutter()
          Get current shutter
 EvDevicePath getCurrentDevicePathSLM()
          Get current SLM device
 EvDevicePath getCurrentDevicePathXYStage()
          Get current XY stage
 HWStage getCurrentFocus()
          Get current focus device (z stage)
 HWImageScanner getCurrentImageScanner()
           
 HWShutter getCurrentShutter()
          Get current shutter
 HWSpatialLightModulator getCurrentSLM()
          Get current SLM device
 HWStage getCurrentXYStage()
          Get current XY stage
 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 hasConfigureDialog()
           
 void openConfigureDialog()
           
 void removeDeviceListener(EvDeviceObserver.DeviceListener listener)
           
 void setPropertyValue(java.lang.String prop, boolean value)
           
 void setPropertyValue(java.lang.String prop, java.lang.String value)
           
 void updateDeviceCategories()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

public EvDeviceObserver event
Constructor Detail

EvCoreDevice

public EvCoreDevice()
Method Detail

updateDeviceCategories

public void updateDeviceCategories()

getDescName

public java.lang.String getDescName()
Description copied from interface: EvDevice
Descriptive name of hardware

Specified by:
getDescName in interface EvDevice

getPropertyMap

public java.util.SortedMap<java.lang.String,java.lang.String> getPropertyMap()
Specified by:
getPropertyMap in interface EvDevice

getPropertyTypes

public java.util.SortedMap<java.lang.String,DevicePropertyType> getPropertyTypes()
Specified by:
getPropertyTypes 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

hasConfigureDialog

public boolean hasConfigureDialog()
Specified by:
hasConfigureDialog in interface EvDevice

openConfigureDialog

public void openConfigureDialog()
Specified by:
openConfigureDialog in interface EvDevice

setPropertyValue

public void setPropertyValue(java.lang.String prop,
                             java.lang.String value)
Specified by:
setPropertyValue in interface EvDevice

setPropertyValue

public void setPropertyValue(java.lang.String prop,
                             boolean value)
Specified by:
setPropertyValue in interface EvDevice

addDeviceListener

public void addDeviceListener(EvDeviceObserver.DeviceListener listener)
Description copied from interface: EvDevice
Add a listener for updates. The pointer to the listener is weak

Specified by:
addDeviceListener in interface EvDevice

removeDeviceListener

public void removeDeviceListener(EvDeviceObserver.DeviceListener listener)
Specified by:
removeDeviceListener in interface EvDevice

getCurrentDevicePathAutofocus

public EvDevicePath getCurrentDevicePathAutofocus()
Get current Autofocus device


getCurrentDevicePathCamera

public EvDevicePath getCurrentDevicePathCamera()
Get current camera


getCurrentDevicePathImageScanner

public EvDevicePath getCurrentDevicePathImageScanner()

getCurrentDevicePathFocus

public EvDevicePath getCurrentDevicePathFocus()
Get current focus device (z stage)


getCurrentDevicePathSLM

public EvDevicePath getCurrentDevicePathSLM()
Get current SLM device


getCurrentDevicePathShutter

public EvDevicePath getCurrentDevicePathShutter()
Get current shutter


getCurrentDevicePathXYStage

public EvDevicePath getCurrentDevicePathXYStage()
Get current XY stage


getAutoShutterEnabled

public boolean getAutoShutterEnabled()
Get if autoshuttering enabled


getCurrentAutofocus

public HWAutoFocus getCurrentAutofocus()
Get current Autofocus device


getCurrentCamera

public HWCamera getCurrentCamera()
Get current camera


getCurrentFocus

public HWStage getCurrentFocus()
Get current focus device (z stage)


getCurrentSLM

public HWSpatialLightModulator getCurrentSLM()
Get current SLM device


getCurrentShutter

public HWShutter getCurrentShutter()
Get current shutter


getCurrentXYStage

public HWStage getCurrentXYStage()
Get current XY stage


getCurrentImageScanner

public HWImageScanner getCurrentImageScanner()