![]() |
Actual tasks, with typed return type. More...
#include <SurgSim/Framework/ThreadPool-inl.h>
Public Member Functions | |
Task (std::function< R()> function) | |
void | execute () override |
std::future< R > | getFuture () |
![]() | |
virtual | ~TaskBase () |
Private Attributes | |
std::packaged_task< R()> | m_task |
Actual tasks, with typed return type.
|
inlineexplicit |
|
inlineoverridevirtual |
Implements SurgSim::Framework::ThreadPool::TaskBase.
|
inline |
|
private |