org.tango.server.attribute
Class AttributeConfiguration

java.lang.Object
  extended by org.tango.server.attribute.AttributeConfiguration
All Implemented Interfaces:
IConfigurable, PolledObjectConfig

public final class AttributeConfiguration
extends java.lang.Object
implements PolledObjectConfig, IConfigurable


Constructor Summary
AttributeConfiguration()
           
AttributeConfiguration(AttributeConfiguration config)
           
 
Method Summary
 void clear(java.lang.String deviceName)
           
 AttributePropertiesImpl getAttributeProperties()
           
 fr.esrf.Tango.DispLevel getDispLevel()
           
 fr.esrf.Tango.AttrDataFormat getFormat()
           
 int getMaxX()
           
 int getMaxY()
           
 java.lang.String getName()
          Get name of the polled object
 int getPollingPeriod()
           
 java.lang.Class<?> getScalarType()
           
 int getTangoType()
           
 java.lang.Class<?> getType()
           
 fr.esrf.Tango.AttrWriteType getWritable()
           
 boolean isCheckArchivingEvent()
           
 boolean isCheckChangeEvent()
           
 boolean isMemorized()
           
 boolean isMemorizedAtInit()
           
 boolean isPolled()
           
 boolean isPushArchiveEvent()
           
 boolean isPushChangeEvent()
           
 boolean isPushDataReady()
           
 void load(java.lang.String deviceName)
           
 void persist(java.lang.String deviceName)
           
 void setAttributeProperties(AttributePropertiesImpl attributeProperties)
           
 void setCheckArchivingEvent(boolean checkArchivingEvent)
           
 void setCheckChangeEvent(boolean checkChangeEvent)
           
 void setDispLevel(fr.esrf.Tango.DispLevel dispLevel)
           
 void setFormat(fr.esrf.Tango.AttrDataFormat format)
           
 void setMaxX(int maxX)
           
 void setMaxY(int maxY)
           
 void setMemorized(boolean isMemorized)
           
 void setMemorizedAtInit(boolean isMemorizedAtInit)
           
 void setName(java.lang.String name)
           
 void setPolled(boolean isPolled)
          Set polling
 void setPollingPeriod(int pollingPeriod)
          Set polling period
 void setPushArchiveEvent(boolean pushArchiveEvent)
           
 void setPushChangeEvent(boolean pushChangeEvent)
           
 void setPushDataReady(boolean pushDataReady)
           
 void setTangoType(int tangoType, fr.esrf.Tango.AttrDataFormat format)
          Set the attribute type with Tango type.
 void setType(java.lang.Class<?> type)
          Set the attribute type with Java class.
 void setWritable(fr.esrf.Tango.AttrWriteType writable)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeConfiguration

public AttributeConfiguration()

AttributeConfiguration

public AttributeConfiguration(AttributeConfiguration config)
Method Detail

getDispLevel

public fr.esrf.Tango.DispLevel getDispLevel()

setDispLevel

public void setDispLevel(fr.esrf.Tango.DispLevel dispLevel)

getName

public java.lang.String getName()
Description copied from interface: PolledObjectConfig
Get name of the polled object

Specified by:
getName in interface PolledObjectConfig
Returns:
the name of the polled object

getFormat

public fr.esrf.Tango.AttrDataFormat getFormat()

getWritable

public fr.esrf.Tango.AttrWriteType getWritable()

getType

public java.lang.Class<?> getType()

getScalarType

public java.lang.Class<?> getScalarType()

getMaxX

public int getMaxX()

getMaxY

public int getMaxY()

setName

public void setName(java.lang.String name)

setWritable

public void setWritable(fr.esrf.Tango.AttrWriteType writable)

setType

public void setType(java.lang.Class<?> type)
             throws fr.esrf.Tango.DevFailed
Set the attribute type with Java class. Can be scalar, array or matrix

Parameters:
type -
Throws:
fr.esrf.Tango.DevFailed

setMaxX

public void setMaxX(int maxX)

setMaxY

public void setMaxY(int maxY)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isMemorized

public boolean isMemorized()

setMemorized

public void setMemorized(boolean isMemorized)

getAttributeProperties

public AttributePropertiesImpl getAttributeProperties()

setAttributeProperties

public void setAttributeProperties(AttributePropertiesImpl attributeProperties)
                            throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

persist

public void persist(java.lang.String deviceName)
             throws fr.esrf.Tango.DevFailed
Specified by:
persist in interface IConfigurable
Throws:
fr.esrf.Tango.DevFailed

load

public void load(java.lang.String deviceName)
          throws fr.esrf.Tango.DevFailed
Specified by:
load in interface IConfigurable
Throws:
fr.esrf.Tango.DevFailed

clear

public void clear(java.lang.String deviceName)
           throws fr.esrf.Tango.DevFailed
Specified by:
clear in interface IConfigurable
Throws:
fr.esrf.Tango.DevFailed

getTangoType

public int getTangoType()

setTangoType

public void setTangoType(int tangoType,
                         fr.esrf.Tango.AttrDataFormat format)
                  throws fr.esrf.Tango.DevFailed
Set the attribute type with Tango type.

Parameters:
tangoType -
Throws:
fr.esrf.Tango.DevFailed
See Also:
for possible values

setFormat

public void setFormat(fr.esrf.Tango.AttrDataFormat format)

isMemorizedAtInit

public boolean isMemorizedAtInit()

setMemorizedAtInit

public void setMemorizedAtInit(boolean isMemorizedAtInit)

getPollingPeriod

public int getPollingPeriod()

setPollingPeriod

public void setPollingPeriod(int pollingPeriod)
Description copied from interface: PolledObjectConfig
Set polling period

Specified by:
setPollingPeriod in interface PolledObjectConfig

isPolled

public boolean isPolled()

setPolled

public void setPolled(boolean isPolled)
Description copied from interface: PolledObjectConfig
Set polling

Specified by:
setPolled in interface PolledObjectConfig

isPushDataReady

public boolean isPushDataReady()

setPushDataReady

public void setPushDataReady(boolean pushDataReady)

isPushChangeEvent

public boolean isPushChangeEvent()

setPushChangeEvent

public void setPushChangeEvent(boolean pushChangeEvent)

isCheckChangeEvent

public boolean isCheckChangeEvent()

setCheckChangeEvent

public void setCheckChangeEvent(boolean checkChangeEvent)

isPushArchiveEvent

public boolean isPushArchiveEvent()

setPushArchiveEvent

public void setPushArchiveEvent(boolean pushArchiveEvent)

isCheckArchivingEvent

public boolean isCheckArchivingEvent()

setCheckArchivingEvent

public void setCheckArchivingEvent(boolean checkArchivingEvent)


Copyright © 2012-2017. All Rights Reserved.