Skip to main content

AVxcelerate Simulation Framework 2025 R2 SP02

i_evaluator

Last update: 19.09.2025
1
3
4#pragma once
5
6#include "core/kpi/i_kpi/i_kpi.h"
7
13{
14namespace core
15{
16
18
21template <typename T>
23{
24 public:
25 virtual ~IEvaluator() = default;
26
30 virtual void Init() = 0;
31
35 virtual void Reset() = 0;
36
40 virtual void Evaluate() = 0;
41
42 // /**
43 // * Add one KPI into this evaluator
44 // * @param kpi iKpi interface
45 // */
46 virtual void AddKpi(std::unique_ptr<kpi::IKpi<T>> kpi) = 0;
47
52 virtual core::kpi::KpiMessage GetKpiMessage() const = 0;
53
58 virtual void SetInput(const T& input) = 0;
59};
60
61} // namespace core
62} // namespace simulation_framework
virtual void SetInput(const T &input)=0
virtual core::kpi::KpiMessage GetKpiMessage() const =0
This is the concrete Topic class that can be used for creation of a communication channel with given ...
Definition topic.h:38
Represents core KPI calculation logic.
Definition i_kpi.h:39
The namespace for all core functionalities under namespace simulation_framework.
The namespace for kpi definition and corresponding APIs under namespace simulation_framework::evaluat...
The top namespace for simulation framework.

Connect with Ansys