public interface MicroscopeConfigurationInternal
Modifier and Type | Method and Description |
---|---|
void |
addImageSynchronizationDevice(java.lang.String device,
int accessID)
Adds the given device to the list of image synchronization devices.
|
void |
addSystemShutdownSetting(DeviceSetting setting,
int accessID)
Adds a setting to the list of settings which will be applied at shutdown.
|
void |
addSystemStartupSetting(DeviceSetting setting,
int accessID)
Adds a setting to the list of settings which will be applied at startup.
|
int |
getCommunicationPingPeriod()
Gets the wait time used when pinging a device if a certain action is finished.
|
int |
getCommunicationTimeout()
Gets the timeout between in the communication with the devices.
|
int |
getImageBufferSize()
Returns the size of the internally used image buffer.
|
java.lang.String[] |
getImageSynchronizationDevices()
Returns the devices to which the microscope synchronizes when imaging.
|
DeviceSetting[] |
getSystemShutdownSettings()
Returns the settings which will be applied when the system shuts down.
|
DeviceSetting[] |
getSystemStartupSettings()
Returns the settings which will be applied when the system starts up.
|
void |
removeImageSynchronizationDevice(java.lang.String device,
int accessID)
Removes the given device to the list of image synchronization devices.
|
void |
setCommunicationPingPeriod(int pingPeriod,
int accessID)
Sets the wait time used when pinging a device if a certain action is finished.
|
void |
setCommunicationTimeout(int timeout,
int accessID)
Sets the timeout between in the communication with the devices.
|
void |
setImageBufferSize(int sizeMB,
int accessID)
Sets the size of an internally used image buffer.
|
void |
setImageSynchronizationDevices(java.lang.String[] devices,
int accessID)
Sets the devices for which the microscope waits before an image is made.
|
void |
setSystemShutdownSettings(DeviceSetting[] settings,
int accessID)
Set the setting which will be applied at shutdown.
|
void |
setSystemStartupSettings(DeviceSetting[] settings,
int accessID)
Set the setting which will be applied at startup.
|
void setImageSynchronizationDevices(java.lang.String[] devices, int accessID) throws SettingException, MicroscopeLockedException
accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.devices
- Devices to which the imaging process should synchronize, or null.SettingException
MicroscopeLockedException
void addImageSynchronizationDevice(java.lang.String device, int accessID) throws SettingException, MicroscopeLockedException
device
- Device to add to the image synchronization list.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
void removeImageSynchronizationDevice(java.lang.String device, int accessID) throws SettingException, MicroscopeLockedException
device
- Device to remove from the image synchronization list.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
java.lang.String[] getImageSynchronizationDevices()
DeviceSetting[] getSystemStartupSettings()
void setSystemStartupSettings(DeviceSetting[] settings, int accessID) throws SettingException, MicroscopeLockedException
settings
- Settings which will be applied at startup.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
void addSystemStartupSetting(DeviceSetting setting, int accessID) throws SettingException, MicroscopeLockedException
accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.setting
- A setting which should be applied at startup.SettingException
MicroscopeLockedException
DeviceSetting[] getSystemShutdownSettings()
void setSystemShutdownSettings(DeviceSetting[] settings, int accessID) throws SettingException, MicroscopeLockedException
settings
- Settings which will be applied at shutdown.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
void addSystemShutdownSetting(DeviceSetting setting, int accessID) throws SettingException, MicroscopeLockedException
setting
- A setting which should be applied at shutdown.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
int getCommunicationTimeout()
void setCommunicationTimeout(int timeout, int accessID) throws SettingException, MicroscopeLockedException
timeout
- Timeout in ms.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
void setImageBufferSize(int sizeMB, int accessID) throws SettingException, MicroscopeLockedException, java.lang.UnsupportedOperationException
sizeMB
- Size of the image buffer, in MB.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException
java.lang.UnsupportedOperationException
- Thrown if no image buffer is supported by this implementation.int getImageBufferSize() throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
- Thrown if no image buffer is supported by this implementation.int getCommunicationPingPeriod()
void setCommunicationPingPeriod(int pingPeriod, int accessID) throws SettingException, MicroscopeLockedException
pingPeriod
- Ping period in ms.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.SettingException
MicroscopeLockedException