Skip to main content

AVxcelerate Simulation Framework 2024 R2 SP02

i_kpi

Last update: 16.07.2025
1 
5 
6 #pragma once
7 
8 #include "core/kpi/definition/kpi_definition.h"
9 #include <memory>
10 
11 namespace simulation_framework
12 {
17 namespace core
18 {
23 namespace kpi
24 {
25 
27 
32 template <typename T>
33 class IKpi
34 {
35  public:
36  virtual ~IKpi() = default;
37 
41  virtual void Init() = 0;
42 
47  virtual void Reset() = 0;
48 
52  virtual KpiContent CalculateKpi(const T& input) = 0;
53 
58  virtual kpi::Type GetKpiType() const = 0;
59 };
60 
61 } // namespace kpi
62 } // namespace core
63 } // namespace simulation_framework

Connect with Ansys