1 #pragma once
2 
3 #include <functional>
4 #include <map>
5 #include <string>
6 #include <vector>
7 
8 namespace phosphor::virtual_sensor
9 {
10 
11 using Interface = std::string;
12 using CalculationFunc = std::function<double(std::vector<double>&)>;
13 extern std::map<Interface, CalculationFunc> calculationIfaces;
14 
15 } // namespace phosphor::virtual_sensor
16