public final class ProxyAttribute extends Object implements IAttributeBehavior, ISetValueUpdater
MultiAttributeProxy| Constructor and Description |
|---|
ProxyAttribute(String attributeName,
String attributeProxyName,
boolean isReadyOnly) |
ProxyAttribute(String attributeName,
String attributeProxyName,
boolean isReadyOnly,
boolean autoUpdate)
|
| Modifier and Type | Method and Description |
|---|---|
AttributeConfiguration |
getConfiguration() |
AttributeValue |
getSetValue() |
StateMachineBehavior |
getStateMachine() |
AttributeValue |
getValue()
Read attribute
|
void |
setReadValue(AttributeValue readValue)
Update the read value
|
void |
setValue(AttributeValue value)
Write attribute
|
public ProxyAttribute(String attributeName, String attributeProxyName, boolean isReadyOnly) throws fr.esrf.Tango.DevFailed
attributeName - The name of this attributeattributeProxyName - The full name of the proxy attributeisReadyOnly - Force this attribute to be read only even if proxy is read & writefr.esrf.Tango.DevFailedpublic ProxyAttribute(String attributeName, String attributeProxyName, boolean isReadyOnly, boolean autoUpdate) throws fr.esrf.Tango.DevFailed
autoUpdate - getValue will not read value from proxy. The value will be feeded with
setReadValue(AttributeValue)fr.esrf.Tango.DevFailedpublic AttributeValue getValue() throws fr.esrf.Tango.DevFailed
IAttributeBehaviorgetValue in interface IAttributeBehaviorfr.esrf.Tango.DevFailedpublic void setValue(AttributeValue value) throws fr.esrf.Tango.DevFailed
IAttributeBehaviorsetValue in interface IAttributeBehaviorfr.esrf.Tango.DevFailedpublic AttributeConfiguration getConfiguration()
getConfiguration in interface IAttributeBehaviorpublic StateMachineBehavior getStateMachine()
getStateMachine in interface IAttributeBehaviorpublic void setReadValue(AttributeValue readValue)
readValue - public AttributeValue getSetValue() throws fr.esrf.Tango.DevFailed
getSetValue in interface ISetValueUpdaterfr.esrf.Tango.DevFailedCopyright © 2012–2017 Tango Controls. All rights reserved.