|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opencl.CLEventList
public final class CLEventList
Fixed size list for storing CLEvents.
Constructor Summary | |
---|---|
CLEventList(CachedBufferFactory factory,
CLEvent... events)
|
|
CLEventList(CachedBufferFactory factory,
int capacity)
|
|
CLEventList(CLEvent... events)
|
|
CLEventList(int capacity)
|
Method Summary | |
---|---|
int |
capacity()
Returns the maximum size of this list. |
void |
close()
Deprecated. use release() instead. |
CLEvent |
getEvent(int index)
|
boolean |
isReleased()
Returns true if CLResource.release() has been called. |
Iterator<CLEvent> |
iterator()
|
void |
release()
Releases all CLEvents in this list. |
int |
size()
Returns the current size of this list. |
String |
toString()
|
void |
waitForEvent(int index)
Waits for the event with the given index in this list to occur. |
void |
waitForEvents()
Waits for all events in this list to occur. |
void |
waitForEvents(int start,
int range)
Waits for all events of the specified region in this list to occur. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CLEventList(int capacity)
public CLEventList(CLEvent... events)
public CLEventList(CachedBufferFactory factory, int capacity)
public CLEventList(CachedBufferFactory factory, CLEvent... events)
Method Detail |
---|
public void waitForEvents()
public void waitForEvents(int start, int range)
public void waitForEvent(int index)
public void release()
release
in interface CLResource
@Deprecated public final void close() throws Exception
release()
instead.
close
in interface AutoCloseable
Exception
public CLEvent getEvent(int index)
public int size()
public int capacity()
public boolean isReleased()
CLResource
CLResource.release()
has been called.
isReleased
in interface CLResource
public Iterator<CLEvent> iterator()
iterator
in interface Iterable<CLEvent>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |