public class PVFieldToVShortArray extends AlarmTimeDisplayExtractor implements VShortArray
convert, format, lowerAlarmLimit, lowerCtrlLimit, lowerDisplayLimit, lowerWarningLimit, units, upperAlarmLimit, upperCtrlLimit, upperDisplayLimit, upperWarningLimit
alarmSeverity, alarmSeverityMapLUT, alarmStatus, alarmStatusMapLUT, isTimeValid, timeStamp, timeUserTag
Constructor and Description |
---|
PVFieldToVShortArray(org.epics.pvdata.pv.PVField field,
org.epics.pvdata.pv.PVStructure pvParent,
boolean disconnected) |
PVFieldToVShortArray(org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected) |
PVFieldToVShortArray(String fieldName,
org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected) |
Modifier and Type | Method and Description |
---|---|
org.epics.util.array.ListShort |
getData()
Return the object containing the array data.
|
List<ArrayDimensionDisplay> |
getDimensionDisplay()
Returns the boundaries of each cell.
|
org.epics.util.array.ListInt |
getSizes()
The shape of the multidimensional array.
|
String |
toString() |
getDoubleValue, getFormat, getLowerAlarmLimit, getLowerCtrlLimit, getLowerDisplayLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDisplayLimit, getUpperWarningLimit
getAlarmName, getAlarmSeverity, getTimestamp, getTimeUserTag, isTimeValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlarmName, getAlarmSeverity
getTimestamp, getTimeUserTag, isTimeValid
getFormat, getLowerAlarmLimit, getLowerCtrlLimit, getLowerDisplayLimit, getLowerWarningLimit, getUnits, getUpperAlarmLimit, getUpperCtrlLimit, getUpperDisplayLimit, getUpperWarningLimit
public PVFieldToVShortArray(org.epics.pvdata.pv.PVStructure pvField, boolean disconnected)
public PVFieldToVShortArray(String fieldName, org.epics.pvdata.pv.PVStructure pvField, boolean disconnected)
public PVFieldToVShortArray(org.epics.pvdata.pv.PVField field, org.epics.pvdata.pv.PVStructure pvParent, boolean disconnected)
public org.epics.util.array.ListInt getSizes()
Array
The size of the returned list will be the number of the dimension of the array. Each number represents the size of each dimension. The total number of elements in the array is therefore the product of all the numbers in the list returned.
public org.epics.util.array.ListShort getData()
Array
This method will either return a List
or a ListNumber
depending of the array type. A collection is returned, instead of an
array, so that the type implementation can be immutable or can at
least try to prevent modifications. ListNumber has also several
advantages over the Java arrays, including the ability to iterate the list
regardless of numeric type.
If a numeric array is actually needed, refer to CollectionNumbers
.
getData
in interface Array
getData
in interface VNumberArray
getData
in interface VShortArray
public List<ArrayDimensionDisplay> getDimensionDisplay()
VNumberArray
getDimensionDisplay
in interface VNumberArray
Copyright © 2010–2015. All rights reserved.