com.jogamp.opengl.impl
Class GLRunnableTask

java.lang.Object
  extended by com.jogamp.opengl.impl.GLRunnableTask
All Implemented Interfaces:
GLRunnable

public class GLRunnableTask
extends Object
implements GLRunnable

Helper class to provide a Runnable queue implementation with a Runnable wrapper which notifies after execution for the invokeAndWait() semantics.


Constructor Summary
GLRunnableTask(GLRunnable runnable, Object notifyObject, boolean catchExceptions)
           
 
Method Summary
 Throwable getThrowable()
           
 boolean isExecuted()
           
 void run(GLAutoDrawable drawable)
          Called by the drawable to initiate one-shot OpenGL commands by the client, like GLEventListener.display(GLAutoDrawable).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLRunnableTask

public GLRunnableTask(GLRunnable runnable,
                      Object notifyObject,
                      boolean catchExceptions)
Method Detail

run

public void run(GLAutoDrawable drawable)
Description copied from interface: GLRunnable
Called by the drawable to initiate one-shot OpenGL commands by the client, like GLEventListener.display(GLAutoDrawable).

Specified by:
run in interface GLRunnable

isExecuted

public boolean isExecuted()

getThrowable

public Throwable getThrowable()


Copyright 2010 JogAmp Community.