Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::pool::Stop Class Reference

#include <poolprocessor.h>

Public Member Functions

 operator bool () const noexcept
 

Detailed Description

A class to signal if a background calculation should stop or be aborted. Generally used by the background jobs to abort a calculation early:

auto calc = [mystate](pool::Stop stop) {
for(...) {
if (stop) return nullptr;
// do work
}
return results;
};
Definition poolprocessor.h:77
See also
PoolProcessor

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