fw4spl
fwThread::TaskHandler< R > Struct Template Reference

This class encapsulates packaged task and provides a copy constructor. More...

#include <TaskHandler.hpp>

Public Member Functions

 TaskHandler (std::packaged_task< R > &task)
 Constructor, moves task.
 
 TaskHandler (const TaskHandler &that)
 Copy constructor, moves task.
 
void operator() () const
 Executes intern packaged task.
 

Protected Member Functions

TaskHandleroperator= (const TaskHandler &)
 Copy constructor forbidden.
 

Detailed Description

template<typename R>
struct fwThread::TaskHandler< R >

This class encapsulates packaged task and provides a copy constructor.

Definition at line 19 of file TaskHandler.hpp.


The documentation for this struct was generated from the following files: