moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
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

 Job ()
 
virtual ~Job ()=default
 
void wait () const
 
virtual void execute ()=0
 
void cancel ()
 
bool isDone () const
 

Protected Attributes

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

Detailed Description

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

Definition at line 49 of file filter_job.h.

Constructor & Destructor Documentation

◆ Job()

mesh_filter::Job::Job ( )
inline

Definition at line 52 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 75 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 82 of file filter_job.h.

◆ wait()

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

Definition at line 68 of file filter_job.h.

Here is the caller graph for this function:

Member Data Documentation

◆ condition_

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

Definition at line 64 of file filter_job.h.

◆ done_

bool mesh_filter::Job::done_
protected

Definition at line 63 of file filter_job.h.

◆ mutex_

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

Definition at line 65 of file filter_job.h.


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