public class ShortContinuousImagingJobConfiguration extends JobConfiguration implements ImageProducerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
The identifier for this job type.
|
Constructor and Description |
---|
ShortContinuousImagingJobConfiguration() |
Modifier and Type | Method and Description |
---|---|
CameraConfiguration |
getCamera()
Returns the camera with which should be imaged, or null, if imaging with the default camera.
|
ChannelConfiguration |
getChannel()
The channel where the images should be made.
|
java.lang.String |
getDescription()
Returns a short description of this job.
|
double |
getExposure() |
java.lang.String |
getImageSaveName()
Returns the name under which the images should be saved.
|
java.lang.String[] |
getImageSaveNames()
Should return the names of all images produced by this job and which should be saved to disk.
|
int |
getImagingPeriod() |
int |
getNumberOfImages()
Returns the number of images which get produced per evaluation of a job initialized with this configuration.
|
int |
getNumImages()
Returns the number of images which should be taken.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
boolean |
isSaveImages()
Returns if the images made by this job should be saved to disk.
|
void |
setCamera(CameraConfiguration camera)
Sets the camera with which should be imaged.
|
void |
setChannel(ChannelConfiguration channel)
The channel where the images should be made.
|
void |
setExposure(double exposure)
Sets the exposure time in ms.
|
void |
setImageSaveName(java.lang.String name)
Sets the name under which the images should be saved.
|
void |
setImagingPeriod(int imagingPeriod) |
void |
setNumImages(int numImages)
Sets the number of images which should be taken.
|
void |
setSaveImages(boolean saveImages) |
checkConfiguration, clone, toString
public static final java.lang.String TYPE_IDENTIFIER
public ShortContinuousImagingJobConfiguration()
public java.lang.String getTypeIdentifier()
Configuration
getTypeIdentifier
in interface Configuration
public java.lang.String getDescription()
JobConfiguration
getDescription
in class JobConfiguration
public void setCamera(CameraConfiguration camera)
camera
- device, or null.public CameraConfiguration getCamera()
public void setChannel(ChannelConfiguration channel)
channel
- The channel.public ChannelConfiguration getChannel()
public void setExposure(double exposure)
exposure
- Exposure time in ms.public double getExposure()
public void setSaveImages(boolean saveImages)
saveImages
- the saveImages to setpublic java.lang.String getImageSaveName()
public void setImageSaveName(java.lang.String name)
name
- The name of the job.public void setImagingPeriod(int imagingPeriod)
imagingPeriod
- The time between two successive images.public int getImagingPeriod()
public boolean isSaveImages()
public void setNumImages(int numImages)
numImages
- Number of images to be taken.public int getNumImages()
public java.lang.String[] getImageSaveNames()
ImageProducerConfiguration
getImageSaveNames
in interface ImageProducerConfiguration
public int getNumberOfImages()
ImageProducerConfiguration
getNumberOfImages
in interface ImageProducerConfiguration