|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tango.server.DeviceBehaviorObject
org.tango.server.attribute.AttributeImpl
public final class AttributeImpl
Tango attribute
Constructor Summary | |
---|---|
AttributeImpl(IAttributeBehavior behavior,
java.lang.String deviceName)
|
Method Summary | |
---|---|
void |
addErrorToHistory(fr.esrf.Tango.DevFailed e)
|
void |
addToHistory()
|
void |
applyMemorizedValue()
|
int |
compareTo(AttributeImpl o)
|
void |
configureAttributePropFromDb()
|
void |
configurePolling(int pollingPeriod)
|
boolean |
equals(java.lang.Object obj)
|
IAttributeBehavior |
getBehavior()
|
double |
getDeltaTime()
|
fr.esrf.Tango.DispLevel |
getDispLevel()
|
double |
getExecutionDuration()
|
fr.esrf.Tango.AttrDataFormat |
getFormat()
|
AttributeHistory |
getHistory()
|
java.lang.String |
getLastDevFailed()
|
double |
getLastUpdateTime()
|
int |
getMaxX()
|
int |
getMaxY()
|
java.lang.String |
getName()
|
int |
getPollingPeriod()
|
int |
getPollRingDepth()
|
AttributePropertiesImpl |
getProperties()
|
AttributeValue |
getReadValue()
Get last read value |
int |
getTangoType()
|
fr.esrf.Tango.AttrWriteType |
getWritable()
|
AttributeValue |
getWriteValue()
Get last write value |
int |
hashCode()
|
boolean |
isAlarmToHigh()
|
boolean |
isBoolean()
|
boolean |
isCheckArchivingEvent()
|
boolean |
isCheckChangeEvent()
|
boolean |
isDeltaAlarm()
|
boolean |
isDevEncoded()
|
boolean |
isMemorized()
|
boolean |
isMemorizedAtInit()
|
boolean |
isNumber()
|
boolean |
isOutOfLimits()
|
boolean |
isPolled()
|
boolean |
isPushArchiveEvent()
|
boolean |
isPushChangeEvent()
|
boolean |
isPushDataReady()
|
boolean |
isScalar()
|
boolean |
isState()
|
boolean |
isString()
|
void |
removeProperties()
|
void |
resetPolling()
|
void |
setPollingStats(double executionDuration,
double lastUpdateTime,
double deltaTime)
|
void |
setPollRingDepth(int pollRingDepth)
|
void |
setProperties(AttributePropertiesImpl properties)
Set the attribute properties. |
void |
setValue(AttributeValue value)
write attribute |
java.lang.String |
toString()
|
void |
updateValue()
read attribute on device |
void |
updateValue(AttributeValue inValue)
set the read value |
Methods inherited from class org.tango.server.DeviceBehaviorObject |
---|
getDeniedStates, getEndState, isAllowed, setDeniedStates, setEndState, setStateMachine |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeImpl(IAttributeBehavior behavior, java.lang.String deviceName) throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
Method Detail |
---|
public void applyMemorizedValue() throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void updateValue() throws fr.esrf.Tango.DevFailed
updateValue
in interface IReadableWritable<AttributeValue>
fr.esrf.Tango.DevFailed
public void updateValue(AttributeValue inValue) throws fr.esrf.Tango.DevFailed
updateValue
in interface IReadableWritable<AttributeValue>
fr.esrf.Tango.DevFailed
public java.lang.String getLastDevFailed()
getLastDevFailed
in interface IPollable
public boolean isAlarmToHigh()
public void setValue(AttributeValue value) throws fr.esrf.Tango.DevFailed
setValue
in interface IReadableWritable<AttributeValue>
value
-
fr.esrf.Tango.DevFailed
public void setProperties(AttributePropertiesImpl properties) throws fr.esrf.Tango.DevFailed
properties
- The attribute properties
fr.esrf.Tango.DevFailed
public java.lang.String getName()
getName
in interface IPollable
public 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.DevFailed
public fr.esrf.Tango.DispLevel getDispLevel()
public int getMaxX()
public int getMaxY()
public java.lang.String toString()
toString
in class DeviceBehaviorObject
public AttributeValue getWriteValue()
IReadableWritable
getWriteValue
in interface IReadableWritable<AttributeValue>
public AttributeValue getReadValue()
IReadableWritable
getReadValue
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.DevFailed
public AttributeHistory getHistory()
public int getPollingPeriod()
getPollingPeriod
in interface IPollable
public boolean isPolled()
isPolled
in interface IPollable
public 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 IPollable
fr.esrf.Tango.DevFailed
public void resetPolling() throws fr.esrf.Tango.DevFailed
resetPolling
in interface IPollable
fr.esrf.Tango.DevFailed
public void configureAttributePropFromDb() throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public void removeProperties() throws fr.esrf.Tango.DevFailed
fr.esrf.Tango.DevFailed
public 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 java.lang.Comparable<AttributeImpl>
public boolean isDeltaAlarm()
public int getPollRingDepth()
getPollRingDepth
in interface IPollable
public void setPollRingDepth(int pollRingDepth)
setPollRingDepth
in interface IPollable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public double getExecutionDuration()
getExecutionDuration
in interface IPollable
public double getLastUpdateTime()
getLastUpdateTime
in interface IPollable
public double getDeltaTime()
getDeltaTime
in interface IPollable
public void setPollingStats(double executionDuration, double lastUpdateTime, double deltaTime)
setPollingStats
in interface IPollable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |