Class CameraConfiguration
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.live.stream.view.CameraConfiguration
- All Implemented Interfaces:
Findable
- Direct Known Subclasses:
BeamSimulationCamera
A class to be used to hold camera configuration for use with the LiveMJPEGView.
For more info on configuring this class see Setup Live Stream Camera Views
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCustom UI to be drawn below the live streamintlonggetTopUi()Custom UI to be drawn above the live streamgetUrl()inthashCode()booleanisRgb()booleanvoidsetArrayPv(String arrayPv) voidsetBottomUi(LiveStreamViewCustomUi bottomUi) Custom UI to be drawn below the live streamvoidsetCacheSize(int cacheSize) voidsetCalibratedAxesProvider(CalibratedAxesProvider calibratedAxesProvider) voidsetDisplayName(String displayName) voidsetPvAccessPv(String pvAccessPv) voidsetRgb(boolean rgb) voidsetRoiProvider(RemoteRectangularROIsProvider roiProvider) voidsetSleepTime(long sleepTime) voidsetTopUi(LiveStreamViewCustomUi topUi) Custom UI to be drawn above the live streamvoidvoidvoidsetWithHistogram(boolean withHistogram) toString()Methods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
CameraConfiguration
public CameraConfiguration()
-
-
Method Details
-
getDisplayName
-
setDisplayName
-
getUrl
-
setUrl
-
isRgb
public boolean isRgb() -
setRgb
public void setRgb(boolean rgb) -
getSleepTime
public long getSleepTime() -
setSleepTime
public void setSleepTime(long sleepTime) -
getCacheSize
public int getCacheSize() -
setCacheSize
public void setCacheSize(int cacheSize) -
getArrayPv
-
setArrayPv
-
getPvAccessPv
-
setPvAccessPv
-
getRoiProvider
-
setRoiProvider
-
getCalibratedAxesProvider
-
setCalibratedAxesProvider
-
isWithHistogram
public boolean isWithHistogram() -
setWithHistogram
public void setWithHistogram(boolean withHistogram) -
getTopUi
Custom UI to be drawn above the live stream- Returns:
- Returns the custom UI instance, or
nullif not set. - Since:
- GDA 9.11
-
setTopUi
Custom UI to be drawn above the live stream- Parameters:
topUi- Custom UI instance- Since:
- GDA 9.11
-
getBottomUi
Custom UI to be drawn below the live stream- Returns:
- Returns the custom UI instance, or
nullif not set. - Since:
- GDA 9.11
-
setBottomUi
Custom UI to be drawn below the live stream- Parameters:
bottomUi- Custom UI instance- Since:
- GDA 9.11
-
hashCode
public int hashCode()- Overrides:
hashCodein classFindableBase
-
equals
- Overrides:
equalsin classFindableBase
-
cameraStreamTypes
-
toString
-
getViewID
-
setViewID
-