Lumiera
0.pre.03
»edit your freedom«
|
#include "/Werk/devel/lumi/tests/vault/gear/test-chain-load.hpp"
Render JobFunctor to invoke the calculation of a single Node.
The existing Node connectivity is used to retrieve the hash values from predecessors — so these are expected to be calculated beforehand. For setup, the start of the ChainLoad's Node array is required.
maxFan | controls expected Node memory layout |
Definition at line 1579 of file test-chain-load.hpp.
Public Member Functions | |
RandomChainCalcFunctor (Node &startNode, ComputationalLoad *load=nullptr, Watch *watch=nullptr) | |
string | diagnostic () const override |
void | invokeJobOperation (JobParameter param) override |
render job invocation to trigger one Node recalculation | |
Public Member Functions inherited from JobClosure | |
virtual | ~JobClosure () |
this is an interface More... | |
lib::HashVal | hash_value (JobParameter) const |
Public Member Functions inherited from JobFunctor | |
virtual | ~JobFunctor () |
this is an interface More... | |
operator std::string () const | |
Private Types | |
using | Node = typename TestChainLoad< maxFan >::Node |
using | Watch = lib::IncidenceCount |
Private Attributes | |
ComputationalLoad * | compuLoad_ |
Node * | startNode_ |
Watch * | watch_ |
Additional Inherited Members | |
Static Public Member Functions inherited from ChainFunctor | |
static size_t | decodeLevel (TimeValue nominalTime) |
static size_t | decodeNodeID (InvocationInstanceID invoKey) |
static Time | encodeLevel (size_t level) |
static InvocationInstanceID | encodeNodeID (size_t idx) |
package the node-index to invoke. More... | |