#include <ThreadedExecutor.h>
Inheritance diagram for ThreadedExecutor:
Public Methods | |
ThreadedExecutor () | |
Create a new ThreadedExecutor. | |
virtual | ~ThreadedExecutor () throw () |
Destroy a ThreadedExecutor. | |
virtual void | execute (const RunnableHandle &task) |
void | execute (Runnable *task) |
virtual void | cancel () |
virtual bool | isCanceled () |
virtual void | wait () |
virtual bool | wait (unsigned long) |
Submitting a NullTask will allow you to wait() for all real tasks being executed to complete; and not just to be serviced (started).
|
Implements Executor. |
|
Convience method
Reimplemented from Executor. |
|
Submit a light wieght task to an Executor. This will not block the calling thread very long. The submitted task will be executed by another thread.
Implements Executor. |
|
Implements Cancelable. |
|
Since a ThreadedExecutor starts a new Thread for each task, tasks are always being serviced and there is nothing to wait for.
Implements Executor. |
|
Since a ThreadedExecutor starts a new Thread for each task, tasks are always being serviced and there is nothing to wait for.
Implements Executor. |