moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | List of all members
mesh_filter::FilterJob< ReturnType > Class Template Reference

#include <filter_job.h>

Inheritance diagram for mesh_filter::FilterJob< ReturnType >:
Inheritance graph
[legend]
Collaboration diagram for mesh_filter::FilterJob< ReturnType >:
Collaboration graph
[legend]

Public Member Functions

 FilterJob (const std::function< ReturnType()> &exec)
 
void execute () override
 
const ReturnType & getResult () const
 
- Public Member Functions inherited from mesh_filter::Job
 Job ()
 
virtual ~Job ()=default
 
void wait () const
 
void cancel ()
 
bool isDone () const
 

Additional Inherited Members

- Protected Attributes inherited from mesh_filter::Job
bool done_
 
std::condition_variable condition_
 
std::mutex mutex_
 

Detailed Description

template<typename ReturnType>
class mesh_filter::FilterJob< ReturnType >

Definition at line 88 of file filter_job.h.

Constructor & Destructor Documentation

◆ FilterJob()

template<typename ReturnType >
mesh_filter::FilterJob< ReturnType >::FilterJob ( const std::function< ReturnType()> &  exec)
inline

Definition at line 91 of file filter_job.h.

Member Function Documentation

◆ execute()

template<typename ReturnType >
void mesh_filter::FilterJob< ReturnType >::execute
overridevirtual

Implements mesh_filter::Job.

Definition at line 103 of file filter_job.h.

Here is the caller graph for this function:

◆ getResult()

template<typename ReturnType >
const ReturnType & mesh_filter::FilterJob< ReturnType >::getResult

Definition at line 114 of file filter_job.h.

Here is the caller graph for this function:

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