Package xal.smf.impl.profile
Enum Class ProfileDevice.ANGLE
- All Implemented Interfaces:
Serializable
,Comparable<ProfileDevice.ANGLE>
,Constable
- Enclosing class:
- ProfileDevice
Enumeration of the projection angles used to produce the profile data.
- Since:
- Jul 16, 2009
- Author:
- Christopher K. Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
The the array index for this plot enumeration constant.getLabel()
Returns the plot label for this enumeration constant.getSignalAttrs
(SignalAttrSet setAttrs) Extracts the proper signal attributes w.r.t. to this plane from the given set of signal attributes.getSignalPosFd
(Class<? extends SignalSet> clsData) Extracts the field descriptor for the position channel from the annotations of the givenSignalSet
-derived class type.getSignalValFd
(Class<? extends SignalSet> clsData) Extracts the field descriptor for the signal value channel from the set of acquisition descriptors.static ProfileDevice.ANGLE
Returns the enum constant of this class with the specified name.static ProfileDevice.ANGLE[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOR
the horizontal plane -
VER
the vertical plane -
DIA
the diagonal plane
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getIndex
public int getIndex()The the array index for this plot enumeration constant.- Returns:
- plot array index
- Since:
- Jul 16, 2009
-
getLabel
Returns the plot label for this enumeration constant.- Returns:
- plot label
- Since:
- Jul 16, 2009
-
getSignalAttrs
Extracts the proper signal attributes w.r.t. to this plane from the given set of signal attributes.- Parameters:
setAttrs
- set of signal attributes, one for each phase plane- Returns:
- signal attributes corresponding to this phase plane
- Since:
- Mar 26, 2014
-
getSignalPosFd
public ScadaFieldDescriptor getSignalPosFd(Class<? extends SignalSet> clsData) throws ScadaAnnotationException Extracts the field descriptor for the position channel from the annotations of the givenSignalSet
-derived class type.- Parameters:
clsData
- theData
-derived child class with DAQ annotations- Returns:
- position channel field descriptor for this plane
- Throws:
ScadaAnnotationException
- a required field of theASet
annotation was empty or annotation not found- Since:
- Sep 27, 2011
-
getSignalValFd
public ScadaFieldDescriptor getSignalValFd(Class<? extends SignalSet> clsData) throws ScadaAnnotationException Extracts the field descriptor for the signal value channel from the set of acquisition descriptors.- Parameters:
clsData
- theSignalSet
-derived child class with DAQ annotations- Returns:
- signal value channel field descriptor for this plane
- Throws:
ScadaAnnotationException
- a required field of theASet
annotation was empty or annotation not found- Since:
- Feb 22, 2011
-