Main Page
Namespaces
Classes
Files
File List
File Members
wrappers
java
src
main
java
org
openkinect
freenect
TiltStatus.java
Go to the documentation of this file.
1
25
package
org.openkinect.freenect;
26
27
import
java.util.HashMap;
28
import
java.util.Map;
29
30
public
enum
TiltStatus
{
31
STOPPED
(0),
32
LIMIT
(1),
33
MOVING
(4);
34
35
private
final
int
value
;
36
private
static
final
Map<Integer, TiltStatus> MAP =
new
HashMap<Integer, TiltStatus>(3);
37
static
{
38
for
(
TiltStatus
v :
TiltStatus
.values()) {
39
MAP.put(v.intValue(), v);
40
}
41
}
42
43
private
TiltStatus
(
int
value) {
44
this.value = value;
45
}
46
47
public
int
intValue
() {
48
return
value;
49
}
50
51
public
static
TiltStatus
fromInt
(
int
value) {
52
return
MAP.get(value);
53
}
54
}
org.openkinect.freenect.TiltStatus.value
final int value
Definition:
TiltStatus.java:35
org.openkinect.freenect.TiltStatus.fromInt
static TiltStatus fromInt(int value)
Definition:
TiltStatus.java:51
org.openkinect.freenect.TiltStatus.TiltStatus
TiltStatus(int value)
Definition:
TiltStatus.java:43
org.openkinect.freenect.TiltStatus
Definition:
TiltStatus.java:30
org.openkinect.freenect.TiltStatus.LIMIT
LIMIT
Definition:
TiltStatus.java:32
org.openkinect.freenect.TiltStatus.MOVING
MOVING
Definition:
TiltStatus.java:33
org.openkinect.freenect.TiltStatus.intValue
int intValue()
Definition:
TiltStatus.java:47
org.openkinect.freenect.TiltStatus.STOPPED
STOPPED
Definition:
TiltStatus.java:31
libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42