public interface AvailableDeviceDriverInternal
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,
int accessID)
Initializes a previously loaded device.
|
boolean |
isSerialPortDriver(int accessID)
Returns true if this driver communicates over a serial port.
|
PreInitDevicePropertyInternal[] |
loadDevice(java.lang.String deviceID,
int accessID)
Loads the specified device driver, but yet does not initialize it.
|
void |
unloadDevice(int accessID)
Unloads a previously loaded, but yet not initialized device.
|
java.lang.String getDriverID() throws MicroscopeDriverException
MicroscopeDriverException
DeviceType getType() throws MicroscopeDriverException
MicroscopeDriverException
java.lang.String getDescription() throws MicroscopeDriverException
MicroscopeDriverException
java.lang.String getLibraryID() throws MicroscopeDriverException
MicroscopeDriverException
PreInitDevicePropertyInternal[] loadDevice(java.lang.String deviceID, int accessID) throws MicroscopeDriverException, MicroscopeLockedException
deviceID
- The ID under which the device should be initialized.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeDriverException
MicroscopeLockedException
void initializeDevice(DeviceSetting[] preInitSettings, int accessID) throws MicroscopeDriverException, MicroscopeLockedException
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.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeDriverException
MicroscopeLockedException
void unloadDevice(int accessID) throws MicroscopeLockedException, MicroscopeDriverException
accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeDriverException
boolean isSerialPortDriver(int accessID) throws MicroscopeLockedException, MicroscopeDriverException
accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeDriverException