Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
ChainFunctor Class Referenceabstract

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

Description

Baseclass: JobFunctor to invoke TestChainLoad.

Definition at line 1500 of file test-chain-load.hpp.

Static Public Member Functions

static InvocationInstanceID encodeNodeID (size_t idx)
 package the node-index to invoke.
 
static size_t decodeNodeID (InvocationInstanceID invoKey)
 
static Time encodeLevel (size_t level)
 
static size_t decodeLevel (TimeValue nominalTime)
 

Private Member Functions

string diagnostic () const =0
 
void invokeJobOperation (JobParameter)=0
 
JobKind getJobKind () const
 
InvocationInstanceID buildInstanceID (HashVal) const override
 
size_t hashOfInstance (InvocationInstanceID invoKey) const override
 

Static Private Member Functions

static lib::time::GridtestGrid ()
 

Additional Inherited Members

- Public Member Functions inherited from JobClosure
virtual ~JobClosure ()
 this is an interface
 
lib::HashVal hash_value (JobParameter) const
 
- Public Member Functions inherited from JobFunctor
virtual ~JobFunctor ()
 this is an interface
 
 operator std::string () const
 

Member Function Documentation

◆ testGrid()

static lib::time::Grid & testGrid ( )
inlinestaticprivate

Definition at line 1505 of file test-chain-load.hpp.

References FrameRate::STEP.

Referenced by ChainFunctor::decodeLevel(), and ChainFunctor::encodeLevel().

+ Here is the caller graph for this function:

◆ diagnostic()

string diagnostic ( ) const
privatepure virtual

◆ invokeJobOperation()

void invokeJobOperation ( JobParameter  )
privatepure virtual

◆ getJobKind()

JobKind getJobKind ( ) const
inlineprivatevirtual

Implements JobClosure.

Definition at line 1517 of file test-chain-load.hpp.

References TEST_JOB.

◆ buildInstanceID()

InvocationInstanceID buildInstanceID ( HashVal  ) const
inlineoverrideprivatevirtual

Implements JobClosure.

Definition at line 1523 of file test-chain-load.hpp.

◆ hashOfInstance()

size_t hashOfInstance ( InvocationInstanceID  invoKey) const
inlineoverrideprivatevirtual

Implements JobClosure.

Definition at line 1529 of file test-chain-load.hpp.

References InvocationInstanceID::frameNumber.

◆ encodeNodeID()

static InvocationInstanceID encodeNodeID ( size_t  idx)
inlinestatic

package the node-index to invoke.

Note
per convention for this test, this info will be packaged into the lower word of the InvocationInstanceID

Definition at line 1543 of file test-chain-load.hpp.

References InvocationInstanceID::code.

◆ decodeNodeID()

static size_t decodeNodeID ( InvocationInstanceID  invoKey)
inlinestatic

Definition at line 1551 of file test-chain-load.hpp.

References InvocationInstanceID::code.

Referenced by RandomChainCalcFunctor< maxFan >::invokeJobOperation(), and RandomChainPlanFunctor< maxFan >::invokeJobOperation().

+ Here is the caller graph for this function:

◆ encodeLevel()

static Time encodeLevel ( size_t  level)
inlinestatic

Definition at line 1557 of file test-chain-load.hpp.

References ChainFunctor::testGrid(), and Grid::timeOf().

+ Here is the call graph for this function:

◆ decodeLevel()

static size_t decodeLevel ( TimeValue  nominalTime)
inlinestatic

Definition at line 1563 of file test-chain-load.hpp.

References Grid::gridPoint(), and ChainFunctor::testGrid().

Referenced by RandomChainCalcFunctor< maxFan >::invokeJobOperation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for ChainFunctor:
+ Collaboration diagram for ChainFunctor:

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