#include <Breaker.h>
|
| void | Break () override |
| | Stop the processing.
|
| |
| bool | IsAborted () const override |
| | Return true, if the process was signaled to stop.
|
| |
| void | Reset () override |
| | Reset the state of the breaker.
|
| |
| | ThreadedBreaker ()=default |
| |
| virtual | ~Breaker ()=default |
| |
◆ ThreadedBreaker()
| osmscout::ThreadedBreaker::ThreadedBreaker |
( |
| ) |
|
|
default |
◆ Break()
| void osmscout::ThreadedBreaker::Break |
( |
| ) |
|
|
overridevirtual |
Stop the processing.
This is just a setting a flag that must actively get polled by the long running process. So while the process was signaled to stop, it can still continue for a while.
- Returns
Implements osmscout::Breaker.
◆ IsAborted()
| bool osmscout::ThreadedBreaker::IsAborted |
( |
| ) |
const |
|
overridevirtual |
Return true, if the process was signaled to stop.
- Returns
- True, if signaled, else false
Implements osmscout::Breaker.
◆ Reset()
| void osmscout::ThreadedBreaker::Reset |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: