public interface AvailableDeviceDriver
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description of the device driver.
|
java.lang.String |
getDriverID()
Returns the identifier of the device driver.
|
java.lang.String |
getLibraryID()
Returns the name of the library where this device is implemented.
|
DeviceType |
getType()
Returns the type of this device driver.
|
void |
initializeDevice(DeviceSetting[] preInitSettings)
Initializes a previously loaded device.
|
boolean |
isSerialPortDriver()
Returns true if this driver communicates over a serial port.
|
PreInitDeviceProperty[] |
loadDevice(java.lang.String deviceID)
Loads the specified device driver, but yet does not initialize it.
|
void |
unloadDevice()
Unloads a previously loaded, but yet not initialized device.
|
java.lang.String getDriverID() throws MicroscopeDriverException, java.rmi.RemoteException
MicroscopeDriverException
java.rmi.RemoteException
DeviceType getType() throws MicroscopeDriverException, java.rmi.RemoteException
MicroscopeDriverException
java.rmi.RemoteException
java.lang.String getDescription() throws MicroscopeDriverException, java.rmi.RemoteException
MicroscopeDriverException
java.rmi.RemoteException
java.lang.String getLibraryID() throws MicroscopeDriverException, java.rmi.RemoteException
MicroscopeDriverException
java.rmi.RemoteException
PreInitDeviceProperty[] loadDevice(java.lang.String deviceID) throws MicroscopeDriverException, MicroscopeLockedException, java.rmi.RemoteException
deviceID
- The ID under which the device should be initialized.MicroscopeDriverException
MicroscopeLockedException
java.rmi.RemoteException
void initializeDevice(DeviceSetting[] preInitSettings) throws MicroscopeDriverException, MicroscopeLockedException, java.rmi.RemoteException
preInitSettings
- Device properties necessary to be set prior to the initialization of the device. Can be null or an empty array if no settings are necessary.MicroscopeDriverException
MicroscopeLockedException
java.rmi.RemoteException
void unloadDevice() throws MicroscopeLockedException, MicroscopeDriverException, java.rmi.RemoteException
MicroscopeLockedException
MicroscopeDriverException
java.rmi.RemoteException
boolean isSerialPortDriver() throws MicroscopeLockedException, MicroscopeDriverException, java.rmi.RemoteException
MicroscopeLockedException
MicroscopeDriverException
java.rmi.RemoteException