public class AttributeImpl extends DeviceBehaviorObject implements Comparable<AttributeImpl>, IPollable, IReadableWritable<AttributeValue>
| Constructor and Description |
|---|
AttributeImpl(IAttributeBehavior behavior,
String deviceName) |
getDeniedStates, getEndState, isAllowed, setDeniedStates, setEndState, setStateMachinepublic AttributeImpl(IAttributeBehavior behavior, String deviceName) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void applyMemorizedValue()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void updateValue()
throws fr.esrf.Tango.DevFailed
updateValue in interface IReadableWritable<AttributeValue>fr.esrf.Tango.DevFailedpublic void updateValue(AttributeValue inValue) throws fr.esrf.Tango.DevFailed
updateValue in interface IReadableWritable<AttributeValue>fr.esrf.Tango.DevFailedpublic String getLastDevFailed()
getLastDevFailed in interface IPollablepublic boolean isAlarmToHigh()
public void setValue(AttributeValue value) throws fr.esrf.Tango.DevFailed
setValue in interface IReadableWritable<AttributeValue>value - fr.esrf.Tango.DevFailedpublic fr.esrf.Tango.AttrDataFormat getFormat()
public fr.esrf.Tango.AttrWriteType getWritable()
public boolean isMemorized()
public boolean isMemorizedAtInit()
public AttributePropertiesImpl getProperties() throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void setProperties(AttributePropertiesImpl properties) throws fr.esrf.Tango.DevFailed
properties - The attribute propertiesfr.esrf.Tango.DevFailedpublic fr.esrf.Tango.DispLevel getDispLevel()
public int getMaxX()
public int getMaxY()
public String toString()
toString in class DeviceBehaviorObjectpublic AttributeValue getWriteValue()
IReadableWritablegetWriteValue in interface IReadableWritable<AttributeValue>public AttributeValue getReadValue()
IReadableWritablegetReadValue in interface IReadableWritable<AttributeValue>public IAttributeBehavior getBehavior()
public void addToHistory()
public void addErrorToHistory(fr.esrf.Tango.DevFailed e)
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic AttributeHistory getHistory()
public int getPollingPeriod()
getPollingPeriod in interface IPollablepublic boolean isCheckArchivingEvent()
public boolean isCheckChangeEvent()
public boolean isPushArchiveEvent()
public boolean isPushChangeEvent()
public boolean isPushDataReady()
public int getTangoType()
public void configurePolling(int pollingPeriod)
throws fr.esrf.Tango.DevFailed
configurePolling in interface IPollablefr.esrf.Tango.DevFailedpublic void resetPolling()
throws fr.esrf.Tango.DevFailed
resetPolling in interface IPollablefr.esrf.Tango.DevFailedpublic void configureAttributePropFromDb()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic void removeProperties()
throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailedpublic boolean isNumber()
public boolean isDevEncoded()
public boolean isBoolean()
public boolean isString()
public boolean isState()
public boolean isScalar()
public boolean isOutOfLimits()
public int compareTo(AttributeImpl o)
compareTo in interface Comparable<AttributeImpl>public boolean isDeltaAlarm()
public int getPollRingDepth()
getPollRingDepth in interface IPollablepublic void setPollRingDepth(int pollRingDepth)
setPollRingDepth in interface IPollablepublic double getExecutionDuration()
getExecutionDuration in interface IPollablepublic double getLastUpdateTime()
getLastUpdateTime in interface IPollablepublic double getDeltaTime()
getDeltaTime in interface IPollablepublic void setPollingStats(double executionDuration,
double lastUpdateTime,
double deltaTime)
setPollingStats in interface IPollablepublic boolean isFwdAttribute()
Copyright © 2012–2017 Tango Controls. All rights reserved.