This class is used to execute functions within the thread that holds the OpenGL context. More...
#include <filter_job.h>
Public Member Functions | |
void | cancel () |
virtual void | execute ()=0 |
bool | isDone () const |
Job () | |
void | wait () const |
Protected Attributes | |
boost::condition_variable | condition_ |
bool | done_ |
boost::mutex | mutex_ |
This class is used to execute functions within the thread that holds the OpenGL context.
Definition at line 53 of file filter_job.h.
mesh_filter::Job::Job | ( | ) | [inline] |
Definition at line 56 of file filter_job.h.
void mesh_filter::Job::cancel | ( | ) | [inline] |
Definition at line 77 of file filter_job.h.
virtual void mesh_filter::Job::execute | ( | ) | [pure virtual] |
Implemented in mesh_filter::FilterJob< void >, and mesh_filter::FilterJob< ReturnType >.
bool mesh_filter::Job::isDone | ( | ) | const [inline] |
Definition at line 84 of file filter_job.h.
void mesh_filter::Job::wait | ( | ) | const [inline] |
Definition at line 70 of file filter_job.h.
boost::condition_variable mesh_filter::Job::condition_ [mutable, protected] |
Definition at line 66 of file filter_job.h.
bool mesh_filter::Job::done_ [protected] |
Definition at line 65 of file filter_job.h.
boost::mutex mesh_filter::Job::mutex_ [mutable, protected] |
Definition at line 67 of file filter_job.h.