Public Member Functions | Private Attributes | 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]

Public Member Functions

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

Private Attributes

boost::function< ReturnType()> exec_
 
ReturnType result_
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 90 of file filter_job.h.

Constructor & Destructor Documentation

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

Definition at line 93 of file filter_job.h.

Member Function Documentation

template<typename ReturnType >
void mesh_filter::FilterJob< ReturnType >::execute ( )
virtual

Implements mesh_filter::Job.

Definition at line 105 of file filter_job.h.

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

Definition at line 116 of file filter_job.h.

Member Data Documentation

template<typename ReturnType>
boost::function<ReturnType()> mesh_filter::FilterJob< ReturnType >::exec_
private

Definition at line 100 of file filter_job.h.

template<typename ReturnType>
ReturnType mesh_filter::FilterJob< ReturnType >::result_
private

Definition at line 101 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 Sun Oct 18 2020 13:17:23