Public Member Functions | Protected Attributes | List of all members
mesh_filter::Job Class Referenceabstract

This class is used to execute functions within the thread that holds the OpenGL context. More...

#include <filter_job.h>

Inheritance diagram for mesh_filter::Job:
Inheritance graph
[legend]

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_
 

Detailed Description

This class is used to execute functions within the thread that holds the OpenGL context.

Definition at line 53 of file filter_job.h.

Constructor & Destructor Documentation

mesh_filter::Job::Job ( )
inline

Definition at line 56 of file filter_job.h.

Member Function Documentation

void mesh_filter::Job::cancel ( )
inline

Definition at line 77 of file filter_job.h.

virtual void mesh_filter::Job::execute ( )
pure virtual
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.

Member Data Documentation

boost::condition_variable mesh_filter::Job::condition_
mutableprotected

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_
mutableprotected

Definition at line 67 of file filter_job.h.


The documentation for this class was generated from the following file:


perception
Author(s): Ioan Sucan , Jon Binney , Suat Gedikli
autogenerated on Mon Jan 15 2018 03:51:11