Ceetron Result Calculator Framework
|
Contains information on which results this calculator depends on in order to do its computations, as well as the result the calculator produces. More...
Public Member Functions | |
virtual void | setOutputResultType (CRCResultType resultType)=0 |
Set what kind of result to be calculated. | |
virtual void | setOutputResultName (const CRCString &resultName)=0 |
Set the name of the calculated result. | |
virtual void | setOutputResultIdString (const CRCString &idString)=0 |
Set the idString of the calculated result. More... | |
virtual void | addInputResultIndex (crc_size_t resultIndex)=0 |
Add result to be used as input value to the calculation. The specified resultIndex is the index of the result into the array of CRCResultInfo objects in CRCHostMetaData. The first input result added will be the first result in the input array that will later be passed to the calculateValue() function. | |
Contains information on which results this calculator depends on in order to do its computations, as well as the result the calculator produces.
|
pure virtual |
Set the idString of the calculated result.
Note: If the CRCInitOptions::resultIdString() passed to CRCResultCalculator::initialize() is not blank, the string provided here must either be blank or match the CRCInitOptions::resultIdString(). If not, instancing of the calculator will fail.