
public static enum EPOSEnumerations.EposMode extends Enum<EPOSEnumerations.EposMode>
| Enum Constant and Description |
|---|
CURRENT |
HOMING |
MASTER_ENCODER |
POSITION |
PROFILE_POSITION |
PROFILE_VELOCITY |
VELOCITY |
| Modifier and Type | Method and Description |
|---|---|
int |
getMode() |
static EPOSEnumerations.EposMode |
getMode(int m)
Retrieve and returns a mode which m code is given as an argument.
|
static EPOSEnumerations.EposMode |
getModeForParameter(EPOSEnumerations.Parameter parameter)
For a given parameter, return the mode in which this parameter has to be configured.
|
EPOSEnumerations.Parameter[] |
getParameters() |
static EPOSEnumerations.EposMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPOSEnumerations.EposMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPOSEnumerations.EposMode HOMING
public static final EPOSEnumerations.EposMode PROFILE_POSITION
public static final EPOSEnumerations.EposMode PROFILE_VELOCITY
public static final EPOSEnumerations.EposMode POSITION
public static final EPOSEnumerations.EposMode MASTER_ENCODER
public static final EPOSEnumerations.EposMode VELOCITY
public static final EPOSEnumerations.EposMode CURRENT
public static EPOSEnumerations.EposMode[] values()
for (EPOSEnumerations.EposMode c : EPOSEnumerations.EposMode.values()) System.out.println(c);
public static EPOSEnumerations.EposMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getMode()
public EPOSEnumerations.Parameter[] getParameters()
public static EPOSEnumerations.EposMode getMode(int m)
m - numeric value of modepublic static EPOSEnumerations.EposMode getModeForParameter(EPOSEnumerations.Parameter parameter)
parameter - Copyright © 2018 LSST. All rights reserved.