public class NumberSpectrum extends ANumber implements INumberSpectrum
alias, attPropertiesLoaded, attribute, changeCount, config, configCount, device, error, eventError, eventType, name, nameSansDevice, periodicCount, propChanges, propertyStorage, refreshCount, skippingRefresh, state, timer, timeStamp
XMAX_ATT_PROP, XMAX_PROP, XMIN_ATT_PROP, XMIN_PROP
ALARM, CHANGING, INVALID, OK, UNKNOWN, VALID, WARNING
ACCESS_READ, ACCESS_SERVICE, ACCESS_WRITE, ARCHIVE_EVENT, ATT_CONF_EVENT, Attr_AdmName, Attr_Description, Attr_Name, Attr_State, Attr_Status, Attr_Unknown, ATTRIBUTE, BY_CLASS, BY_DEVICE, BY_PROCESS, CHANGE_EVENT, COMMAND, CONTROL_SYSTEM, DATA_READY_EVENT, DEFAULT_LOCK_VALIDITY, eventNames, INTERFACE_CHANGE, LOGGING_CONSOLE_TARGET, LOGGING_CONSOLE_TARGET_ID, LOGGING_DEBUG, LOGGING_DEF_RFT, LOGGING_DEVICE_TARGET, LOGGING_DEVICE_TARGET_ID, LOGGING_ERROR, LOGGING_FATAL, LOGGING_FILE_TARGET, LOGGING_FILE_TARGET_ID, LOGGING_INFO, LOGGING_LEVELS, LOGGING_MAX_RFT, LOGGING_MIN_RFT, LOGGING_OFF, LOGGING_SEPARATOR, LOGGING_UNKNOWN_TARGET_ID, LOGGING_WARN, NO_SYNC, NOT_STATELESS, NotANumber, Op_BlackBox, Op_Command, Op_Command_2, Op_Command_inout, Op_Command_inout_2, Op_Command_inout_history_2, Op_Command_list, Op_Command_list_2, Op_Get_Attr_Config, Op_Get_Attr_Config_2, Op_Info, Op_Ping, Op_Read_Attr, Op_Read_Attr_2, Op_Read_Attr_history_2, Op_Set_Attr_Config, Op_Unknown, Op_Write_Attr, PERIODIC_EVENT, PIPE_EVENT, QUALITY_EVENT, Req_Attribute, Req_Operation, Req_Unknown, SERVICE_PROP_NAME, STATELESS, Tango_AllAttr, Tango_AllAttr_3, Tango_AlrmValueNotSpec, Tango_AssocWritNotSpec, Tango_AttrDataFormatName, Tango_CLNT_TIMEOUT, Tango_CmdArgTypeName, Tango_CONST_DEV_STRING, Tango_DbObjName, Tango_DEFAULT_POLL_OLD_FACTOR, Tango_DEFAULT_TIMEOUT, Tango_DEFAULT_TIMEOUT_SEC, Tango_DefaultBlackBoxDepth, Tango_DefaultDocUrl, Tango_DefaultPollRingDepth, Tango_DefaultWritableProp, Tango_DELTA_T, Tango_DescNotSet, Tango_DescNotSpec, Tango_DEV_BOOLEAN, Tango_DEV_CHAR, Tango_DEV_DOUBLE, Tango_DEV_ENCODED, Tango_DEV_ENUM, Tango_DEV_FLOAT, Tango_DEV_INT, Tango_DEV_LONG, Tango_DEV_LONG64, Tango_DEV_PIPE_BLOB, Tango_DEV_SHORT, Tango_DEV_STATE, Tango_DEV_STRING, Tango_DEV_UCHAR, Tango_DEV_ULONG, Tango_DEV_ULONG64, Tango_DEV_USHORT, Tango_DEV_VOID, Tango_DevStateName, Tango_DEVVAR_CHARARRAY, Tango_DEVVAR_DOUBLEARRAY, Tango_DEVVAR_DOUBLESTRINGARRAY, Tango_DEVVAR_FLOATARRAY, Tango_DEVVAR_LONG64ARRAY, Tango_DEVVAR_LONGARRAY, Tango_DEVVAR_LONGSTRINGARRAY, Tango_DEVVAR_SHORTARRAY, Tango_DEVVAR_STRINGARRAY, Tango_DEVVAR_ULONG64ARRAY, Tango_DEVVAR_ULONGARRAY, Tango_DEVVAR_USHORTARRAY, Tango_DevVersion, Tango_DISCARD_THRESHOLD, Tango_DispUnitNotSpec, Tango_DSDeviceDomain, Tango_EXPERT_ATTR, Tango_EXPERT_CMD, Tango_FormatNotSpec, Tango_InitialOutput, Tango_LabelNotSpec, TANGO_LOG_PATH, Tango_MAX_TRANSFER_SIZE, Tango_MaxServerNameLength, Tango_MIN_POLL_PERIOD, Tango_OPERATOR_ATTR, Tango_OPERATOR_CMD, Tango_POLL_ADD_OBJ, Tango_POLL_ATTR, Tango_POLL_CMD, Tango_POLL_REM_DEV, Tango_POLL_REM_OBJ, Tango_POLL_START, Tango_POLL_STOP, Tango_POLL_UPD_PERIOD, Tango_PollAttribute, Tango_PollCommand, Tango_QualityName, Tango_REL_1, Tango_REL_2, Tango_ResNotDefined, Tango_StdUnitNotSpec, Tango_SysProperty, Tango_TG_IMP_MINOR_DEVFAILED, Tango_TG_IMP_MINOR_NON_DEVFAILED, Tango_TG_IMP_MINOR_TO, Tango_TgLibVers, Tango_UnitNotSpec, USER_EVENT
Constructor and Description |
---|
NumberSpectrum() |
Modifier and Type | Method and Description |
---|---|
void |
addSpectrumListener(ISpectrumListener l) |
void |
change(fr.esrf.TangoApi.events.TangoChangeEvent evt) |
protected void |
checkDimensions(double[] o) |
void |
dispatch(fr.esrf.TangoApi.DeviceAttribute attValue)
Method used by optimized AttributePolledList (one read per device)
|
void |
dispatchError(fr.esrf.Tango.DevFailed e)
Method used by optimized AttributePolledList (one read per device)
|
void |
freeInternalData() |
double |
getMaxx() |
java.lang.String |
getMaxxAttName() |
int |
getMaxYDimension()
getMaxYDimension returns the max y-dimension of the
attribute |
double |
getMinx() |
java.lang.String |
getMinxAttName() |
INumberSpectrumHistory[] |
getNumberSpectrumDeviceHistory() |
fr.esrf.tangoatk.core.attribute.ANumberSpectrumHelper |
getNumberSpectrumHelper() |
INumberSpectrumHistory[] |
getNumberSpectrumHistory() |
double[] |
getSpectrumDeviceSetPoint() |
double[] |
getSpectrumDeviceValue() |
double[] |
getSpectrumSetPoint() |
double[] |
getSpectrumStandardSetPoint() |
double[] |
getSpectrumStandardValue() |
double[] |
getSpectrumValue() |
double[][] |
getValue() |
java.lang.String |
getVersion() |
int |
getYDimension()
getYDimension returns the actual y-dimension of the
attribute |
boolean |
hasMinxMaxxAttributes() |
boolean |
hasMinxMaxxProperties() |
protected void |
insert(double[] d) |
void |
loadAttProperties()
Method used by some attribute viewers to force the reading of some specific at setModel().
|
void |
periodic(fr.esrf.TangoApi.events.TangoPeriodicEvent evt) |
void |
refresh()
refreshes the listeners of this particular object.
|
void |
removeSpectrumListener(ISpectrumListener l) |
void |
setValue(double[] d) |
void |
setValue(double[][] d) |
getDeltaT, getDeltaVal, getMaxAlarm, getMaxValue, getMaxWarning, getMinAlarm, getMinValue, getMinWarning, getNumberHelper, getValueInDeviceUnit, getValueInDisplayUnit, setConfiguration, setDeltaT, setDeltaT, setDeltaVal, setDeltaVal, setMaxAlarm, setMaxAlarm, setMaxValue, setMaxValue, setMaxWarning, setMaxWarning, setMinAlarm, setMinAlarm, setMinValue, setMinValue, setMinWarning, setMinWarning, setNumberHelper
addErrorListener, addSetErrorListener, addStateListener, areAttPropertiesLoaded, attConfig, checkDimensions, checkDimensions, checkDimensions, connectionlessInit, flatten, getAlias, getAttribute, getChangeCount, getConfigCount, getDescription, getDevice, getDeviceAttribute, getDisplayUnit, getDisplayUnitFactor, getEventType, getFormat, getHeight, getLabel, getLevel, getListenerList, getMaxXDimension, getName, getNameSansDevice, getPeriodicCount, getPropChanges, getProperty, getPropertyMap, getPropertyNames, getPropertyStorage, getRefreshCount, getStandardUnit, getStandardUnitFactor, getState, getSubscriptionError, getTangoDataType, getType, getUnit, getWidth, getXDimension, hasEvents, init, isExpert, isOperator, isSkippingRefresh, isWritable, readAttError, readAttHistoryFromNetwork, readDeviceValueFromNetwork, readValueFromNetwork, reconnectAtt, removeErrorListener, removeSetErrorListener, removeStateListener, serializeInit, setAlias, setAttError, setDescription, setDevice, setLabel, setName, setProperty, setProperty, setPropertyStorage, setSkippingRefresh, setState, setState, setState, storeConfig, toString, writeAtt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeltaT, getDeltaVal, getMaxAlarm, getMaxValue, getMaxWarning, getMinAlarm, getMinValue, getMinWarning, setDeltaT, setDeltaVal, setMaxAlarm, setMaxValue, setMaxWarning, setMinAlarm, setMinValue, setMinWarning
addSetErrorListener, addStateListener, areAttPropertiesLoaded, getDescription, getDisplayUnit, getDisplayUnitFactor, getFormat, getHeight, getLabel, getMaxXDimension, getStandardUnit, getStandardUnitFactor, getState, getType, getUnit, getWidth, getXDimension, hasEvents, isSkippingRefresh, isWritable, removeSetErrorListener, removeStateListener, setDescription, setLabel, setName, setProperty, setProperty, setSkippingRefresh
addErrorListener, getAlias, getDevice, getListenerList, getName, getNameSansDevice, getProperty, getPropertyMap, isExpert, isOperator, removeErrorListener, setAlias, storeConfig
public fr.esrf.tangoatk.core.attribute.ANumberSpectrumHelper getNumberSpectrumHelper()
public void addSpectrumListener(ISpectrumListener l)
addSpectrumListener
in interface INumberSpectrum
public void removeSpectrumListener(ISpectrumListener l)
removeSpectrumListener
in interface INumberSpectrum
public void setValue(double[][] d)
public double[][] getValue()
public void setValue(double[] d)
setValue
in interface INumberSpectrum
protected void checkDimensions(double[] o)
protected void insert(double[] d)
public void refresh()
IRefreshee
refresh
in interface IRefreshee
public void dispatch(fr.esrf.TangoApi.DeviceAttribute attValue)
AAttribute
dispatch
in class AAttribute
attValue
- Attribute valuepublic void dispatchError(fr.esrf.Tango.DevFailed e)
AAttribute
dispatchError
in class AAttribute
e
- Attribute arrorpublic double[] getSpectrumValue()
getSpectrumValue
in interface INumberSpectrum
public double[] getSpectrumDeviceValue()
getSpectrumDeviceValue
in interface INumberSpectrum
public double[] getSpectrumStandardValue()
getSpectrumStandardValue
in interface INumberSpectrum
public double[] getSpectrumSetPoint()
getSpectrumSetPoint
in interface INumberSpectrum
public double[] getSpectrumDeviceSetPoint()
getSpectrumDeviceSetPoint
in interface INumberSpectrum
public double[] getSpectrumStandardSetPoint()
getSpectrumStandardSetPoint
in interface INumberSpectrum
public INumberSpectrumHistory[] getNumberSpectrumHistory()
getNumberSpectrumHistory
in interface INumberSpectrum
public INumberSpectrumHistory[] getNumberSpectrumDeviceHistory()
getNumberSpectrumDeviceHistory
in interface INumberSpectrum
public void periodic(fr.esrf.TangoApi.events.TangoPeriodicEvent evt)
periodic
in interface fr.esrf.TangoApi.events.ITangoPeriodicListener
public void change(fr.esrf.TangoApi.events.TangoChangeEvent evt)
change
in interface fr.esrf.TangoApi.events.ITangoChangeListener
public void freeInternalData()
freeInternalData
in class AAttribute
public java.lang.String getVersion()
getVersion
in class AAttribute
public int getYDimension()
IAttribute
getYDimension
returns the actual y-dimension of the
attributegetYDimension
in interface IAttribute
getYDimension
in class AAttribute
int
valuepublic int getMaxYDimension()
IAttribute
getMaxYDimension
returns the max y-dimension of the
attributegetMaxYDimension
in interface IAttribute
getMaxYDimension
in class AAttribute
int
valuepublic boolean hasMinxMaxxAttributes()
hasMinxMaxxAttributes
in interface INumberSpectrum
public boolean hasMinxMaxxProperties()
hasMinxMaxxProperties
in interface INumberSpectrum
public java.lang.String getMinxAttName()
getMinxAttName
in interface INumberSpectrum
public java.lang.String getMaxxAttName()
getMaxxAttName
in interface INumberSpectrum
public double getMinx()
getMinx
in interface INumberSpectrum
public double getMaxx()
getMaxx
in interface INumberSpectrum
public void loadAttProperties()
IAttribute
loadAttProperties
in interface IAttribute
loadAttProperties
in class AAttribute