org.jouvieje.fmoddesigner
Class EventQueue

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmoddesigner.EventQueue

public class EventQueue
extends Pointer

'EventQueue' API


Constructor Summary
EventQueue()
           
 
Method Summary
 FMOD_RESULT add(EventQueueEntry entry, boolean allow_duplicates)
           
static EventQueue[] allocate(int length)
          Allocate and initialize a new EventQueue[].
static EventQueue asEventQueue(Pointer pointer)
          Create a view of the Pointer object as a EventQueue object.
 FMOD_RESULT clear(boolean stopallevents)
           
 FMOD_RESULT dump()
           
 FMOD_RESULT excludeDuckingCategory(EventCategory category)
           
 FMOD_RESULT findFirstEntry(EventQueueEntry entry)
           
 FMOD_RESULT findNextEntry(EventQueueEntry entry)
           
 FMOD_RESULT getMemoryInfo(int memorybits, int event_memorybits, java.nio.IntBuffer memoryused, FMOD_MEMORY_USAGE_DETAILS memoryused_details)
           
 FMOD_RESULT getPaused(java.nio.ByteBuffer paused)
           
 FMOD_RESULT getUserData(Pointer userdata)
           
 FMOD_RESULT includeDuckingCategory(EventCategory category, float ducked_volume, float unducked_volume, int duck_time, int unduck_time)
           
 FMOD_RESULT release()
           
 FMOD_RESULT remove(EventQueueEntry entry)
           
 FMOD_RESULT removeHead()
           
 FMOD_RESULT setCallback(FMOD_EVENTQUEUE_CALLBACK callback, Pointer callbackuserdata)
           
 FMOD_RESULT setPaused(boolean paused)
           
 FMOD_RESULT setUserData(Pointer userdata)
           
 
Methods inherited from class org.jouvieje.fmodex.utils.Pointer
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventQueue

public EventQueue()
Method Detail

asEventQueue

public static EventQueue asEventQueue(Pointer pointer)
Create a view of the Pointer object as a EventQueue object.
This view is valid only if the memory holded by the Pointer holds a EventQueue object.


allocate

public static EventQueue[] allocate(int length)
Allocate and initialize a new EventQueue[].

Parameters:
length - length of the array returned.

release

public FMOD_RESULT release()

add

public FMOD_RESULT add(EventQueueEntry entry,
                       boolean allow_duplicates)

remove

public FMOD_RESULT remove(EventQueueEntry entry)

removeHead

public FMOD_RESULT removeHead()

clear

public FMOD_RESULT clear(boolean stopallevents)

findFirstEntry

public FMOD_RESULT findFirstEntry(EventQueueEntry entry)

findNextEntry

public FMOD_RESULT findNextEntry(EventQueueEntry entry)

setPaused

public FMOD_RESULT setPaused(boolean paused)

getPaused

public FMOD_RESULT getPaused(java.nio.ByteBuffer paused)

includeDuckingCategory

public FMOD_RESULT includeDuckingCategory(EventCategory category,
                                          float ducked_volume,
                                          float unducked_volume,
                                          int duck_time,
                                          int unduck_time)

excludeDuckingCategory

public FMOD_RESULT excludeDuckingCategory(EventCategory category)

setCallback

public FMOD_RESULT setCallback(FMOD_EVENTQUEUE_CALLBACK callback,
                               Pointer callbackuserdata)

setUserData

public FMOD_RESULT setUserData(Pointer userdata)

getUserData

public FMOD_RESULT getUserData(Pointer userdata)

dump

public FMOD_RESULT dump()

getMemoryInfo

public FMOD_RESULT getMemoryInfo(int memorybits,
                                 int event_memorybits,
                                 java.nio.IntBuffer memoryused,
                                 FMOD_MEMORY_USAGE_DETAILS memoryused_details)


NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/

(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)