org.tango.server.dynamic.attribute
Class PublisherAttribute
java.lang.Object
org.tango.server.dynamic.attribute.PublisherAttribute
- All Implemented Interfaces:
- IAttributeBehavior, ISetValueUpdater
public final class PublisherAttribute
- extends java.lang.Object
- implements IAttributeBehavior, ISetValueUpdater
Constructor Summary |
PublisherAttribute(java.lang.String... config)
Create a dynamic attribute publisher |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublisherAttribute
public PublisherAttribute(java.lang.String... config)
throws fr.esrf.Tango.DevFailed
- Create a dynamic attribute publisher
- Parameters:
config
- config[0] attribute name; config[1] type (ie. double, double[], double[][])
- Throws:
java.lang.ClassNotFoundException
fr.esrf.Tango.DevFailed
getConfiguration
public AttributeConfiguration getConfiguration()
throws fr.esrf.Tango.DevFailed
- Specified by:
getConfiguration
in interface IAttributeBehavior
- Returns:
- attribute configuration
- Throws:
fr.esrf.Tango.DevFailed
getValue
public AttributeValue getValue()
throws fr.esrf.Tango.DevFailed
- Description copied from interface:
IAttributeBehavior
- Read attribute
- Specified by:
getValue
in interface IAttributeBehavior
- Returns:
- the read value
- Throws:
fr.esrf.Tango.DevFailed
setValue
public void setValue(AttributeValue value)
throws fr.esrf.Tango.DevFailed
- Description copied from interface:
IAttributeBehavior
- Write attribute
- Specified by:
setValue
in interface IAttributeBehavior
- Throws:
fr.esrf.Tango.DevFailed
getStateMachine
public StateMachineBehavior getStateMachine()
- Specified by:
getStateMachine
in interface IAttributeBehavior
- Returns:
- The state machine of this attribute
getSetValue
public AttributeValue getSetValue()
throws fr.esrf.Tango.DevFailed
- Specified by:
getSetValue
in interface ISetValueUpdater
- Throws:
fr.esrf.Tango.DevFailed
Copyright © 2012-2017. All Rights Reserved.