HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfEvaluationState Class Reference

#include <evaluationState.h>

Public Member Functions

 VdfEvaluationState (const VdfExecutorInterface &executor, const VdfSchedule &schedule, VdfExecutorErrorLogger *errorLogger)
 
const VdfExecutorInterfaceGetExecutor () const
 
const VdfScheduleGetSchedule () const
 
VdfExecutorErrorLoggerGetErrorLogger () const
 
VDF_API void LogWarning (const VdfNode &node, const std::string &warning) const
 

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

VdfExecutorErrorLogger* VdfEvaluationState::GetErrorLogger ( ) const
inline

The executor error logger.

Definition at line 58 of file evaluationState.h.

const VdfExecutorInterface& VdfEvaluationState::GetExecutor ( ) const
inline

The executor used for evaluation.

Definition at line 46 of file evaluationState.h.

const VdfSchedule& VdfEvaluationState::GetSchedule ( ) const
inline

The schedule used for evaluation.

Definition at line 52 of file evaluationState.h.

VDF_API void VdfEvaluationState::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: