Loading...
Searching...
No Matches
VdfEvaluationState Class Reference

This object holds state that remains persistent during one round of network evaluation. More...

#include <evaluationState.h>

Public Member Functions

 VdfEvaluationState (const VdfExecutorInterface &executor, const VdfSchedule &schedule, VdfExecutorErrorLogger *errorLogger)
 Constructor.
 
const VdfExecutorInterfaceGetExecutor () const
 The executor used for evaluation.
 
const VdfScheduleGetSchedule () const
 The schedule used for evaluation.
 
VdfExecutorErrorLoggerGetErrorLogger () const
 The executor error logger.
 
VDF_API void LogWarning (const VdfNode &node, const std::string &warning) const
 Logs an execution warning to the executor error logger.
 

Detailed Description

This object holds state that remains persistent during one round of network evaluation.

Definition at line 29 of file evaluationState.h.

Constructor & Destructor Documentation

◆ VdfEvaluationState()

VdfEvaluationState ( const VdfExecutorInterface executor,
const VdfSchedule schedule,
VdfExecutorErrorLogger errorLogger 
)
inline

Constructor.

Definition at line 35 of file evaluationState.h.

Member Function Documentation

◆ GetErrorLogger()

VdfExecutorErrorLogger * GetErrorLogger ( ) const
inline

The executor error logger.

Definition at line 58 of file evaluationState.h.

◆ GetExecutor()

const VdfExecutorInterface & GetExecutor ( ) const
inline

The executor used for evaluation.

Definition at line 46 of file evaluationState.h.

◆ GetSchedule()

const VdfSchedule & GetSchedule ( ) const
inline

The schedule used for evaluation.

Definition at line 52 of file evaluationState.h.

◆ LogWarning()

VDF_API void LogWarning ( const VdfNode node,
const std::string &  warning 
) const

Logs an execution warning to the executor error logger.


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