Public Member Functions | Protected Member Functions | Private Attributes | List of all members
org.openkinect.freenect.Freenect.NativeContext Class Reference
Inheritance diagram for org.openkinect.freenect.Freenect.NativeContext:
Inheritance graph
[legend]

Public Member Functions

 NativeContext ()
 
int numDevices ()
 
Device openDevice (int index)
 
void setLogHandler (LogHandler handler)
 
void setLogLevel (LogLevel level)
 
void shutdown ()
 

Protected Member Functions

 NativeContext (Pointer ptr)
 
void processEvents ()
 
void startEventThread ()
 
void stopEventThread ()
 

Private Attributes

EventThread eventThread
 
final NativeLogCallback logCallback
 
LogHandler logHandler
 

Detailed Description

Definition at line 61 of file Freenect.java.

Constructor & Destructor Documentation

org.openkinect.freenect.Freenect.NativeContext.NativeContext ( )
inline

Definition at line 64 of file Freenect.java.

org.openkinect.freenect.Freenect.NativeContext.NativeContext ( Pointer  ptr)
inlineprotected

Definition at line 75 of file Freenect.java.

Member Function Documentation

int org.openkinect.freenect.Freenect.NativeContext.numDevices ( )
inline

Implements org.openkinect.freenect.Context.

Definition at line 95 of file Freenect.java.

Device org.openkinect.freenect.Freenect.NativeContext.openDevice ( int  index)
inline

Implements org.openkinect.freenect.Context.

Definition at line 100 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeContext.processEvents ( )
inlineprotected

Definition at line 109 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeContext.setLogHandler ( LogHandler  handler)
inline

Implements org.openkinect.freenect.Context.

Definition at line 80 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeContext.setLogLevel ( LogLevel  level)
inline

Implements org.openkinect.freenect.Context.

Definition at line 90 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeContext.shutdown ( )
inline

Implements org.openkinect.freenect.Context.

Definition at line 128 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeContext.startEventThread ( )
inlineprotected

Definition at line 113 of file Freenect.java.

void org.openkinect.freenect.Freenect.NativeContext.stopEventThread ( )
inlineprotected

Definition at line 120 of file Freenect.java.

Member Data Documentation

EventThread org.openkinect.freenect.Freenect.NativeContext.eventThread
private

Definition at line 62 of file Freenect.java.

final NativeLogCallback org.openkinect.freenect.Freenect.NativeContext.logCallback
private
Initial value:
= new NativeLogCallback() {
@Override
public void callback (NativeDevice dev, int level, String msg) {
logHandler.onMessage(dev, LogLevel.fromInt(level), msg);
}
}

Definition at line 68 of file Freenect.java.

LogHandler org.openkinect.freenect.Freenect.NativeContext.logHandler
private

Definition at line 67 of file Freenect.java.


The documentation for this class was generated from the following file:


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Thu Jun 6 2019 19:25:39