|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opencl.CLObject
com.jogamp.opencl.CLEvent
com.jogamp.opencl.CLUserEvent
public class CLUserEvent
Custom, user controlled event.
CLEvent
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jogamp.opencl.CLEvent |
---|
CLEvent.CommandType, CLEvent.ExecutionStatus, CLEvent.ProfilingCommand |
Field Summary |
---|
Fields inherited from class com.jogamp.opencl.CLObject |
---|
context, ID |
Method Summary | |
---|---|
void |
close()
Deprecated. This method is not intended to be called from client code. |
static CLUserEvent |
create(CLContext context)
Creates a new user event. |
CLEvent.CommandType |
getType()
Returns CLEvent.CommandType.USER . |
boolean |
isReleased()
Returns true if CLResource.release() has been called. |
CLUserEvent |
setComplete()
Sets this event's status to CLEvent.ExecutionStatus.COMPLETE . |
CLUserEvent |
setStatus(CLEvent.ExecutionStatus status)
Sets the event execution status. |
Methods inherited from class com.jogamp.opencl.CLEvent |
---|
equals, getProfilingInfo, getStatus, getStatusCode, hashCode, isComplete, registerCallback, release, toString |
Methods inherited from class com.jogamp.opencl.CLObject |
---|
getContext, getID, getPlatform |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static CLUserEvent create(CLContext context)
public CLUserEvent setStatus(CLEvent.ExecutionStatus status)
public CLUserEvent setComplete()
CLEvent.ExecutionStatus.COMPLETE
.
setStatus(com.jogamp.opencl.CLEvent.ExecutionStatus)
public CLEvent.CommandType getType()
CLEvent.CommandType.USER
.
getType
in class CLEvent
@Deprecated public final void close()
AutoCloseable
.
Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.
close
in interface AutoCloseable
AutoCloseable
public boolean isReleased()
CLResource
CLResource.release()
has been called.
isReleased
in interface CLResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |