libosmscout  1.1.1
Public Member Functions | List of all members
osmscout::QBreaker Class Reference

#include <libosmscout-client-qt/include/osmscout/DBInstance.h>

Inheritance diagram for osmscout::QBreaker:
Inheritance graph
[legend]
Collaboration diagram for osmscout::QBreaker:
Collaboration graph
[legend]

Public Member Functions

 QBreaker ()
 
void Break () override
 
bool IsAborted () const override
 
void Reset () override
 
- Public Member Functions inherited from osmscout::Breaker
virtual ~Breaker ()=default
 

Constructor & Destructor Documentation

◆ QBreaker()

osmscout::QBreaker::QBreaker ( )

Member Function Documentation

◆ Break()

void osmscout::QBreaker::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::QBreaker::IsAborted ( ) const
overridevirtual

Return true, if the process was signaled to stop

Returns
True, if signaled, else false

Implements osmscout::Breaker.

◆ Reset()

void osmscout::QBreaker::Reset ( )
overridevirtual

Reset the state of the breaker.

Implements osmscout::Breaker.


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