Package gda.device.monitor
Class EpicsTypedMonitor
- All Implemented Interfaces:
ControllerRecord,Device,Monitor,Scannable,InitializationListener,Configurable,Findable,gda.observable.IObservable
Version of EpicsMonitor in which the type of readback is explicitly requested.
Equivalent to caget with a -d flag
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSet the type attribute according to the index in this enum -
Field Summary
Fields inherited from class gda.device.monitor.EpicsMonitor
controller, lastDblArrayReported, lastDblValueReported, lastFltArrayReported, lastFltValueReported, lastIntArrayReported, lastIntValueReported, lastShtArrayReported, lastShtValueReported, latestDblValue, latestFltValue, latestIntValue, latestShtValue, latestStrValue, theChannelFields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gda.device.monitor.EpicsMonitor
configure, formatPosition, getControllerRecordName, getDBRType, getDeviceName, getElementCount, getPosition, getPvName, getSensitivity, getUnit, initializationCompleted, isPoll, setDeviceName, setElementCount, setPoll, setPvName, setSensitivity, setType, setUnitMethods inherited from class gda.device.monitor.MonitorBase
asynchronousMoveTo, isBusyMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, externalToInternal, getExtraNames, getInputNames, getLevel, getOutputFormat, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawAsynchronousMoveTo, rawGetPosition, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, throwExceptionIfInvalidTarget, toFormattedString, toString, validateScannable, valueUnavailableString, waitWhileBusy, waitWhileBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString, waitWhileBusy
-
Constructor Details
-
EpicsTypedMonitor
public EpicsTypedMonitor()
-
-
Method Details
-
getSingularValue
- Overrides:
getSingularValuein classEpicsMonitor- Throws:
DeviceException
-
setType
public void setType(int typeInt) -
getType
public int getType()Corresponds to the TYPEs enum in this class- Returns:
- index in the TYPES enum of the type to be returned by the getPosition method
-