Accelerated Computation Engine
Public Member Functions | List of all members
EAbstractAnalytic::Serial Class Referenceabstract

#include <eabstractanalytic_serial.h>

Inheritance diagram for EAbstractAnalytic::Serial:

Public Member Functions

virtual std::unique_ptr< EAbstractAnalytic::Blockexecute (const EAbstractAnalytic::Block *block)=0
 
 Serial (EAbstractAnalytic *parent)
 

Detailed Description

This represents a working class of an analytic. This class handles actual execution of work blocks, returning result blocks. An implementation of this class is responsible for obtaining the work data from a work block and returning the results in a results block. This is the most basic type of working analytic class where only serial execution is given with no special devices.

Constructor & Destructor Documentation

◆ Serial()

EAbstractAnalytic::Serial::Serial ( EAbstractAnalytic parent)
explicit

Constructs a new serial object with the given analytic as its parent.

Parameters
parentThe parent analytic object for this new serial object.

Member Function Documentation

◆ execute()

virtual std::unique_ptr<EAbstractAnalytic::Block> EAbstractAnalytic::Serial::execute ( const EAbstractAnalytic::Block block)
pure virtual

This interface reads in the given work block, executes the algorithms necessary to produce its results, and saves those results in a new results block whose pointer is returned.

Parameters
blockPointer to work block that is used to produce the returned results block.
Returns
Pointer to results block produced from the given work block.

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