Fréchet View  1.6.0
A Tool for Exploring Fréchet Distance Algorithms
frechet::k::KWorkerJob Class Reference

Detailed Description

background worker job for running the k-Frechet brute-force algorithm.

Definition at line 390 of file kalgorithm.h.

#include <kalgorithm.h>

Inherits frechet::app::WorkerJob.

Public Member Functions

 KWorkerJob (kAlgorithm *owner)
 default constructor More...
 
virtual void runJob ()
 run the brute-force algorithm More...
 
virtual void afterInterrupted ()
 called after the algorithm was interrupted Raise a Qt signal that triggers UI updates. More...
 
- Public Member Functions inherited from frechet::app::WorkerJob
virtual void run () override
 abstract method that performs the long-running task More...
 

Private Attributes

kAlgorithmalg
 pointer to kAlgorithm object More...
 

Additional Inherited Members

- Public Attributes inherited from frechet::app::WorkerJob
volatile bool cancelRequested
 cancellation flag More...
 

Constructor & Destructor Documentation

◆ KWorkerJob()

frechet::k::KWorkerJob::KWorkerJob ( kAlgorithm owner)
inline

default constructor

Parameters
ownerthe algorithm object

Definition at line 397 of file kalgorithm.h.

Member Function Documentation

◆ afterInterrupted()

virtual void frechet::k::KWorkerJob::afterInterrupted ( )
inlinevirtual

called after the algorithm was interrupted Raise a Qt signal that triggers UI updates.

Implements frechet::app::WorkerJob.

Definition at line 406 of file kalgorithm.h.

◆ runJob()

virtual void frechet::k::KWorkerJob::runJob ( )
inlinevirtual

run the brute-force algorithm

Implements frechet::app::WorkerJob.

Definition at line 400 of file kalgorithm.h.

Member Data Documentation

◆ alg

kAlgorithm* frechet::k::KWorkerJob::alg
private

pointer to kAlgorithm object

Definition at line 393 of file kalgorithm.h.


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