opensurgsim
Public Member Functions | List of all members
SurgSim::Framework::ThreadPool::Task< R > Class Template Reference

Actual tasks, with typed return type. More...

Inheritance diagram for SurgSim::Framework::ThreadPool::Task< R >:
SurgSim::Framework::ThreadPool::TaskBase

Public Member Functions

 Task (std::function< R()> function)
 
void execute () override
 
std::future< R > getFuture ()
 

Detailed Description

template<class R>
class SurgSim::Framework::ThreadPool::Task< R >

Actual tasks, with typed return type.


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