Top Description Constructors Methods
com.jogamp.opencl

public Class CLUserEvent

extends CLEvent
Class Inheritance
Static Imports
com.jogamp.opencl.CLException.*, com.jogamp.opencl.llb.CL.*

Custom, user controlled event.
Author
Michael Bien
See Also
CLEvent

Constructor Summary

AccessConstructor and Description
pack-priv
CLUserEvent(final CLContext context, final long ID)

Method Summary

Modifier and TypeMethod and Description
public static CLUserEvent
create(final CLContext context)

Creates a new user event.

public CLEvent.CommandType
public CLUserEvent
setComplete()

Sets this event's status to CLEvent.ExecutionStatus#COMPLETE.

public CLUserEvent
setStatus(final CLEvent.ExecutionStatus status)

Sets the event execution status.

Inherited from com.jogamp.opencl.CLEvent:
equalsgetProfilingInfogetStatusgetStatusCodehashCodeisCompleteregisterCallbackreleasetoString

Constructor Detail

CLUserEventback to summary
pack-priv CLUserEvent(final CLContext context, final long ID)

Method Detail

createback to summary
public static CLUserEvent create(final CLContext context)

Creates a new user event.

getTypeback to summary
public CLEvent.CommandType getType()

Overrides com.jogamp.opencl.CLEvent.getType.

Returns CLEvent.CommandType#USER.

Annotations
@Override
setCompleteback to summary
public CLUserEvent setComplete()

Sets this event's status to CLEvent.ExecutionStatus#COMPLETE.

See Also
setStatus(com.jogamp.opencl.CLEvent.ExecutionStatus)
setStatusback to summary
public CLUserEvent setStatus(final CLEvent.ExecutionStatus status)

Sets the event execution status. Calls {@native clSetUserEventStatus}.