public interface DeviceInternal
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceID()
Returns the name of the device.
|
java.lang.String |
getDriverID()
Returns the Identifier under which this device's driver is defined in the library.
|
PropertyInternal[] |
getEditableProperties()
Returns a list of all editable properties of this device.
|
double |
getExplicitDelay()
Returns the explicit device delay in ms.
|
java.util.Date |
getInitializationTime()
Returns the time when the device was initialized.
|
java.lang.String |
getLibraryID()
Returns the library name in which this device's driver is defined.
|
PropertyInternal[] |
getProperties()
Returns a list of all properties of this device.
|
PropertyInternal |
getProperty(java.lang.String propertyID)
Returns the property of this device with the given name, or null if this device does not have a property with this name.
|
DeviceType |
getType()
Returns the type of this device.
|
void |
setExplicitDelay(double delay,
int accessID)
Sets the explicit delay in ms.
|
void |
waitForDevice()
Waits for the device to have finished its latest actions before returning.
|
java.lang.String getDeviceID()
java.lang.String getLibraryID()
java.lang.String getDriverID()
DeviceType getType()
PropertyInternal[] getProperties()
PropertyInternal[] getEditableProperties()
PropertyInternal getProperty(java.lang.String propertyID) throws DeviceException
propertyID
- Name of the property.DeviceException
void waitForDevice() throws MicroscopeException, java.lang.InterruptedException
MicroscopeException
java.lang.InterruptedException
double getExplicitDelay()
void setExplicitDelay(double delay, int accessID) throws MicroscopeException, MicroscopeLockedException
delay
- Delay iin ms.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeException
MicroscopeLockedException
java.util.Date getInitializationTime()