Store state of a function. More...
#include <progress_thread.hpp>
Public Member Functions | |
| FunctionState (Function &&function) | |
| Construct state of a function. More... | |
| void | operator() () |
| Execute the function. More... | |
Public Attributes | |
| Function | function |
| The function to execute. | |
| bool | is_done {false} |
| Whether the function has completed. | |
Store state of a function.
Definition at line 98 of file progress_thread.hpp.
|
explicit |
Construct state of a function.
| function | The function to execute. |
| void rapidsmpf::ProgressThread::FunctionState::operator() | ( | ) |
Execute the function.