org.epics.pvmanager.data
Interface VEnum
- All Superinterfaces:
- Alarm, Enum, Scalar<java.lang.String>, Time
public interface VEnum
- extends Scalar<java.lang.String>, Enum, Alarm, Time
Scalar enum with alarm and timestamp.
Given that enumerated values are of very limited use without
the labels, and that the current label is the data most likely used, the
enum is of type String
. The index is provided as an extra field, and
the list of all possible values is always provided.
- Author:
- carcassi
Method Summary |
int |
getIndex()
Return the index of the value in the list of labels. |
Methods inherited from interface org.epics.pvmanager.data.Scalar |
getValue |
Methods inherited from interface org.epics.pvmanager.data.Enum |
getLabels |
getIndex
int getIndex()
- Return the index of the value in the list of labels.
- Returns:
- the current index
Copyright © 2010. All Rights Reserved.