Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.OSXHIDQueue Class Reference

Public Member Functions

 OSXHIDQueue (long address, int queue_depth) throws IOException
 
final synchronized void setQueueDepth (int queue_depth) throws IOException
 
final OSXComponent mapEvent (OSXEvent event)
 
final synchronized void release () throws IOException
 
final void addElement (OSXHIDElement element, OSXComponent component) throws IOException
 
final void removeElement (OSXHIDElement element) throws IOException
 
final synchronized boolean getNextEvent (OSXEvent event) throws IOException
 

Private Member Functions

final void createQueue (int queue_depth) throws IOException
 
final void open (int queue_depth) throws IOException
 
final void close () throws IOException
 
final void start () throws IOException
 
final void stop () throws IOException
 
final void checkReleased () throws IOException
 

Static Private Member Functions

static final native void nOpen (long queue_address, int queue_depth) throws IOException
 
static final native void nClose (long queue_address) throws IOException
 
static final native void nStart (long queue_address) throws IOException
 
static final native void nStop (long queue_address) throws IOException
 
static final native void nReleaseQueue (long queue_address) throws IOException
 
static final native void nAddElement (long queue_address, long cookie) throws IOException
 
static final native void nRemoveElement (long queue_address, long cookie) throws IOException
 
static final native boolean nGetNextEvent (long queue_address, OSXEvent event) throws IOException
 

Private Attributes

final Map map = new HashMap()
 
final long queue_address
 
boolean released
 

Detailed Description

Author
elias
Version
1.0