public interface DeviceLoaderInternal
Modifier and Type | Method and Description |
---|---|
AvailableDeviceDriverInternal |
getAvailableDeviceDriver(java.lang.String libraryID,
java.lang.String driverID)
Returns the device driver with the given library and driver ID, or null, if driver could not be found.
|
AvailableDeviceDriverInternal[] |
getAvailableDeviceDrivers()
Returns a list of all available device drivers.
|
void |
removeDevice(java.lang.String name,
int accessID)
Removes a previously added device.
|
AvailableDeviceDriverInternal[] getAvailableDeviceDrivers() throws MicroscopeDriverException
MicroscopeDriverException
AvailableDeviceDriverInternal getAvailableDeviceDriver(java.lang.String libraryID, java.lang.String driverID) throws MicroscopeDriverException
libraryID
- The ID of the library the driver belongs to.driverID
- The ID of the device driver.MicroscopeDriverException
- Thrown if error occurred while trying to load drivers.void removeDevice(java.lang.String name, int accessID) throws MicroscopeDriverException, MicroscopeLockedException
accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.name
- Name of the device.MicroscopeDriverException
MicroscopeLockedException