com.jogamp.opencl
Enum CLEvent.ExecutionStatus

java.lang.Object
  extended by java.lang.Enum<CLEvent.ExecutionStatus>
      extended by com.jogamp.opencl.CLEvent.ExecutionStatus
All Implemented Interfaces:
Serializable, Comparable<CLEvent.ExecutionStatus>
Enclosing class:
CLEvent

public static enum CLEvent.ExecutionStatus
extends Enum<CLEvent.ExecutionStatus>


Enum Constant Summary
COMPLETE
          The command has completed.
ERROR
          The command did not complete because of an error.
QUEUED
          Command has been enqueued in the command-queue.
RUNNING
          Device is currently executing this command.
SUBMITTED
          Enqueued command has been submitted by the host to the device associated with the command-queue.
 
Field Summary
 int STATUS
          Value of wrapped OpenCL command execution status.
 
Method Summary
static CLEvent.ExecutionStatus valueOf(int status)
           
static CLEvent.ExecutionStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CLEvent.ExecutionStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUEUED

public static final CLEvent.ExecutionStatus QUEUED
Command has been enqueued in the command-queue.


SUBMITTED

public static final CLEvent.ExecutionStatus SUBMITTED
Enqueued command has been submitted by the host to the device associated with the command-queue.


RUNNING

public static final CLEvent.ExecutionStatus RUNNING
Device is currently executing this command.


COMPLETE

public static final CLEvent.ExecutionStatus COMPLETE
The command has completed.


ERROR

public static final CLEvent.ExecutionStatus ERROR
The command did not complete because of an error.

Field Detail

STATUS

public final int STATUS
Value of wrapped OpenCL command execution status.

Method Detail

values

public static CLEvent.ExecutionStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CLEvent.ExecutionStatus c : CLEvent.ExecutionStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CLEvent.ExecutionStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static CLEvent.ExecutionStatus valueOf(int status)