Accelerated Computation Engine
|
#include <ace_analytic_abstractrun.h>
Signals | |
void | finished () |
Public Member Functions | |
virtual void | addWork (std::unique_ptr< EAbstractAnalytic::Block > &&block)=0 |
AbstractRun (QObject *parent=nullptr) | |
This represents the core of an analytic run itself. An implementation of this class runs a specific type of analytic run, such as serial or OpenCL. An interface is provided for adding work blocks that an implementation will run and a signal for notifying when the analytic run is complete.
|
explicit |
Constructs a new abstract run object with an optional parent.
parent | Optional parent for this new abstract run. |
|
pure virtual |
This interface is called to add a work block to be processed by this abstract run.
block | Block of work that is added to this abstract run for processing. |
Implemented in Ace::Analytic::OpenCLRun, Ace::Analytic::SerialRun, and Ace::Analytic::SimpleRun.
|
signal |
Signals that this abstract run has finished processing all blocks.