|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<SensorType>
cz.cuni.amis.pogamut.usar2004.agent.module.datatypes.SensorType
public enum SensorType
List of all Robot sensor Types. Each type can possibly represent more kinds of sensor of same type. For each enum record, there exists relevant Class which can be returned on demand.
| Method Summary | |
|---|---|
Class |
getModuleClass()
Notice that this method is not static. |
static SensorType |
getType(String type)
For each sensor type it chacks if type matches one of kinds. |
static SensorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SensorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SensorType ENCODER_SENSOR
public static final SensorType ACCELERATION_SENSOR
public static final SensorType GPS_SENSOR
public static final SensorType HUMAN_MOTION_DETECTION
public static final SensorType INS_SENSOR
public static final SensorType LASER_SENSOR
public static final SensorType ODOMETRY_SENSOR
public static final SensorType RFID_SENSOR
public static final SensorType RANGE_SENSOR
public static final SensorType SOUND_SENSOR
public static final SensorType TACHOMETER
public static final SensorType TOUCH_SENSOR
public static final SensorType VICTIM_SENSOR
public static final SensorType HELPER_SENSOR
public static final SensorType GROUND_TRUTH
public static final SensorType UNKNOWN_SENSOR
| Method Detail |
|---|
public static SensorType[] values()
for (SensorType c : SensorType.values()) System.out.println(c);
public static SensorType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static SensorType getType(String type)
type - String representation or kind of Sensor
public Class getModuleClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||