Lumiera  0.pre.03
»edit your freedom«
RandomChainCalcFunctor< maxFan > Class Template Reference

#include "/Werk/devel/lumi/tests/vault/gear/test-chain-load.hpp"

Description

template<size_t maxFan>
class vault::gear::test::RandomChainCalcFunctor< maxFan >

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.

Template Parameters
maxFancontrols expected Node memory layout

Definition at line 1588 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

ComputationalLoadcompuLoad_
 
Node * startNode_
 
Watchwatch_
 

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...
 
+ Inheritance diagram for RandomChainCalcFunctor< maxFan >:
+ Collaboration diagram for RandomChainCalcFunctor< maxFan >:

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