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
 
virtual ~Job ()=default
 

Protected Attributes

std::condition_variable condition_
 
bool done_
 
std::mutex mutex_
 

Detailed Description

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

Definition at line 81 of file filter_job.h.

Constructor & Destructor Documentation

◆ Job()

mesh_filter::Job::Job ( )
inline

Definition at line 84 of file filter_job.h.

◆ ~Job()

virtual mesh_filter::Job::~Job ( )
virtualdefault

Member Function Documentation

◆ cancel()

void mesh_filter::Job::cancel ( )
inline

Definition at line 107 of file filter_job.h.

◆ execute()

virtual void mesh_filter::Job::execute ( )
pure virtual

◆ isDone()

bool mesh_filter::Job::isDone ( ) const
inline

Definition at line 114 of file filter_job.h.

◆ wait()

void mesh_filter::Job::wait ( ) const
inline

Definition at line 100 of file filter_job.h.

Member Data Documentation

◆ condition_

std::condition_variable mesh_filter::Job::condition_
mutableprotected

Definition at line 96 of file filter_job.h.

◆ done_

bool mesh_filter::Job::done_
protected

Definition at line 95 of file filter_job.h.

◆ mutex_

std::mutex mesh_filter::Job::mutex_
mutableprotected

Definition at line 97 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 Fri Jun 21 2024 02:26:30